|
-
May 29th, 2002, 02:31 AM
#1
Checking directories for files....
How can i open a directory to see what the file names are in the directory? Is it possible to just open the directory and when you (fin >>) you get the file names?
Any help would be much appreciative.
-Avantos
"People demand freedom of speech to make up for the freedom of thought which
they avoid".
-
May 29th, 2002, 08:05 AM
#2
Re: Checking directories for files....
Originally posted by avantos
How can i open a directory to see what the file names are in the directory? Is it possible to just open the directory and when you (fin >>) you get the file names?
Any help would be much appreciative.
-Avantos
Which operating system are you using?
Jared
-
May 29th, 2002, 11:33 PM
#3
Linux.
Actually, I just ended up writting it in pearl.... it seems much easier for what I am trying todo.
-Avantos
"People demand freedom of speech to make up for the freedom of thought which
they avoid".
-
May 30th, 2002, 05:22 AM
#4
ANSI C, it must work under Linux I think, I was checking only under Windoze.
_findfirst
_findnext
_findclose
-
June 1st, 2002, 07:23 AM
#5
Awesome, thanks!
That helps tremendously. Cause i got a perl script working...but being perl, it's hella slow. So doing this in C++ should speed it up a bit.
"People demand freedom of speech to make up for the freedom of thought which
they avoid".
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
|