From c8b55c925bb7547b7f016735d5bf63a77f5d3a44 Mon Sep 17 00:00:00 2001 From: "smithbenjamin2022@gmail.com" Date: Thu, 20 Oct 2022 20:49:19 -0700 Subject: THE TRUE FINAL PUSH IS NIGH!!!!!! --- .vs/VSWorkspaceState.json | 7 +++++ .../CST116-Ch10-Smith-Pseudo-Code.txt | 29 +++++++++++++++++++++ CST116-Ch10-Debugging/CST116-Ch10-Smith.txt | 24 +++++++++++++++++ .../CST116-Ch10-Debugging.lastbuildstate | 2 +- .../Debug/CST116-C.25de9f3e.tlog/link.read.1.tlog | Bin 3682 -> 3902 bytes .../x64/Debug/CST116-Ch10-Debugging.exe | Bin 95744 -> 95744 bytes .../x64/Debug/CST116-Ch10-Debugging.exe.recipe | 2 +- .../x64/Debug/CST116-Ch10-Debugging.ilk | Bin 894544 -> 847312 bytes .../x64/Debug/CST116-Ch10-Debugging.log | 2 +- .../x64/Debug/CST116-Ch10-Debugging.obj | Bin 154355 -> 154355 bytes .../x64/Debug/CST116-Ch10-Debugging.pdb | Bin 1716224 -> 1716224 bytes CST116-Ch10-Debugging/x64/Debug/vc143.idb | Bin 166912 -> 166912 bytes CST116-Ch10-Debugging/x64/Debug/vc143.pdb | Bin 462848 -> 462848 bytes 13 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 .vs/VSWorkspaceState.json create mode 100644 CST116-Ch10-Debugging/CST116-Ch10-Smith-Pseudo-Code.txt create mode 100644 CST116-Ch10-Debugging/CST116-Ch10-Smith.txt 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 Binary files a/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/link.read.1.tlog and b/CST116-Ch10-Debugging/x64/Debug/CST116-C.25de9f3e.tlog/link.read.1.tlog 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 Binary files a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe and b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.exe 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 @@ - C:\Users\cowpi\Source\Repos\cst116-ch10-debugging-Smith-Benjamin\CST116-Ch10-Debugging\x64\Debug\CST116-Ch10-Debugging.exe + 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.ilk b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.ilk index c8a58dc..01ff74f 100644 Binary files a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.ilk and b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.ilk 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 Binary files a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.obj and b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.obj 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 Binary files a/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.pdb and b/CST116-Ch10-Debugging/x64/Debug/CST116-Ch10-Debugging.pdb differ diff --git a/CST116-Ch10-Debugging/x64/Debug/vc143.idb b/CST116-Ch10-Debugging/x64/Debug/vc143.idb index a1050ff..7aed426 100644 Binary files a/CST116-Ch10-Debugging/x64/Debug/vc143.idb and b/CST116-Ch10-Debugging/x64/Debug/vc143.idb differ diff --git a/CST116-Ch10-Debugging/x64/Debug/vc143.pdb b/CST116-Ch10-Debugging/x64/Debug/vc143.pdb index 695d503..6396457 100644 Binary files a/CST116-Ch10-Debugging/x64/Debug/vc143.pdb and b/CST116-Ch10-Debugging/x64/Debug/vc143.pdb differ -- cgit v1.2.3