diff options
| -rw-r--r-- | CST116-Ch11-Debugging.sln | 1 | ||||
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 4 | ||||
| -rw-r--r-- | Error_program_output.txt | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/CST116-Ch11-Debugging.sln b/CST116-Ch11-Debugging.sln index b09ad76..b60b31b 100644 --- a/CST116-Ch11-Debugging.sln +++ b/CST116-Ch11-Debugging.sln @@ -8,6 +8,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{30090A24-EA34-48A8-AB5F-5737C5F786BE}" ProjectSection(SolutionItems) = preProject Program_output.txt = Program_output.txt + Error_program_output.txt = Error_program_output.txt EndProjectSection EndProject Global diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index d2a70d5..ade508a 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -31,6 +31,8 @@ input file. * 11) Build and execute your code until you have all errors * removed and all the output is correct. +* +* ************ Can't figure out how to shift the flag in the program ************** * * Debugging Exercise 2 * @@ -83,7 +85,7 @@ int main() // Notice how this automatically opens the file ofstream outFile("C:\\TEMP\\Chap_11_Report.txt"); - inFile.open("C:\\TEMP\\Chap_11_data_JT.txt"); + inFile.open("C:\\TEMP\\Chap_11_data_IT.txt"); if (inFile.is_open()) { diff --git a/Error_program_output.txt b/Error_program_output.txt new file mode 100644 index 0000000..45dd1ae --- /dev/null +++ b/Error_program_output.txt @@ -0,0 +1,3 @@ +Trouble Opening File + + ** About to EXIT NOW! **
\ No newline at end of file |