Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2007-11-14
2
Medium Priority
?
1,895 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
1 Comment
 
LVL 30

Accepted Solution

by:
Axter earned 1000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

877 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