From 6b5d3554131a3207a9997caa208b4a0788b802e0 Mon Sep 17 00:00:00 2001 From: CEOofOogaBooga Date: Tue, 8 Nov 2022 19:00:33 -0800 Subject: Start --- CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp') diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index 53830da..afecc34 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -1,6 +1,10 @@ /******************************************************************** * File: Chapter 11 Debug.cpp * +* Thomas Trinh +* CST116 +* Ch11 Arrays and Simple Strings +* * General Instructions: Complete each step before proceeding to the * next. * @@ -80,10 +84,11 @@ int main() ifstream inFile; + // Notice how this automatically opens the file - ofstream outFile("C:\\TEMP\\Chap_11_Report.txt"); + ofstream outFile("C:\\Users\\furyf\\OneDrive\\Desktop\\Homework\\CST Homework\\CST116 Ch11\\CH11 text file.txt"); - inFile.open("C:\\TEMP\\Chap_11_data.txt"); + inFile.open("C:\\Users\\furyf\\OneDrive\\Desktop\\Homework\\CST Homework\\CST116 Ch11\\CH11 text file.txt"); if (inFile.is_open()) { -- cgit v1.2.3