From b263e665b5df9d976af52a58f164ef4bda029301 Mon Sep 17 00:00:00 2001 From: JacobAKnox <91796123+JacobAKnox@users.noreply.github.com> Date: Wed, 1 Dec 2021 19:22:07 -0800 Subject: added output examples --- .vs/Project2/v16/.suo | Bin 45056 -> 53248 bytes .vs/Project2/v16/Browse.VC.db | Bin 16379904 -> 16379904 bytes .../ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipch | Bin 35520512 -> 35586048 bytes .../AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipch | Bin 35717120 -> 35717120 bytes .vs/VSWorkspaceState.json | 2 +- .vs/cst116proj2-1-jacob-k-and-austin-g/v16/.suo | Bin 37376 -> 38400 bytes .../v16/Browse.VC.db | Bin 16412672 -> 16412672 bytes .../v16/Browse.VC.db-shm | Bin 32768 -> 0 bytes .../v16/Browse.VC.db-wal | 0 .vs/slnx.sqlite | Bin 335872 -> 335872 bytes Debug/KnoxFunctions.obj | Bin 169695 -> 169695 bytes Debug/Project2.exe | Bin 71680 -> 73728 bytes Debug/Project2.exe.recipe | 2 +- Debug/Project2.ilk | Bin 692440 -> 787276 bytes Debug/Project2.log | 2 +- Debug/Project2.obj | Bin 54493 -> 54493 bytes Debug/Project2.pdb | Bin 1912832 -> 2273280 bytes Debug/Project2.tlog/CL.command.1.tlog | Bin 3370 -> 3370 bytes Debug/Project2.tlog/CL.read.1.tlog | Bin 82528 -> 82528 bytes Debug/Project2.tlog/CL.write.1.tlog | Bin 3984 -> 3984 bytes Debug/Project2.tlog/Project2.lastbuildstate | 4 +- Debug/vc142.idb | Bin 281600 -> 281600 bytes Debug/vc142.pdb | Bin 512000 -> 512000 bytes Output.txt | 166 +++++++++++++++++++++ 24 files changed, 171 insertions(+), 5 deletions(-) delete mode 100644 .vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-shm delete mode 100644 .vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-wal create mode 100644 Output.txt diff --git a/.vs/Project2/v16/.suo b/.vs/Project2/v16/.suo index 4a857f7..b39a364 100644 Binary files a/.vs/Project2/v16/.suo and b/.vs/Project2/v16/.suo differ diff --git a/.vs/Project2/v16/Browse.VC.db b/.vs/Project2/v16/Browse.VC.db index 264c128..d5ac3b6 100644 Binary files a/.vs/Project2/v16/Browse.VC.db and b/.vs/Project2/v16/Browse.VC.db differ diff --git a/.vs/Project2/v16/ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipch b/.vs/Project2/v16/ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipch index 6c4eade..4f4ba13 100644 Binary files a/.vs/Project2/v16/ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipch and b/.vs/Project2/v16/ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipch differ diff --git a/.vs/Project2/v16/ipch/AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipch b/.vs/Project2/v16/ipch/AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipch index eb3a66c..d0e8f85 100644 Binary files a/.vs/Project2/v16/ipch/AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipch and b/.vs/Project2/v16/ipch/AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipch differ diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index 019cc9e..610353b 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -2,6 +2,6 @@ "ExpandedNodes": [ "" ], - "SelectedNode": "\\Project2.sln", + "SelectedNode": "\\KnoxFunctions.cpp", "PreviewInSolutionExplorer": false } \ No newline at end of file diff --git a/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/.suo b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/.suo index 6c8e0d2..b52e6b4 100644 Binary files a/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/.suo and b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/.suo differ diff --git a/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db index 9de52ed..39e06fc 100644 Binary files a/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db and b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db differ diff --git a/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-shm b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-shm deleted file mode 100644 index 8653dc3..0000000 Binary files a/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-shm and /dev/null differ diff --git a/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-wal b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-wal deleted file mode 100644 index e69de29..0000000 diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index f046522..f099e17 100644 Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ diff --git a/Debug/KnoxFunctions.obj b/Debug/KnoxFunctions.obj index c75cbef..7cf9622 100644 Binary files a/Debug/KnoxFunctions.obj and b/Debug/KnoxFunctions.obj differ diff --git a/Debug/Project2.exe b/Debug/Project2.exe index 9b014b8..cc16448 100644 Binary files a/Debug/Project2.exe and b/Debug/Project2.exe differ diff --git a/Debug/Project2.exe.recipe b/Debug/Project2.exe.recipe index 809ae68..29681b9 100644 --- a/Debug/Project2.exe.recipe +++ b/Debug/Project2.exe.recipe @@ -2,7 +2,7 @@ - C:\Users\jakno\Source\Repos\CST116\cst116proj2-1-jacob-k-and-austin-g\Debug\Project2.exe + C:\Users\jakno\source\repos\CST116\cst116proj2-1-jacob-k-and-austin-g\Debug\Project2.exe diff --git a/Debug/Project2.ilk b/Debug/Project2.ilk index f9a21bb..04b81f7 100644 Binary files a/Debug/Project2.ilk and b/Debug/Project2.ilk differ diff --git a/Debug/Project2.log b/Debug/Project2.log index 24e0bbc..fe5f7b6 100644 --- a/Debug/Project2.log +++ b/Debug/Project2.log @@ -1,2 +1,2 @@  KnoxFunctions.cpp - Project2.vcxproj -> C:\Users\jakno\source\repos\CST116\Project2\Debug\Project2.exe + Project2.vcxproj -> C:\Users\jakno\source\repos\CST116\cst116proj2-1-jacob-k-and-austin-g\Debug\Project2.exe diff --git a/Debug/Project2.obj b/Debug/Project2.obj index 9ac01e1..b1d4a0b 100644 Binary files a/Debug/Project2.obj and b/Debug/Project2.obj differ diff --git a/Debug/Project2.pdb b/Debug/Project2.pdb index 4dbe390..6f1be44 100644 Binary files a/Debug/Project2.pdb and b/Debug/Project2.pdb differ diff --git a/Debug/Project2.tlog/CL.command.1.tlog b/Debug/Project2.tlog/CL.command.1.tlog index 81b0d5f..96c58e6 100644 Binary files a/Debug/Project2.tlog/CL.command.1.tlog and b/Debug/Project2.tlog/CL.command.1.tlog differ diff --git a/Debug/Project2.tlog/CL.read.1.tlog b/Debug/Project2.tlog/CL.read.1.tlog index c9f57e8..9cbc79f 100644 Binary files a/Debug/Project2.tlog/CL.read.1.tlog and b/Debug/Project2.tlog/CL.read.1.tlog differ diff --git a/Debug/Project2.tlog/CL.write.1.tlog b/Debug/Project2.tlog/CL.write.1.tlog index 0c1632f..5cf9252 100644 Binary files a/Debug/Project2.tlog/CL.write.1.tlog and b/Debug/Project2.tlog/CL.write.1.tlog differ diff --git a/Debug/Project2.tlog/Project2.lastbuildstate b/Debug/Project2.tlog/Project2.lastbuildstate index f75b7cd..50b2af4 100644 --- a/Debug/Project2.tlog/Project2.lastbuildstate +++ b/Debug/Project2.tlog/Project2.lastbuildstate @@ -1,2 +1,2 @@ -PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30133:VCServicingVersionATL=14.29.30136:VCServicingVersionCrtHeaders=14.29.30136:VCServicingVersionCompilers=14.29.30136:TargetPlatformVersion=10.0.19041.0: -Debug|Win32|C:\Users\jakno\Source\Repos\CST116\cst116proj2-1-jacob-k-and-austin-g\| +PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30133:VCServicingVersionATL=14.29.30136:VCServicingVersionCrtHeaders=14.29.30136:TargetPlatformVersion=10.0.19041.0: +Debug|Win32|C:\Users\jakno\source\repos\CST116\cst116proj2-1-jacob-k-and-austin-g\| diff --git a/Debug/vc142.idb b/Debug/vc142.idb index c2bdd24..e1fc0a1 100644 Binary files a/Debug/vc142.idb and b/Debug/vc142.idb differ diff --git a/Debug/vc142.pdb b/Debug/vc142.pdb index 16e23ba..b47b75e 100644 Binary files a/Debug/vc142.pdb and b/Debug/vc142.pdb differ diff --git a/Output.txt b/Output.txt new file mode 100644 index 0000000..de6752c --- /dev/null +++ b/Output.txt @@ -0,0 +1,166 @@ + +-----Input a number between negative one million and one million to be tested----- +45 + +You entered the value: 45 + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 1 +45 is positve. + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 2 + + +Calculating if the number entered is even, odd, or 0 + +45 is odd. + + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 3 +45 has 3 digits. + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 4 + +The number you have chosen from before is 45, what position of that number do you want to see where that digit is outputted? +7 + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 4 + +The number you have chosen from before is 45, what position of that number do you want to see where that digit is outputted? +1 + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 5 +The addition table for numbers 0-12: +0 1 2 3 4 5 6 7 8 9 10 11 12 +1 2 3 4 5 6 7 8 9 10 11 12 13 +2 3 4 5 6 7 8 9 10 11 12 13 14 +3 4 5 6 7 8 9 10 11 12 13 14 15 +4 5 6 7 8 9 10 11 12 13 14 15 16 +5 6 7 8 9 10 11 12 13 14 15 16 17 +6 7 8 9 10 11 12 13 14 15 16 17 18 +7 8 9 10 11 12 13 14 15 16 17 18 19 +8 9 10 11 12 13 14 15 16 17 18 19 20 +9 10 11 12 13 14 15 16 17 18 19 20 21 +10 11 12 13 14 15 16 17 18 19 20 21 22 +11 12 13 14 15 16 17 18 19 20 21 22 23 +12 13 14 15 16 17 18 19 20 21 22 23 24 + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 6 +Exiting Program... +C:\Users\jakno\source\repos\CST116\cst116proj2-1-jacob-k-and-austin-g\Debug\Project2.exe (process 21264) exited with code 0. +Press any key to close this window . . . + + + +-----Input a number between negative one million and one million to be tested----- +-366 + +You entered the value: -366 + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 1 +-366 is negative. + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 2 + + +Calculating if the number entered is even, odd, or 0 + +-366 is even. + + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 4 + +The number you have chosen from before is -366, what position of that number do you want to see where that digit is outputted? +2 + --MENU-- + + 1. Is the value positive or negative + 2. Is the value odd or even + 3. How many digits does the value have + 4. See the digit at a specifed position + 5. Show additon table + 6. Exit program + +Input Menu Choice: 6 +Exiting Program... +C:\Users\jakno\source\repos\CST116\cst116proj2-1-jacob-k-and-austin-g\Debug\Project2.exe (process 13852) exited with code 0. +Press any key to close this window . . . -- cgit v1.2.3