|
-
May 21st, 2008, 01:41 PM
#1
c++ - find first file in directory on linux system?
all the examples i've seen seem to be for windows and are a
bit different than what i need. also, findfirstfile is not
in the textbook i bought to use as reference.
i need to find the first file in a directory so i can perform
a loop for processing. all of the files in the directory will
be of the same type and have the same name except that each
file is numbered. if i can find the first file in the directory,
i should be able to parse the name and increment the numbers in
the loop to move through the directory.
any tips on finding the first file's name?
thanks,
BabaG
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|