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