Mail Archives: djgpp/2000/05/26/04:19:52
netrunnr9326 AT my-deja DOT com:
> I've been learning C++ in my spare time for a while
> now, and I finally
> came up with a small program that would be useful
> (albeit only to a few
> people)! I think it's all within my abilities except
> I need some way to
> retrieve the names of files in directories, and get
> the size & date,
> etc, of specific ones. I still can't do Windows apps,
> so any solutions
> would have to be for DOS for me to utilize. Any help
> in advance would
> be appreciated!
You can have a look at functions opendir() readdir()
and closedir(), which are Posix-compliant.
Otherwise you can use findfirst() and findnext(),
which are non-standard but quite common in
other DOS compilers.
ciao
Giacomo
-----------------------------------------------------
Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it
- Raw text -