I hope there will be something similar to SDL around, but I haven’t found much so far.
Any ideas? ?
Your best choice is to use a code framework, and there are many good choices.
Boost Filesystem
Apache Portable Runtime
Aaaand my favorite-Qt
Although, if you use it, it is difficult to use only the file system part of it. You almost The entire application must be ported to a Qt specific class.
I would like to know if there is any type of portable (Mac and Windows) method of reading and writing hard drives beyond iostream.h, especially to get a list of all files in the folder, move files, etc.
I hope there will be something similar to SDL around, but so far I haven’t found much Stuff.
Any ideas? ?
There is no native C method to traverse the directory structure or list the files in the directory in a cross-platform manner. It is just not built into the language. (There are good reasons !)
Your best choice is to use a code framework, and there are many good choices.
Boost Filesystem
Apache Portable Runtime
p>
My favorite of Aaaand-Qt
Although, if you use it, it is difficult to use only the file system part of it. You almost have to port the entire application to a Qt specific class.< /p>