From 3c141cacd2f4044b6504211b9363eb2fd04023d9 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Wed, 9 Nov 2022 15:57:34 -0800 Subject: changed paths --- CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 4 ++-- CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj | 4 ++-- CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters | 8 ++++++-- CST116-Ch11-Debugging/Chap11_MyData.txt | 4 ++++ CST116-Ch11-Debugging/Chap_11_Report.txt | 9 +++++++++ 5 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 CST116-Ch11-Debugging/Chap11_MyData.txt create mode 100644 CST116-Ch11-Debugging/Chap_11_Report.txt diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index 8eefc76..51ebbe1 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -108,9 +108,9 @@ int main() ifstream inFile; // Notice how this automatically opens the file - ofstream outFile("C:\\Users\\Aaron Hill\\Desktop\\Chap_11_Report.txt"); + ofstream outFile("Chap_11_Report.txt"); - inFile.open("C:\\Users\\Aaron Hill\\Desktop\\Chap11-MyData.txt"); + inFile.open("Chap11_MyData.txt"); if (inFile.is_open()) { diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj index 0c22876..a3f5e07 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj @@ -130,8 +130,8 @@ - - + + diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters index e484785..2912b0e 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters @@ -20,10 +20,14 @@ - - Source Files + + Source Files + + + Source Files + \ No newline at end of file diff --git a/CST116-Ch11-Debugging/Chap11_MyData.txt b/CST116-Ch11-Debugging/Chap11_MyData.txt new file mode 100644 index 0000000..93bf196 --- /dev/null +++ b/CST116-Ch11-Debugging/Chap11_MyData.txt @@ -0,0 +1,4 @@ +Troy 12 +Jose 14 +Aaron 21 +Chris 33 \ No newline at end of file diff --git a/CST116-Ch11-Debugging/Chap_11_Report.txt b/CST116-Ch11-Debugging/Chap_11_Report.txt new file mode 100644 index 0000000..0574360 --- /dev/null +++ b/CST116-Ch11-Debugging/Chap_11_Report.txt @@ -0,0 +1,9 @@ + Here is the Output File +Troy 12 +Jose 14 +Aaron 21 +Chris 33 + + + ** Total Records: 4 ** + The End -- cgit v1.2.3