Search for a file in C++
问题 I'm new in C++ and i need to search the drives for a specific file and display them or list them in a listbox. Here's what i have so far. Some bits and pieces i found in the forums and stuff i have added. My question is how do i put them together. Lets say i'm searching for a file called "test.txt" Thanks! // search for drives char* szSingleDrive; DWORD dwSize = MAX_PATH; char szLogicalDrives[MAX_PATH] = { 0 }; DWORD dwResult = GetLogicalDriveStrings(dwSize, szLogicalDrives); UINT