 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Florian Liefers Guest
|
Posted: Sat Mar 06, 2004 5:01 pm Post subject: reading directory |
|
|
"Hello worldn",
how can get a list of files/directories from a specified directory?
something like
FILE *fp=fopen("directory")
while (...) {
file=....;
cout << file << endl;
}
Tnx,
Florian
|
|
| Back to top |
|
 |
John Harrison Guest
|
Posted: Sat Mar 06, 2004 5:10 pm Post subject: Re: reading directory |
|
|
"Florian Liefers" <news (AT) isource (DOT) de> wrote
| Quote: | "Hello worldn",
how can get a list of files/directories from a specified directory?
something like
FILE *fp=fopen("directory")
while (...) {
file=....;
cout << file << endl;
}
Tnx,
Florian
|
Standard C++ has no support for directories. You need to ask this question
again on a group that supports whatever platform you are using.
Have a look at the comp.lang.c++ welcome page for suggestions
http://www.slack.net/~shiva/welcome.txt
john
|
|
| Back to top |
|
 |
db Guest
|
Posted: Sat Mar 06, 2004 11:09 pm Post subject: Re: reading directory |
|
|
On Sat, 06 Mar 2004 18:01:41 +0100
Florian Liefers <news (AT) isource (DOT) de> wrote:
| Quote: | "Hello worldn",
how can get a list of files/directories from a specified directory?
something like
FILE *fp=fopen("directory")
while (...) {
file=....;
cout << file << endl;
}
|
www.boost.org
br
db
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|