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 Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file operations and directories 1

Status
Not open for further replies.

skarosi

Programmer
Jan 25, 2004
140
GR
Hi all,
I have an assignment to do for college that we have to simulate some DOS commands in C/C++.
I know that there are some file operation commands in C, like Fopen, but i cant find anything for directories.
Is there any way that i can "read" the files of a folder/directory and print them on the screen? like a dir command.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top