Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Directory listing in C++
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
grahamdog
n00b
n00b


Joined: 02 May 2002
Posts: 10

PostPosted: Wed May 15, 2002 5:55 pm    Post subject: Directory listing in C++ Reply with quote

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
View user's profile Send private message
mikix
Guest





PostPosted: Thu May 16, 2002 11:43 pm    Post subject: Just some thoughts Reply with quote

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
n00b


Joined: 02 May 2002
Posts: 10

PostPosted: Fri May 17, 2002 10:39 am    Post subject: Thanks Reply with quote

Cheers, thats just the info I needed :P :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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