Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old December 6th, 2002   #1 (permalink)
NSBQ nut
 
Nezzar's Avatar
 
Join Date: Aug 2001
Location: .de
Posts: 1,208
Reading directories with C++

Could somebody please tell me how?
I couldn't find a function/class that would do that for me. Preferrably I'd like to use something that's in the MFC.
(Sorry, if that's a newbish question )
__________________
Bred for its skills in magic
Nezzar is offline   Reply With Quote
Old December 6th, 2002   #2 (permalink)
Resident Movie Critic
 
Betamax's Avatar
 
Join Date: Apr 2001
Location: Belfast, Northern Ireland
Posts: 9,480
Not sure what you mean here. are you looking to find out what files are contained in that directory? If so try using CFileFind specifying wildcards to make search for all files in the currect working directory (use SetWorkingDirectory to change this.)
__________________

Superior marketing of an inferior product will always win over inferior marketing of a superior product.
Betamax is offline   Reply With Quote
Old December 6th, 2002   #3 (permalink)
.:: PHP King ::.
 
Mohd's Avatar
 
Join Date: Mar 2002
Location: Bahrain
Posts: 580
there is functions like readdir, opendir and closedir but there are not standerd ANSI C++ they are POSIX <- i dont know what does that mean i think they are for UNIX based systems
check here Unix manual http://www.rt.com/man/ similar to php.net! but for unix
Mohd is offline   Reply With Quote
Old December 6th, 2002   #4 (permalink)
NSBQ nut
 
Nezzar's Avatar
 
Join Date: Aug 2001
Location: .de
Posts: 1,208
Quote:
Originally posted by Betamax
Not sure what you mean here. are you looking to find out what files are contained in that directory? If so try using CFileFind specifying wildcards to make search for all files in the currect working directory (use SetWorkingDirectory to change this.)
Yeah, that's what I meant. Read all files are contained in a directory. Could you give me a example of how to use it?

Edit: Nevermind, found it in the MSDN.
__________________
Bred for its skills in magic
Nezzar is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 21:13.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5