|
From: w.y. <yok...@ve...> - 2003-09-05 06:55:47
|
Matthews wrote: > > For non-portable, use <io.h>, and _findfirst(), _findnext() and > _findclose(). It's not hard to figure out, just save the find handle from > _findfirst() in an int to use with _findclose(). Well, there isn't really a portable way to do it since there is no concept of "directories" etc. in standard C and C++ unfortunately. Even if you use the 'boost' libraries it wouldn't work unless someone implemented the platform specific code on your target machine. This is one of the annoying omissions of the standard I wish they would add. |