diff options
| author | [email protected] <[email protected]> | 2022-10-12 14:19:50 -0700 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2022-10-12 14:19:50 -0700 |
| commit | afd1805ab09b9437a1e508c0a97d9a88ce440533 (patch) | |
| tree | 89ce43a22d14e28ec7e9468648285e91f3ff1f74 | |
| parent | Final Test (diff) | |
| download | cst116-ch7-debugging-smith-benjamin-afd1805ab09b9437a1e508c0a97d9a88ce440533.tar.xz cst116-ch7-debugging-smith-benjamin-afd1805ab09b9437a1e508c0a97d9a88ce440533.zip | |
13 files changed, 22 insertions, 3 deletions
diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..6b61141 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,6 @@ +{ + "ExpandedNodes": [ + "" + ], + "PreviewInSolutionExplorer": false +}
\ No newline at end of file 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 Binary files differindex 4391d2c..2cf97c4 100644 --- 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 diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe Binary files differindex 223dd3a..dd403fd 100644 --- a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe +++ b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.exe 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 @@ <Project> <ProjectOutputs> <ProjectOutput> - <FullPath>C:\Users\cowpi\Source\Repos\cst116-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\x64\Debug\CST116-Ch7-Debugging.exe</FullPath> + <FullPath>C:\Users\cowpi\source\repos\cst116-ch7-debugging-Smith-Benjamin\CST116-Ch7-Debugging\x64\Debug\CST116-Ch7-Debugging.exe</FullPath> </ProjectOutput> </ProjectOutputs> <ContentFiles /> diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.ilk b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.ilk Binary files differindex 2b85ffe..bf79dc0 100644 --- a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.ilk +++ b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.ilk 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 Binary files differindex 71b32d8..a3893ca 100644 --- a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.obj +++ b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.obj diff --git a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.pdb b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.pdb Binary files differindex 8023b84..a35dc08 100644 --- a/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.pdb +++ b/CST116-Ch7-Debugging/x64/Debug/CST116-Ch7-Debugging.pdb diff --git a/CST116-Ch7-Debugging/x64/Debug/vc143.idb b/CST116-Ch7-Debugging/x64/Debug/vc143.idb Binary files differindex 181d232..2acea94 100644 --- a/CST116-Ch7-Debugging/x64/Debug/vc143.idb +++ b/CST116-Ch7-Debugging/x64/Debug/vc143.idb diff --git a/CST116-Ch7-Debugging/x64/Debug/vc143.pdb b/CST116-Ch7-Debugging/x64/Debug/vc143.pdb Binary files differindex f9329d3..0c28a5d 100644 --- a/CST116-Ch7-Debugging/x64/Debug/vc143.pdb +++ b/CST116-Ch7-Debugging/x64/Debug/vc143.pdb |