[SDL] Filesystem routines

Andrew acorriga at stevens.edu
Wed Nov 12 13:25:01 PST 2003


I'm not sure if it's been mentioned.... but

http://www.boost.org/

They have a library, I'm pretty sure is called filesystem... it's very
cross platform.

- Andrew

-----Original Message-----
From: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] On Behalf Of
Milan Babuskov
Sent: Tuesday, November 11, 2003 3:15 PM
To: sdl at libsdl.org
Subject: Re: [SDL] Filesystem routines

Miles Vignol wrote:
> i like the idea.  i don't think the VC environment has the
opendir/readdir
> functions... correct me if i'm wrong.  please.  i'd love to use them.

I don't know. I use Borland and GCC on Win32.

For Borland, the include file is

#include <dirent.h>

See if you have it. Or just search your "include" directory for opendir(

> if this was put into a seperate library, then i'd go one step further
and
> add access to the native file selector into mix.  not sure what to do
with
> systems that don't provide hooks for a standard file selector box....

Prehaps you should take a look at wxWindows (www.wxwindows.org). They 
emulate file selectors on platforms that don't support it. Works nice.

HTH

-- 
Milan Babuskov
http://njam.sourceforge.net








More information about the SDL mailing list