On Mon 2008-05-12 21:08:56 UTC-0000, hafsa.alhosani ([EMAIL PROTECTED]) wrote:

> Here is my code that will return the next file in a directory:

Well, clearly it does a bit more than what you describe!

It's fairly obvious that you're just "stabbing in the dark" with your
code.  It has a number of faults and design flaws, eg. your code will
break with filenames longer than 12 characters.

With regards to the findfirst() issue, you should really be using
opendir() instead.

Reply via email to