summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging
diff options
context:
space:
mode:
authorEdwardFine <[email protected]>2022-11-02 23:02:31 -0700
committerEdwardFine <[email protected]>2022-11-02 23:02:31 -0700
commit1e77838e79e0df906d97ed6d2a97fe04625c3bed (patch)
treef5e7ac64ee0de87bf3f7052b219cd1c17a3a8be9 /CST116-Ch11-Debugging
parentInitial commit (diff)
downloadcst116-ch11-debugging-edwardfine-1e77838e79e0df906d97ed6d2a97fe04625c3bed.tar.xz
cst116-ch11-debugging-edwardfine-1e77838e79e0df906d97ed6d2a97fe04625c3bed.zip
Finished Debug
Diffstat (limited to 'CST116-Ch11-Debugging')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging-Edward-Fine.cpp (renamed from CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp)8
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj7
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters7
3 files changed, 16 insertions, 6 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging-Edward-Fine.cpp
index 53830da..47ad744 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging-Edward-Fine.cpp
@@ -81,9 +81,9 @@ int main()
ifstream inFile;
// Notice how this automatically opens the file
- ofstream outFile("C:\\TEMP\\Chap_11_Report.txt");
+ ofstream outFile("C:\\Users\\edfin\\source\\repos\\cst116-ch11-debugging-EdwardFine\\Chap_11_Report.txt");
- inFile.open("C:\\TEMP\\Chap_11_data.txt");
+ inFile.open("C:\\Users\\edfin\\source\\repos\\cst116-ch11-debugging-EdwardFine\\Chap_11_data.txt");
if (inFile.is_open())
{
@@ -98,13 +98,13 @@ int main()
}
else
{
- cout << "Trouble Opening File";
+ cout << "Trouble Opening Output File";
cout << "\n\n\t\t ** About to EXIT NOW! ** ";
}
}
else
{
- cout << "Trouble Opening File";
+ cout << "Trouble Opening Input File";
cout << "\n\n\t\t ** About to EXIT NOW! ** ";
}
return 0;
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
index 2073e5b..7f0a540 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
@@ -127,7 +127,12 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
- <ClCompile Include="CST116-Ch11-Debugging.cpp" />
+ <ClCompile Include="CST116-Ch11-Debugging-Edward-Fine.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <Text Include="..\..\..\..\Desktop\Chap_11_Report.txt" />
+ <Text Include="..\Chap_11_data.txt" />
+ <Text Include="..\Chap_11_Report.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
index 2029dc7..a3702a5 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
@@ -15,8 +15,13 @@
</Filter>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="CST116-Ch11-Debugging.cpp">
+ <ClCompile Include="CST116-Ch11-Debugging-Edward-Fine.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
+ <ItemGroup>
+ <Text Include="..\Chap_11_data.txt" />
+ <Text Include="..\..\..\..\Desktop\Chap_11_Report.txt" />
+ <Text Include="..\Chap_11_Report.txt" />
+ </ItemGroup>
</Project> \ No newline at end of file