[SDL] how to create directories with SDL in a portable manner?
AKHRES Nader
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
module?
Le 20:59, Daniel Camozzato a écrit :
> You could also use Boost Filesystem.
>
> http://www.boost.org/doc/libs/1_42_0/libs/filesystem/doc/index.htm
>
> ----
> 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:
>> http://code.bluedinosaurs.com/c++.html
>>
>> 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:
>>
>> Hello,
>>
>> 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>
>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>
>>
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20100308/1ec3a0fe/attachment.htm>
More information about the SDL
mailing list