Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listing of files

Status
Not open for further replies.

ksbrace

Programmer
May 13, 2000
501
US
Is there an STL function that will list all files within a specified directory? Thanks
 
No - listing files in a directory is OS specific: there is no STL function to do this. If you are on Unix, try opendir, readdir and closedir. You will probably have to write a recursive routine to descend the directory tree.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top