Quote:
Originally posted by redhead
Hmm... this isn't C++, but on *nix systems there are opendir(), readdir(), scandir(), seekdir() and closedir().
opendir() returns a DIR*, which readdir() (and the other functions) uses to see which files are placed in the opened directory. And in case, if the filename is another directory.. So I guess with a few loops you could walk through an entire directory structure, based on the file types found in matching directories.
|
yeah, pascal had procedures that did it from within a program, i'm trying to find the equivelent procedures in C++. i'm sure they exist, i just can't remember them

on the bright side, i should have a *nix box again at the end of this month if all goes well... which it never does
