Sequential File Access, load multiple text files in project directory using C++
Is it possib开发者_如何学Pythonle to load multiple files from a project directory. For example, loading FileA.txt, FileB.txt, and FileC.txt from a folder (raw/assets) within the project folder?
Any help would be much appreciated.
Since your comment says you're targetting Windows, take a look at this API function:
http://msdn.microsoft.com/en-us/library/aa364418%28VS.85%29.aspx
Find files matching your pattern and deal with them
http://www.cplusplus.com/doc/tutorial/files/
精彩评论