Solved

Vc++ sample code to list the files in a single directory.

Posted on 2007-11-14
2
1,882 Views
Last Modified: 2010-10-05
I'm trying to find a simple way to list files in a given directory.  I need an array that contains these file names.
0
Comment
Question by:pasta1
2 Comments
 
LVL 30

Accepted Solution

by:
Axter earned 250 total points
ID: 20281024
Check out the following links:
http://code.axter.com/findfiles_with_callback.h
http://code.axter.com/findfiles_with_callback.cpp

The header file has commented code example at the bottom of the header.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
3D Surface or Implicit Fairing Visual Studio 4 116
Get the height value of a parent form 2 178
__FILE__ 6 177
Visual Studio 2010 There is no editor available for ... 8 87
The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question