From afd1805ab09b9437a1e508c0a97d9a88ce440533 Mon Sep 17 00:00:00 2001 From: "smithbenjamin2022@gmail.com" Date: Wed, 12 Oct 2022 14:19:50 -0700 Subject: True Final Push --- .../CST116-CH7-Smith-Pseudo-Code.txt | 7 +++++++ CST116-Ch7-Debugging/CST116-Ch7-Smith.txt | 6 ++++++ .../CST116-Ch7-Debugging.lastbuildstate | 2 +- .../Debug/CST116-C.b0d44148.tlog/link.read.1.tlog | Bin 3666 -> 3886 bytes .../x64/Debug/CST116-Ch7-Debugging.exe | Bin 68608 -> 68608 bytes .../x64/Debug/CST116-Ch7-Debugging.exe.recipe | 2 +- .../x64/Debug/CST116-Ch7-Debugging.ilk | Bin 766056 -> 676016 bytes .../x64/Debug/CST116-Ch7-Debugging.log | 2 +- .../x64/Debug/CST116-Ch7-Debugging.obj | Bin 76313 -> 76313 bytes .../x64/Debug/CST116-Ch7-Debugging.pdb | Bin 1609728 -> 1609728 bytes CST116-Ch7-Debugging/x64/Debug/vc143.idb | Bin 166912 -> 166912 bytes CST116-Ch7-Debugging/x64/Debug/vc143.pdb | Bin 405504 -> 405504 bytes 12 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt create mode 100644 CST116-Ch7-Debugging/CST116-Ch7-Smith.txt (limited to 'CST116-Ch7-Debugging') diff --git a/CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt b/CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt new file mode 100644 index 0000000..e7ffd50 --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt @@ -0,0 +1,7 @@ +1) Initialize a new int 'age' to be 0 +2) Get the user's age +3) If their age is 1, output "First Birthday" +4) If their age is between 12 and 19, output "Teenager" +5) If their age is less than 12, output "Child" +6) If their age is greater than 62, output "Senior" +7) If their age doesn't meet any prior requirements, output "Adult" \ No newline at end of file diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Smith.txt b/CST116-Ch7-Debugging/CST116-Ch7-Smith.txt new file mode 100644 index 0000000..9084d98 --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-Smith.txt @@ -0,0 +1,6 @@ +Enter your age: 19 +Teenager + +C:\Users\cowpi\source\repos\cst116-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\x64\Debug\CST116-Ch7-Debugging.exe (process 14972) 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-Ch7-Debugging/x64/Debug/CST116-C.b0d44148.tlog/CST116-Ch7-Debugging.lastbuildstate b/CST116-Ch7-Debugging/x64/Debug/CST116-C.b0d44148.tlog/CST116-Ch7-Debugging.lastbuildstate index 9b9b566..5a2f06f 100644 --- a/CST116-Ch7-Debugging/x64/Debug/CST116-C.b0d44148.tlog/CST116-Ch7-Debugging.lastbuildstate +++ b/CST116-Ch7-Debugging/x64/Debug/CST116-C.b0d44148.tlog/CST116-Ch7-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-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\| +Debug|x64|C:\Users\cowpi\source\repos\cst116-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\| diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-C.b0d44148.tlog/link.read.1.tlog b/CST116-Ch7-Debugging/x64/Debug/CST116-C.b0d44148.tlog/link.read.1.tlog index 4391d2c..2cf97c4 100644 Binary files a/CST116-Ch7-Debugging/x64/Debug/CST116-C.b0d44148.tlog/link.read.1.tlog and b/CST116-Ch7-Debugging/x64/Debug/CST116-C.b0d44148.tlog/link.read.1.tlog differ diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe index 223dd3a..dd403fd 100644 Binary files a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe and b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe differ diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe.recipe b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe.recipe index 3b9bbd8..b22a505 100644 --- a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe.recipe +++ b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe.recipe @@ -2,7 +2,7 @@ - C:\Users\cowpi\Source\Repos\cst116-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\x64\Debug\CST116-Ch7-Debugging.exe + C:\Users\cowpi\source\repos\cst116-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\x64\Debug\CST116-Ch7-Debugging.exe diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.ilk b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.ilk index 2b85ffe..bf79dc0 100644 Binary files a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.ilk and b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.ilk differ diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.log b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.log index ddd352b..dff3c85 100644 --- a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.log +++ b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.log @@ -1,2 +1,2 @@  CST116-Ch7-Debugging.cpp - CST116-Ch7-Debugging.vcxproj -> C:\Users\cowpi\Source\Repos\cst116-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\x64\Debug\CST116-Ch7-Debugging.exe + CST116-Ch7-Debugging.vcxproj -> C:\Users\cowpi\source\repos\cst116-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\x64\Debug\CST116-Ch7-Debugging.exe diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.obj b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.obj index 71b32d8..a3893ca 100644 Binary files a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.obj and b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.obj differ diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.pdb b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.pdb index 8023b84..a35dc08 100644 Binary files a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.pdb and b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.pdb differ diff --git a/CST116-Ch7-Debugging/x64/Debug/vc143.idb b/CST116-Ch7-Debugging/x64/Debug/vc143.idb index 181d232..2acea94 100644 Binary files a/CST116-Ch7-Debugging/x64/Debug/vc143.idb and b/CST116-Ch7-Debugging/x64/Debug/vc143.idb differ diff --git a/CST116-Ch7-Debugging/x64/Debug/vc143.pdb b/CST116-Ch7-Debugging/x64/Debug/vc143.pdb index f9329d3..0c28a5d 100644 Binary files a/CST116-Ch7-Debugging/x64/Debug/vc143.pdb and b/CST116-Ch7-Debugging/x64/Debug/vc143.pdb differ -- cgit v1.2.3