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
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