aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacobAKnox <[email protected]>2021-10-27 20:38:30 -0700
committerJacobAKnox <[email protected]>2021-10-27 20:38:30 -0700
commit677e0bb832c9cc9c69544ed41d9eac98bf5a30ec (patch)
treeb710ed1529645f259a781783ca5284fdf7c9d868
parentAdd online IDE url (diff)
downloadcst116proj2-1-jacob-k-and-austin-g-677e0bb832c9cc9c69544ed41d9eac98bf5a30ec.tar.xz
cst116proj2-1-jacob-k-and-austin-g-677e0bb832c9cc9c69544ed41d9eac98bf5a30ec.zip
Adding my work so far
-rw-r--r--.gitignore5
-rw-r--r--.vs/Project2/v16/.suobin0 -> 45056 bytes
-rw-r--r--.vs/Project2/v16/Browse.VC.dbbin0 -> 16379904 bytes
-rw-r--r--.vs/Project2/v16/ipch/AutoPCH/18d67ed188651b3a/KNOXFUNCTIONS.ipchbin0 -> 393216 bytes
-rw-r--r--.vs/Project2/v16/ipch/AutoPCH/7aa84c9453a0bac0/PROJECT2.ipchbin0 -> 35520512 bytes
-rw-r--r--.vs/Project2/v16/ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipchbin0 -> 35520512 bytes
-rw-r--r--.vs/Project2/v16/ipch/AutoPCH/92593e019d2a2ca6/KNOXFUNCTIONS.ipchbin0 -> 35717120 bytes
-rw-r--r--.vs/Project2/v16/ipch/AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipchbin0 -> 35717120 bytes
-rw-r--r--.vs/ProjectSettings.json3
-rw-r--r--.vs/VSWorkspaceState.json7
-rw-r--r--.vs/cst116proj2-1-jacob-k-and-austin-g/v16/.suobin0 -> 32256 bytes
-rw-r--r--.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.dbbin0 -> 253952 bytes
-rw-r--r--.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-shmbin0 -> 32768 bytes
-rw-r--r--.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-wal0
-rw-r--r--.vs/slnx.sqlitebin0 -> 335872 bytes
-rw-r--r--Debug/KnoxFunctions.objbin0 -> 162643 bytes
-rw-r--r--Debug/Project2.exebin0 -> 71680 bytes
-rw-r--r--Debug/Project2.exe.recipe11
-rw-r--r--Debug/Project2.ilkbin0 -> 568032 bytes
-rw-r--r--Debug/Project2.log2
-rw-r--r--Debug/Project2.objbin0 -> 35714 bytes
-rw-r--r--Debug/Project2.pdbbin0 -> 1740800 bytes
-rw-r--r--Debug/Project2.tlog/CL.command.1.tlogbin0 -> 3370 bytes
-rw-r--r--Debug/Project2.tlog/CL.read.1.tlogbin0 -> 81728 bytes
-rw-r--r--Debug/Project2.tlog/CL.write.1.tlogbin0 -> 3266 bytes
-rw-r--r--Debug/Project2.tlog/Project2.lastbuildstate2
-rw-r--r--Debug/Project2.tlog/link.command.1.tlogbin0 -> 3166 bytes
-rw-r--r--Debug/Project2.tlog/link.read.1.tlogbin0 -> 7882 bytes
-rw-r--r--Debug/Project2.tlog/link.write.1.tlogbin0 -> 1562 bytes
-rw-r--r--Debug/Project2.vcxproj.FileListAbsolute.txt2
-rw-r--r--Debug/vc142.idbbin0 -> 281600 bytes
-rw-r--r--Debug/vc142.pdbbin0 -> 512000 bytes
-rw-r--r--KnoxFunctions.cpp98
-rw-r--r--KnoxPseudoCode.txt25
-rw-r--r--Project2.cpp18
-rw-r--r--Project2.sln31
-rw-r--r--Project2.vcxproj151
-rw-r--r--Project2.vcxproj.filters30
-rw-r--r--Project2.vcxproj.user6
-rw-r--r--header.h13
40 files changed, 404 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8ab8ee8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+################################################################################
+# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
+################################################################################
+
+/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.opendb
diff --git a/.vs/Project2/v16/.suo b/.vs/Project2/v16/.suo
new file mode 100644
index 0000000..4a857f7
--- /dev/null
+++ b/.vs/Project2/v16/.suo
Binary files differ
diff --git a/.vs/Project2/v16/Browse.VC.db b/.vs/Project2/v16/Browse.VC.db
new file mode 100644
index 0000000..264c128
--- /dev/null
+++ b/.vs/Project2/v16/Browse.VC.db
Binary files differ
diff --git a/.vs/Project2/v16/ipch/AutoPCH/18d67ed188651b3a/KNOXFUNCTIONS.ipch b/.vs/Project2/v16/ipch/AutoPCH/18d67ed188651b3a/KNOXFUNCTIONS.ipch
new file mode 100644
index 0000000..6e3a786
--- /dev/null
+++ b/.vs/Project2/v16/ipch/AutoPCH/18d67ed188651b3a/KNOXFUNCTIONS.ipch
Binary files differ
diff --git a/.vs/Project2/v16/ipch/AutoPCH/7aa84c9453a0bac0/PROJECT2.ipch b/.vs/Project2/v16/ipch/AutoPCH/7aa84c9453a0bac0/PROJECT2.ipch
new file mode 100644
index 0000000..baa6fcc
--- /dev/null
+++ b/.vs/Project2/v16/ipch/AutoPCH/7aa84c9453a0bac0/PROJECT2.ipch
Binary files differ
diff --git a/.vs/Project2/v16/ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipch b/.vs/Project2/v16/ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipch
new file mode 100644
index 0000000..6c4eade
--- /dev/null
+++ b/.vs/Project2/v16/ipch/AutoPCH/7b43f03daa1023e2/PROJECT2.ipch
Binary files differ
diff --git a/.vs/Project2/v16/ipch/AutoPCH/92593e019d2a2ca6/KNOXFUNCTIONS.ipch b/.vs/Project2/v16/ipch/AutoPCH/92593e019d2a2ca6/KNOXFUNCTIONS.ipch
new file mode 100644
index 0000000..63646fb
--- /dev/null
+++ b/.vs/Project2/v16/ipch/AutoPCH/92593e019d2a2ca6/KNOXFUNCTIONS.ipch
Binary files differ
diff --git a/.vs/Project2/v16/ipch/AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipch b/.vs/Project2/v16/ipch/AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipch
new file mode 100644
index 0000000..eb3a66c
--- /dev/null
+++ b/.vs/Project2/v16/ipch/AutoPCH/a471a0754d7a9194/KNOXFUNCTIONS.ipch
Binary files differ
diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json
new file mode 100644
index 0000000..0cf5ea5
--- /dev/null
+++ b/.vs/ProjectSettings.json
@@ -0,0 +1,3 @@
+{
+ "CurrentProjectSetting": "No Configurations"
+} \ No newline at end of file
diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json
new file mode 100644
index 0000000..019cc9e
--- /dev/null
+++ b/.vs/VSWorkspaceState.json
@@ -0,0 +1,7 @@
+{
+ "ExpandedNodes": [
+ ""
+ ],
+ "SelectedNode": "\\Project2.sln",
+ "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
new file mode 100644
index 0000000..4d8bb86
--- /dev/null
+++ b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/.suo
Binary files 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
new file mode 100644
index 0000000..5ffae56
--- /dev/null
+++ b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db
Binary files 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
new file mode 100644
index 0000000..090dce7
--- /dev/null
+++ b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-shm
Binary files 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
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.vs/cst116proj2-1-jacob-k-and-austin-g/v16/Browse.VC.db-wal
diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite
new file mode 100644
index 0000000..0df77f6
--- /dev/null
+++ b/.vs/slnx.sqlite
Binary files differ
diff --git a/Debug/KnoxFunctions.obj b/Debug/KnoxFunctions.obj
new file mode 100644
index 0000000..eb53b15
--- /dev/null
+++ b/Debug/KnoxFunctions.obj
Binary files differ
diff --git a/Debug/Project2.exe b/Debug/Project2.exe
new file mode 100644
index 0000000..935271f
--- /dev/null
+++ b/Debug/Project2.exe
Binary files differ
diff --git a/Debug/Project2.exe.recipe b/Debug/Project2.exe.recipe
new file mode 100644
index 0000000..809ae68
--- /dev/null
+++ b/Debug/Project2.exe.recipe
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project>
+ <ProjectOutputs>
+ <ProjectOutput>
+ <FullPath>C:\Users\jakno\Source\Repos\CST116\cst116proj2-1-jacob-k-and-austin-g\Debug\Project2.exe</FullPath>
+ </ProjectOutput>
+ </ProjectOutputs>
+ <ContentFiles />
+ <SatelliteDlls />
+ <NonRecipeFileRefs />
+</Project> \ No newline at end of file
diff --git a/Debug/Project2.ilk b/Debug/Project2.ilk
new file mode 100644
index 0000000..9d522f8
--- /dev/null
+++ b/Debug/Project2.ilk
Binary files differ
diff --git a/Debug/Project2.log b/Debug/Project2.log
new file mode 100644
index 0000000..24e0bbc
--- /dev/null
+++ b/Debug/Project2.log
@@ -0,0 +1,2 @@
+ KnoxFunctions.cpp
+ Project2.vcxproj -> C:\Users\jakno\source\repos\CST116\Project2\Debug\Project2.exe
diff --git a/Debug/Project2.obj b/Debug/Project2.obj
new file mode 100644
index 0000000..6058ee4
--- /dev/null
+++ b/Debug/Project2.obj
Binary files differ
diff --git a/Debug/Project2.pdb b/Debug/Project2.pdb
new file mode 100644
index 0000000..96a2097
--- /dev/null
+++ b/Debug/Project2.pdb
Binary files differ
diff --git a/Debug/Project2.tlog/CL.command.1.tlog b/Debug/Project2.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..81b0d5f
--- /dev/null
+++ b/Debug/Project2.tlog/CL.command.1.tlog
Binary files differ
diff --git a/Debug/Project2.tlog/CL.read.1.tlog b/Debug/Project2.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..077504b
--- /dev/null
+++ b/Debug/Project2.tlog/CL.read.1.tlog
Binary files differ
diff --git a/Debug/Project2.tlog/CL.write.1.tlog b/Debug/Project2.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..bd384f1
--- /dev/null
+++ b/Debug/Project2.tlog/CL.write.1.tlog
Binary files differ
diff --git a/Debug/Project2.tlog/Project2.lastbuildstate b/Debug/Project2.tlog/Project2.lastbuildstate
new file mode 100644
index 0000000..f75b7cd
--- /dev/null
+++ b/Debug/Project2.tlog/Project2.lastbuildstate
@@ -0,0 +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\|
diff --git a/Debug/Project2.tlog/link.command.1.tlog b/Debug/Project2.tlog/link.command.1.tlog
new file mode 100644
index 0000000..7213be9
--- /dev/null
+++ b/Debug/Project2.tlog/link.command.1.tlog
Binary files differ
diff --git a/Debug/Project2.tlog/link.read.1.tlog b/Debug/Project2.tlog/link.read.1.tlog
new file mode 100644
index 0000000..f8cae96
--- /dev/null
+++ b/Debug/Project2.tlog/link.read.1.tlog
Binary files differ
diff --git a/Debug/Project2.tlog/link.write.1.tlog b/Debug/Project2.tlog/link.write.1.tlog
new file mode 100644
index 0000000..e3c387c
--- /dev/null
+++ b/Debug/Project2.tlog/link.write.1.tlog
Binary files differ
diff --git a/Debug/Project2.vcxproj.FileListAbsolute.txt b/Debug/Project2.vcxproj.FileListAbsolute.txt
new file mode 100644
index 0000000..ca03789
--- /dev/null
+++ b/Debug/Project2.vcxproj.FileListAbsolute.txt
@@ -0,0 +1,2 @@
+C:\Users\jakno\source\repos\CST116\Project2\Debug\Project2.exe
+C:\Users\jakno\Source\Repos\CST116\cst116proj2-1-jacob-k-and-austin-g\Debug\Project2.exe
diff --git a/Debug/vc142.idb b/Debug/vc142.idb
new file mode 100644
index 0000000..f0a4aa4
--- /dev/null
+++ b/Debug/vc142.idb
Binary files differ
diff --git a/Debug/vc142.pdb b/Debug/vc142.pdb
new file mode 100644
index 0000000..90d9008
--- /dev/null
+++ b/Debug/vc142.pdb
Binary files differ
diff --git a/KnoxFunctions.cpp b/KnoxFunctions.cpp
new file mode 100644
index 0000000..c006e32
--- /dev/null
+++ b/KnoxFunctions.cpp
@@ -0,0 +1,98 @@
+// functions for the project written by Jacob Knox
+
+#include "header.h"
+#include <string>
+#include <iostream>
+
+using namespace std;
+
+void DisplayMenu(int& choice)
+{
+ const string menu =
+ "\t\t\t--MENU--\n\n\
+\t 1. Is the value positive or negative\n\
+\t 2. Is the value odd or even\n\
+\t 3. How many digits does the value have\n\
+\t 4. See the digit at a specifed position\n\
+\t 5. Show additon table\n\
+\t 6. Show multiplication table\n\
+\t 7. Exit program\n\n";
+
+ cout << menu;
+ cout << "Input Menu Choice: ";
+
+ cin >> choice;
+}
+
+void ProcessMenuChocie(int chocie, int& value)
+{
+ int digits = 0;
+ switch (chocie)
+ {
+ case 1:
+ IsPosNeg(value);
+ break;
+ case 2:
+ case 3:
+ digits = FindNumDigits(value);
+ cout << value << " has " << digits << " digits.\n";
+ break;
+ case 4:
+ case 5:
+ DisplayAdditonTable();
+ break;
+ case 6:
+ case 7:
+ return;
+ default:
+ cout << "Unknown Menu Choice. Please input a number between 1 and 6";
+ return;
+ }
+}
+
+void IsPosNeg(int value)
+{
+ if (value == 0)
+ {
+ cout << value << " is not positive or negative.\n";
+ }
+ else if (value < 0)
+ {
+ cout << value << " is negative.\n";
+ }
+ else
+ {
+ cout << value << " is positve.\n";
+ }
+}
+
+int FindNumDigits(int value)
+{
+ int digits;
+ // truncated log of an int is the number of digits
+ digits = (int) log(value);
+ return digits;
+}
+
+void DisplayAdditonTable()
+{
+ cout << "The addition table for numbers 0-12:\n";
+ for (int i = 0; i <= 12; i++)
+ {
+ for (int j = 0; j <= 12; j++)
+ {
+ // if block makes it so numbers are spaced evenly
+ int sum = i + j;
+ if (sum >= 10)
+ {
+ cout << sum << " ";
+ }
+ else
+ {
+ cout << sum << " ";
+ }
+ }
+ cout << "\n";
+ }
+}
diff --git a/KnoxPseudoCode.txt b/KnoxPseudoCode.txt
new file mode 100644
index 0000000..27a62f8
--- /dev/null
+++ b/KnoxPseudoCode.txt
@@ -0,0 +1,25 @@
+pseudocode
+
+Displaymenu int& choice:
+ const string menu = string that contains the menu
+ output menu
+ input >> choice
+
+IsPosNeg int value:
+ if value == 0:
+ output neither
+ else if value < 0:
+ output negative
+ else:
+ output positive
+
+FindNumDigits int value:
+ int digits
+ digits = log(value)
+ output digits
+
+DisplayAdditionTable:
+ for i = 0; i <= 12; i++:
+ for j = 0; j <= 12 j++:
+ output i + j
+ output \n \ No newline at end of file
diff --git a/Project2.cpp b/Project2.cpp
new file mode 100644
index 0000000..80954a6
--- /dev/null
+++ b/Project2.cpp
@@ -0,0 +1,18 @@
+// Project2.cpp : This file contains the 'main' function. Program execution begins and ends there.
+// Written by Jacob Knox
+//
+
+#include <iostream>
+#include "header.h"
+
+using namespace std;
+
+int main()
+{
+ int num = 10, choice = 0;
+ while (choice != 7)
+ {
+ DisplayMenu(choice);
+ ProcessMenuChocie(choice, num);
+ }
+}
diff --git a/Project2.sln b/Project2.sln
new file mode 100644
index 0000000..7b51c01
--- /dev/null
+++ b/Project2.sln
@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.31729.503
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project2", "Project2.vcxproj", "{D021EE92-78BB-4481-A535-DD847C7881AE}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
+ Release|x64 = Release|x64
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D021EE92-78BB-4481-A535-DD847C7881AE}.Debug|x64.ActiveCfg = Debug|x64
+ {D021EE92-78BB-4481-A535-DD847C7881AE}.Debug|x64.Build.0 = Debug|x64
+ {D021EE92-78BB-4481-A535-DD847C7881AE}.Debug|x86.ActiveCfg = Debug|Win32
+ {D021EE92-78BB-4481-A535-DD847C7881AE}.Debug|x86.Build.0 = Debug|Win32
+ {D021EE92-78BB-4481-A535-DD847C7881AE}.Release|x64.ActiveCfg = Release|x64
+ {D021EE92-78BB-4481-A535-DD847C7881AE}.Release|x64.Build.0 = Release|x64
+ {D021EE92-78BB-4481-A535-DD847C7881AE}.Release|x86.ActiveCfg = Release|Win32
+ {D021EE92-78BB-4481-A535-DD847C7881AE}.Release|x86.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {E0D7CE13-0B4A-45EB-A4DC-0D37AC9AF524}
+ EndGlobalSection
+EndGlobal
diff --git a/Project2.vcxproj b/Project2.vcxproj
new file mode 100644
index 0000000..cbe73a5
--- /dev/null
+++ b/Project2.vcxproj
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <VCProjectVersion>16.0</VCProjectVersion>
+ <Keyword>Win32Proj</Keyword>
+ <ProjectGuid>{d021ee92-78bb-4481-a535-dd847c7881ae}</ProjectGuid>
+ <RootNamespace>Project2</RootNamespace>
+ <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v142</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v142</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v142</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v142</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="Shared">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <SDLCheck>true</SDLCheck>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <ConformanceMode>true</ConformanceMode>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <SDLCheck>true</SDLCheck>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <ConformanceMode>true</ConformanceMode>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <SDLCheck>true</SDLCheck>
+ <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <ConformanceMode>true</ConformanceMode>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <SDLCheck>true</SDLCheck>
+ <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <ConformanceMode>true</ConformanceMode>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="KnoxFunctions.cpp" />
+ <ClCompile Include="Project2.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="header.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project> \ No newline at end of file
diff --git a/Project2.vcxproj.filters b/Project2.vcxproj.filters
new file mode 100644
index 0000000..c7b7216
--- /dev/null
+++ b/Project2.vcxproj.filters
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="Project2.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="KnoxFunctions.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="header.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/Project2.vcxproj.user b/Project2.vcxproj.user
new file mode 100644
index 0000000..5df420f
--- /dev/null
+++ b/Project2.vcxproj.user
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <ShowAllFiles>false</ShowAllFiles>
+ </PropertyGroup>
+</Project> \ No newline at end of file
diff --git a/header.h b/header.h
new file mode 100644
index 0000000..fa85f25
--- /dev/null
+++ b/header.h
@@ -0,0 +1,13 @@
+//Header for various functions
+
+#pragma once
+
+//double GetData();
+void DisplayMenu(int& choice);
+void ProcessMenuChocie(int choice, int& value);
+void IsPosNeg(int value);
+//void IsOddEven(int value);
+int FindNumDigits(int value);
+//int FindDigitAtPosition(int value);
+void DisplayAdditonTable();
+//void DisplayMultipicationTable(); \ No newline at end of file