summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch11-Debugging')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index 53830da..1ac97e6 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -83,6 +83,7 @@ int main()
// Notice how this automatically opens the file
ofstream outFile("C:\\TEMP\\Chap_11_Report.txt");
+ //inFile.open("C:\\TEMP\\CST116-Ch11-Crombie-data.txt");
inFile.open("C:\\TEMP\\Chap_11_data.txt");
if (inFile.is_open())
@@ -98,13 +99,13 @@ int main()
}
else
{
- cout << "Trouble Opening File";
+ cout << "Trouble Opening File: Chap_11_Report.txt";
cout << "\n\n\t\t ** About to EXIT NOW! ** ";
}
}
else
{
- cout << "Trouble Opening File";
+ cout << "Trouble Opening File: CST116-Ch11-Crombie-data.txt";
cout << "\n\n\t\t ** About to EXIT NOW! ** ";
}
return 0;