summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch11-Debugging')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp4
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj4
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters8
-rw-r--r--CST116-Ch11-Debugging/Chap11_MyData.txt4
-rw-r--r--CST116-Ch11-Debugging/Chap_11_Report.txt9
5 files changed, 23 insertions, 6 deletions
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 @@
<ClCompile Include="CST116-Ch11-Debugging.cpp" />
</ItemGroup>
<ItemGroup>
- <Text Include="..\..\..\..\Desktop\Chap11-MyData.txt" />
- <Text Include="..\..\..\..\Desktop\Chap_11_Report.txt" />
+ <Text Include="Chap11_MyData.txt" />
+ <Text Include="Chap_11_Report.txt" />
<Text Include="cst116-ch11-debugging-flowchart.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 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 @@
</ClCompile>
</ItemGroup>
<ItemGroup>
- <Text Include="..\..\..\..\Desktop\Chap11-MyData.txt" />
- <Text Include="..\..\..\..\Desktop\Chap_11_Report.txt" />
<Text Include="cst116-ch11-debugging-flowchart.txt">
<Filter>Source Files</Filter>
</Text>
+ <Text Include="Chap11_MyData.txt">
+ <Filter>Source Files</Filter>
+ </Text>
+ <Text Include="Chap_11_Report.txt">
+ <Filter>Source Files</Filter>
+ </Text>
</ItemGroup>
</Project> \ 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