I've started work on a small training project, which basicaly goes like this: You choose a directory and the program populates a list of files IN that directory along with the "Last modified" date. It, basicaly, works like the dir command in the command prompt.
While I've got the little details sorted out I've got no clue or an intelligent guess of where to start with the files list. I don't know how to extract the first file name, how to get a number of files in that directory, how to cycle the file names, if that's possible - in what order will I get the names. And so on...
I just need a heap of characters representing the file names (pats would be great too) stored in an accesible format. An explanation would be nice, a point in the right direction (internet tutorial, Borland C++ 5 Builder Help index etc.) would be equaly nice and appreaciated.