Show a list of files in a directory?
Say I had a file called "mp3" and inside some mp3s.
I'd want to show what mp3s are inside the directory.
Thanks
okay, heres the program:
#include <Fstream.h>
#include <iostream.h>
void main()
{
char name[15],title[15],head[15];
cout << "Enter the name for the HTML document: ";
cin.get(name, 15);
cin.ignore (80,'\n');
cout << "Enter the title for the HTML page: ";
cin.get(title...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.