Re: cross platform file/dir utility (linux+windows)



2011/8/11 giuspen <giuspen gmail com>:
>
> Hi,
> I'm using C version of GTK and I need to check if files/folders exist, and
> eventually to create a folder.

Google for 'gtk file exists' and look at the first hit. It's a page
from the glib documentation.

> In linux I used <dirent.h> but this library doesn't work on windows.
> Can anyone point me in the right direction?

It would be nice if you searched a bit for yourself before asking for
a pointer, but here you go.
http://developer.gnome.org/glib/stable/glib-File-Utilities.html#g-file-test

Maarten


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]