aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author[email protected] <[email protected]>2022-10-20 20:49:19 -0700
committer[email protected] <[email protected]>2022-10-20 20:49:19 -0700
commitc8b55c925bb7547b7f016735d5bf63a77f5d3a44 (patch)
tree611fa14f3316348a571956159ddf23d6b62710a5
parentAlmighty PUSH! (diff)
downloadcst116-ch10-debugging-smith-benjamin-c8b55c925bb7547b7f016735d5bf63a77f5d3a44.tar.xz
cst116-ch10-debugging-smith-benjamin-c8b55c925bb7547b7f016735d5bf63a77f5d3a44.zip
THE TRUE FINAL PUSH IS NIGH!!!!!!HEADmain
-rw-r--r--.vs/VSWorkspaceState.json7
-rw-r--r--CST116-Ch10-Debugging/CST116-Ch10-Smith-Pseudo-Code.txt29
-rw-r--r--CST116-Ch10-Debugging/CST116-Ch10-Smith.txt24
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/CST116-Ch10-Debugging.lastbuildstate2
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/link.read.1.tlogbin3682 -> 3902 bytes
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exebin95744 -> 95744 bytes
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe.recipe2
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.ilkbin894544 -> 847312 bytes
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.log2
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.objbin154355 -> 154355 bytes
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.pdbbin1716224 -> 1716224 bytes
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/vc143.idbbin166912 -> 166912 bytes
-rw-r--r--CST116-Ch10-Debugging/x64/Debug/vc143.pdbbin462848 -> 462848 bytes
13 files changed, 63 insertions, 3 deletions
diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json
new file mode 100644
index 0000000..8830772
--- /dev/null
+++ b/.vs/VSWorkspaceState.json
@@ -0,0 +1,7 @@
+{
+ "ExpandedNodes": [
+ ""
+ ],
+ "SelectedNode": "\\CST116-Ch10-Debugging.sln",
+ "PreviewInSolutionExplorer": false
+} \ No newline at end of file
diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Smith-Pseudo-Code.txt b/CST116-Ch10-Debugging/CST116-Ch10-Smith-Pseudo-Code.txt
new file mode 100644
index 0000000..d0dda92
--- /dev/null
+++ b/CST116-Ch10-Debugging/CST116-Ch10-Smith-Pseudo-Code.txt
@@ -0,0 +1,29 @@
+Pre-Processing:
+1) Initialize void functions 'GetAndDisplayWelcomeInfo' 'FunctionsONe' 'FunctionTwo' and 'PrintFunction'
+2) Initialize constant 'SIZE' to be 10
+
+int main:
+1) Initialize arrays 'varX' 'varY' and 'varZ'
+2) Call funtion 'GetAndDisplayWelcome'
+3) Call function 'FunctionOne' using 'varX' and 'varY' as its inputs
+4) Call function 'FunctionTwo' using 'varX' 'varY' and 'varZ' as its inputs
+5) Change position [0] of 'varZ' to -99
+6) Change position [1] of 'varX' to 99
+7) Call function 'PrintFunction' using 'varX' 'varY' and 'varZ' aas its inputs
+
+GetAndDisplayWelcomeInfo:
+1) Initialize 2D array 'name' with 2 sets of 20 characters
+2) Set the first set of 20 characters in the array 'name' to the user's input
+3) Set the second set of 20 characters in the array 'name' to the user's input
+4) Output a welcome message
+
+FunctionOne:
+1) Set every value in the array 'varX' to be the next increment in value from the range 0 � (SIZE - 1)
+2) Set every value in the array 'varY' to be the position-associated value in 'varX' + 100
+
+FunctionTwo:
+1) Set every value in the arrat 'varZ' to be the sum of the position-associated values in 'varX' and 'var'Y
+
+PrintFunction:
+1) Initialize an int variable 'x'
+2) Output the values of 'varX' 'varY' and 'varZ' in a nice, fancily-ordered fashion \ No newline at end of file
diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Smith.txt b/CST116-Ch10-Debugging/CST116-Ch10-Smith.txt
new file mode 100644
index 0000000..f2f7e4a
--- /dev/null
+++ b/CST116-Ch10-Debugging/CST116-Ch10-Smith.txt
@@ -0,0 +1,24 @@
+Please enter your first name: James
+
+Please enter your last name: Bond
+
+
+ Welcome James Bond!
+ Hope all is well
+
+ x y z
+
+ 0 100 -99
+ 99 101 102
+ 2 102 104
+ 3 103 106
+ 4 104 108
+ 5 105 110
+ 6 106 112
+ 7 107 114
+ 8 108 116
+ 9 109 118
+
+C:\Users\cowpi\source\repos\cst116-ch10-debugging-Smith-Benjamin\CST116-Ch10-Debugging\x64\Debug\CST116-Ch10-Debugging.exe (process 11876) exited with code 0.
+To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
+Press any key to close this window . . . \ No newline at end of file
diff --git a/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/CST116-Ch10-Debugging.lastbuildstate b/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/CST116-Ch10-Debugging.lastbuildstate
index e838982..981fb12 100644
--- a/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/CST116-Ch10-Debugging.lastbuildstate
+++ b/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/CST116-Ch10-Debugging.lastbuildstate
@@ -1,2 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.33.31629:TargetPlatformVersion=10.0.19041.0:
-Debug|x64|C:\Users\cowpi\Source\Repos\cst116-ch10-debugging-Smith-Benjamin\CST116-Ch10-Debugging\|
+Debug|x64|C:\Users\cowpi\source\repos\cst116-ch10-debugging-Smith-Benjamin\CST116-Ch10-Debugging\|
diff --git a/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/link.read.1.tlog b/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/link.read.1.tlog
index 4f7bdbe..c1781da 100644
--- a/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/link.read.1.tlog
+++ b/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/link.read.1.tlog
Binary files differ
diff --git a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe
index 1297b58..e2d82b9 100644
--- a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe
+++ b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe
Binary files differ
diff --git a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe.recipe b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe.recipe
index d0368b1..61f3962 100644
--- a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe.recipe
+++ b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe.recipe
@@ -2,7 +2,7 @@
<Project>
<ProjectOutputs>
<ProjectOutput>
- <FullPath>C:\Users\cowpi\Source\Repos\cst116-ch10-debugging-Smith-Benjamin\CST116-Ch10-Debugging\x64\Debug\CST116-Ch10-Debugging.exe</FullPath>
+ <FullPath>C:\Users\cowpi\source\repos\cst116-ch10-debugging-Smith-Benjamin\CST116-Ch10-Debugging\x64\Debug\CST116-Ch10-Debugging.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
diff --git a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.ilk b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.ilk
index c8a58dc..01ff74f 100644
--- a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.ilk
+++ b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.ilk
Binary files differ
diff --git a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.log b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.log
index 74d89bf..fc9c9c4 100644
--- a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.log
+++ b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.log
@@ -1,2 +1,2 @@
 CST116-Ch10-Debugging.cpp
- CST116-Ch10-Debugging.vcxproj -> C:\Users\cowpi\Source\Repos\cst116-ch10-debugging-Smith-Benjamin\CST116-Ch10-Debugging\x64\Debug\CST116-Ch10-Debugging.exe
+ CST116-Ch10-Debugging.vcxproj -> C:\Users\cowpi\source\repos\cst116-ch10-debugging-Smith-Benjamin\CST116-Ch10-Debugging\x64\Debug\CST116-Ch10-Debugging.exe
diff --git a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.obj b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.obj
index 73bde72..c4219c0 100644
--- a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.obj
+++ b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.obj
Binary files differ
diff --git a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.pdb b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.pdb
index 322c18a..cf7e8a3 100644
--- a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.pdb
+++ b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.pdb
Binary files differ
diff --git a/CST116-Ch10-Debugging/x64/Debug/vc143.idb b/CST116-Ch10-Debugging/x64/Debug/vc143.idb
index a1050ff..7aed426 100644
--- a/CST116-Ch10-Debugging/x64/Debug/vc143.idb
+++ b/CST116-Ch10-Debugging/x64/Debug/vc143.idb
Binary files differ
diff --git a/CST116-Ch10-Debugging/x64/Debug/vc143.pdb b/CST116-Ch10-Debugging/x64/Debug/vc143.pdb
index 695d503..6396457 100644
--- a/CST116-Ch10-Debugging/x64/Debug/vc143.pdb
+++ b/CST116-Ch10-Debugging/x64/Debug/vc143.pdb
Binary files differ