So, you're using a compiler in beta testing and an outdated one with an out-dated ide?
Sounds like a recipe for frustration.
For visual studio, the input file should indeed be in the project directory (not to be confused with the solution directory.) For instance, if you started a project named "junk" and visual studio thoughtfully opened a solution named "junk" to put your project in the input file would need to be in the /junk/junk directory. The first is the solution name, the second is the project name.
I haven't tested this with the beta version, so it's possible things have changed, but it doesn't seem likely.
How would i go about using full path? |
My VS projects are in "C:/Projects/"
file.open("C:/Projects/Grades/Grades/Grades_Spring2012.txt");
Would be the full path for me if the file was in the working directory for the grades project.
You can use backslashes, if you prefer, but keep in mind they must be escaped.
file.open("C:\\Projects\\Grades\\Grades\\Grades_Spring2012.txt");
Btw, check to see the file is actually named Grades_Sprint2012.txt and not Grades_Sprint2012.txt.txt. Windows likes to trick people by not showing file extensions.