cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
How to Read A Whole Directory
How to Read A Whole Directory
Jul 20, 2011 at 9:06pm
Jul 20, 2011 at 9:06pm UTC
thenewguy
(140)
I'm trying to create a menu-strip that that will go to C:\\TNG\\Favorites. and read all the files in the directory and make that many buttons on the menu-strip. problem is, I don't know how to get the program to read every file in the directory.
Jul 20, 2011 at 10:50pm
Jul 20, 2011 at 10:50pm UTC
Disch
(13742)
Look up FindFirstFile and FindNextFile on MSDN. There are examples of how to do it.
Jul 21, 2011 at 12:08am
Jul 21, 2011 at 12:08am UTC
thenewguy
(140)
Thanks!
Topic archived. No new replies allowed.