vinautieri
Technical User
I am in College taking my first year of C++ programming. I have used the #include<fstream> in my program and I used
ifstream infile;
infile.open ("C:\\SP\\grades.txt"
had to use 2 \\ as Ii would not let me use only one.
My problem is it will not open the file and I can not read from it. I want to have the contents in that file included into my programs output, and nothing I TRY WILL WORK> PLEASE
HELP
Laura
ifstream infile;
infile.open ("C:\\SP\\grades.txt"
had to use 2 \\ as Ii would not let me use only one.
My problem is it will not open the file and I can not read from it. I want to have the contents in that file included into my programs output, and nothing I TRY WILL WORK> PLEASE
HELP
Laura