summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoolyBoi <[email protected]>2022-11-02 21:45:00 -0700
committerDoolyBoi <[email protected]>2022-11-02 21:45:00 -0700
commita0f0580c7dafef026be1593aa9dd53e508147df6 (patch)
treebd4eaf3f879f359c2c42d9df7991ecc60b4a0d95
parentInitial commit (diff)
downloadcst116-ch11-debugging-abd00l4h-a0f0580c7dafef026be1593aa9dd53e508147df6.tar.xz
cst116-ch11-debugging-abd00l4h-a0f0580c7dafef026be1593aa9dd53e508147df6.zip
Did debugging exercises
-rw-r--r--CST116-Ch11-Debugging/CST116-CH11-Debugging-Havaldar.cpp (renamed from CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp)4
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj6
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters6
3 files changed, 12 insertions, 4 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-CH11-Debugging-Havaldar.cpp
index 53830da..9ff09a4 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-CH11-Debugging-Havaldar.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\\haval\\OneDrive\\Documents\\ch11OutputFile.txt");
- inFile.open("C:\\TEMP\\Chap_11_data.txt");
+ inFile.open("C:\\Users\\haval\\OneDrive\\Documents\\ch11InputFile.txt");
if (inFile.is_open())
{
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
index 2073e5b..a84f1d3 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
@@ -127,7 +127,11 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
- <ClCompile Include="CST116-Ch11-Debugging.cpp" />
+ <ClCompile Include="CST116-CH11-Debugging-Havaldar.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <Text Include="..\..\..\..\OneDrive\Documents\CST116-CH11-Debugging-Input.txt" />
+ <Text Include="..\..\..\..\OneDrive\Documents\CST116-CH11-Debugging-Output.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..c7b9cf5 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
@@ -15,8 +15,12 @@
</Filter>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="CST116-Ch11-Debugging.cpp">
+ <ClCompile Include="CST116-CH11-Debugging-Havaldar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
+ <ItemGroup>
+ <Text Include="..\..\..\..\OneDrive\Documents\CST116-CH11-Debugging-Output.txt" />
+ <Text Include="..\..\..\..\OneDrive\Documents\CST116-CH11-Debugging-Input.txt" />
+ </ItemGroup>
</Project> \ No newline at end of file