View previous topic :: View next topic |
Author |
Message |
grahamdog n00b
Joined: 02 May 2002 Posts: 10
|
Posted: Wed May 15, 2002 5:55 pm Post subject: Directory listing in C++ |
|
|
Does anyone know how to get directory listings in a C++ program. Under windows you just need to include dos.h, but obviously that doesn't exist under linux
Thanks... |
|
Back to top |
|
|
mikix Guest
|
Posted: Thu May 16, 2002 11:43 pm Post subject: Just some thoughts |
|
|
I haven't done too much work on this, but have a look at the man pages for the "opendir" suite of functions, or the function "glob".
i.e. "man 3 opendir" or "man 3 glob" |
|
Back to top |
|
|
grahamdog n00b
Joined: 02 May 2002 Posts: 10
|
Posted: Fri May 17, 2002 10:39 am Post subject: Thanks |
|
|
Cheers, thats just the info I needed |
|
Back to top |
|
|
|