ok heres my prob...
im letting the user enter a file name for the program to open for output ( to view )...but it only opens files from my compilers directory. I want the user to specify the directory and then be able to type the name of the file. it doesnt matter if its like a menu to choose the directory or "C:\data.doc" (DOS style) but i cant seem to find out how to do this. can anyone help me out??
this is what i am usin to open the file
...
cout << "Enter the name of the output file: \n";
cin.get(outfile,13);
cin.ignore(80,'\n');
outfile.open(outputfile, ios:ut);
....
thx everyone!