[SDL] how to create directories with SDL in a portable manner?
nader.akhres at laposte.net
Sun Mar 7 23:57:52 PST 2010
thanks. But do I need to get all boost lib (too big) or just filesystem
Le 20:59, Daniel Camozzato a écrit :
> You could also use Boost Filesystem.
> Daniel Camozzato
> On Sun, Mar 7, 2010 at 12:56 PM, AKHRES Nader
> <nader.akhres at laposte.net <mailto:nader.akhres at laposte.net>> wrote:
> Sounds great.
> Does it work on windows system?
> Le 20:59, Jonathan Dearborn a écrit :
>> SDL does not cover filesystem management. I wrote a C++ wrapper
>> for the C headers <sys/stat.h> and <dirent.h>, called goodIO,
>> that you might find useful:
>> The functions you want are ioNewDir, ioDelete, and ioList. You
>> probably have to do recursive deletion yourself in order to
>> delete a directory (I guess that's something to add to goodIO).
>> You can check out the source for those functions to see how to
>> use stat, mkdir, unlink/remove, and opendir/readdir as well.
>> Jonny D
>> On Sun, Mar 7, 2010 at 9:19 AM, AKHRES Nader
>> <nader.akhres at laposte.net <mailto:nader.akhres at laposte.net>> wrote:
>> I would like to create/delete directories from my SDL app.
>> Does SDL or any additionnal lib provides portable way to
>> deals with directories?
>> SDL mailing list
>> SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
> SDL mailing list
> SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL