summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-11-01 19:27:58 -0700
committerprestonderek <[email protected]>2022-11-01 19:27:58 -0700
commitd6d85baea968a4b44ee5a51b84b7e46474cbc599 (patch)
tree99020711acbce177cb690cbc66856d0971e9307b /CST116-Ch11-Debugging
parentAdded my output file and ran program. It told me trouble opening file. This w... (diff)
downloadcst116-ch11-debugging-prestonderek-d6d85baea968a4b44ee5a51b84b7e46474cbc599.tar.xz
cst116-ch11-debugging-prestonderek-d6d85baea968a4b44ee5a51b84b7e46474cbc599.zip
commit for report log
Diffstat (limited to 'CST116-Ch11-Debugging')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp6
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj1
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters1
3 files changed, 6 insertions, 2 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index 53830da..3502ab1 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -81,9 +81,11 @@ int main()
ifstream inFile;
// Notice how this automatically opens the file
- ofstream outFile("C:\\TEMP\\Chap_11_Report.txt");
+ // ofstream outFile("C:\\TEMP\\Chap_11_Report.txt");
- inFile.open("C:\\TEMP\\Chap_11_data.txt");
+ //inFile.open("C:\\TEMP\\Chap_11_data.txt");
+ ofstream outFile("C:\\temp\\Chap_11_Report.txt");
+ inFile.open("C:\Users\prest\source\repos\cst116-ch11-debugging-prestonderek\Debug11File1.txt");
if (inFile.is_open())
{
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
index 5f0b4c6..19b6f1b 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
@@ -130,6 +130,7 @@
<ClCompile Include="CST116-Ch11-Debugging.cpp" />
</ItemGroup>
<ItemGroup>
+ <Text Include="..\..\..\..\..\..\temp\Chap_11_Report.txt" />
<Text Include="D:\Important\School\CST116\Debug11File1.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
index 61f7a0c..0fe3e2d 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
@@ -21,5 +21,6 @@
</ItemGroup>
<ItemGroup>
<Text Include="D:\Important\School\CST116\Debug11File1.txt" />
+ <Text Include="..\..\..\..\..\..\temp\Chap_11_Report.txt" />
</ItemGroup>
</Project> \ No newline at end of file