On Tue 2009-02-24 00:00:27 UTC-0800, Gus Vincent Dato ([email protected]) wrote:
> is there a function/syntax like findfirstfile/findnextfile that i can > use to traverse/enumerate directories? If you want a list of files in a particular directory then your best bet is to use opendir(), readdir() & closedir() if you want portable code. If you want to traverse an entire tree then the simplest method is probably to call opendir(), etc recursively. Not difficult. Related posts: http://tech.groups.yahoo.com/group/c-prog/message/24433 http://tech.groups.yahoo.com/group/c-prog/message/66798
