This just goes through the directory where the file currently is and prints out it's contents. I'm just wondering how I might go about making a vector of string that contain all of the file names. Eventually I will have to sort those strings based on the file extension. So if there is a different container type you guys would reccomend that would be great too! Thanks!
Though a lone vector isn't a terrific choice here. Quick and easy would be std::vector<std::list<string>>
The file name's extension is figured out before putting it in there:
1 2 3 4 5 6
Given a bunch of file names:
-Go through the vector looking at the first fileName in each list
-If the new name has the same extention as the name in the list
push back onto that list
-If you get to the end of the vector without finding a match
push back onto the vector