reading folder names..how is it done ?
so i sat down today in my quest to increase c++ knowledge..
say i got some folders on my C drive ( C:/ ).
OS is XP
Is there a way to read the names of the folders through c++? I would love to read the names of the folders (mind u names only and not their content) and store them in a .txt file.Storing the names into the text file wont be an issue.Reading the folder names is what i am looking for.
Really curious about this since i am practicing File I/O....
Any help or pointers are appreciated.