diff options
Diffstat (limited to 'CST116-Ch11-Debugging')
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index 2af8ee0..3cb80a3 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -83,11 +83,11 @@ int main() int record_counter(0); ifstream inFile; - + // My computer refuses to output/run properly // Notice how this automatically opens the file - ofstream outFile("C:\\TEMP\\Chap_11_Report.txt"); - - inFile.open("C:\\Users\\furyf\\OneDrive\\Desktop\\Homework\\CST Homework\\CST116 Ch11\\CH11 text file.txt"); + ofstream outFile("C:\\Users\\furyf\\OneDrive\\Desktop\\Homework\\CST_Homework\\CST116_Ch11\\Output.txt"); + + inFile.open("C:\\Users\\furyf\\OneDrive\\Desktop\\Homework\\CST_Homework\\CST116_Ch11\\CH11_text_file.txt"); if (inFile.is_open()) { @@ -102,13 +102,13 @@ int main() } else { - cout << "Trouble Opening File"; + cout << "Trouble Opening File, out file"; cout << "\n\n\t\t ** About to EXIT NOW! ** "; } } else { - cout << "Trouble Opening File"; + cout << "Trouble Opening File, in file"; cout << "\n\n\t\t ** About to EXIT NOW! ** "; } return 0; |