summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnibal LopezBonilla <[email protected]>2022-11-09 21:27:46 -0800
committerAnibal LopezBonilla <[email protected]>2022-11-09 21:27:46 -0800
commit874d36d5c889a4a41f1ec32c3a61d8b8428e151b (patch)
tree2bdf3ef8b0101c39db9817aa36afff583058719f
parentPush 1 (diff)
downloadcst116-ch11-debugging-buzzerbeaterclutch-874d36d5c889a4a41f1ec32c3a61d8b8428e151b.tar.xz
cst116-ch11-debugging-buzzerbeaterclutch-874d36d5c889a4a41f1ec32c3a61d8b8428e151b.zip
Push4
-rw-r--r--Apollo17.txt0
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp8
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj1
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters13
-rw-r--r--Chap_11_Report.txt8
-rw-r--r--Chapter 11 Debugging Pseudocode.txt1
6 files changed, 24 insertions, 7 deletions
diff --git a/Apollo17.txt b/Apollo17.txt
deleted file mode 100644
index e69de29..0000000
--- a/Apollo17.txt
+++ /dev/null
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index 448a7a0..2a1151d 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -79,11 +79,11 @@ int main()
int record_counter(0);
ifstream inFile;
-
+ //"C:\Users\speed\TEMP"
// Notice how this automatically opens the file
- ofstream outFile("C:\\TEMP\\Chap_119_Report.txt");
-
- inFile.open("C:\\TEMP\\Chap_119_data.txt");
+ ofstream outFile("C:\\Users\\speed\\TEMP\\Apollo17Output.txt");
+ //C:\\TEMP\\Chap_11_data.txt
+ inFile.open("C:\\Users\\speed\\TEMP\\Apollo_17.txt");
if (inFile.is_open())
{
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
index 532848f..7a48ca9 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj
@@ -133,6 +133,7 @@
<Text Include="..\..\Midterm1\Midterm1\Apollo17.txt" />
<Text Include="..\..\Midterm1\Midterm1\Apollo17OutputFile.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 691b15d..4f9e9f1 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.vcxproj.filters
@@ -20,8 +20,15 @@
</ClCompile>
</ItemGroup>
<ItemGroup>
- <Text Include="..\..\Midterm1\Midterm1\Apollo17.txt" />
- <Text Include="..\..\Midterm1\Midterm1\Apollo17OutputFile.txt" />
- <Text Include="..\Chap_11_data.txt" />
+ <Text Include="..\..\Midterm1\Midterm1\Apollo17OutputFile.txt">
+ <Filter>Resource Files</Filter>
+ </Text>
+ <Text Include="..\..\Midterm1\Midterm1\Apollo17.txt">
+ <Filter>Resource Files</Filter>
+ </Text>
+ <Text Include="..\Chap_11_data.txt">
+ <Filter>Resource Files</Filter>
+ </Text>
+ <Text Include="..\Chap_11_Report.txt" />
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/Chap_11_Report.txt b/Chap_11_Report.txt
new file mode 100644
index 0000000..762df20
--- /dev/null
+++ b/Chap_11_Report.txt
@@ -0,0 +1,8 @@
+ Here is the Output File
+ME 57
+Duck 99
+Guy 87
+
+
+ ** Total Records: 2 **
+ The End
diff --git a/Chapter 11 Debugging Pseudocode.txt b/Chapter 11 Debugging Pseudocode.txt
new file mode 100644
index 0000000..20d1fb3
--- /dev/null
+++ b/Chapter 11 Debugging Pseudocode.txt
@@ -0,0 +1 @@
+Chapter 11 Debugging \ No newline at end of file