diff options
| -rw-r--r-- | CST 126/Homework 1/Homework 1.vcxproj | 3 | ||||
| -rw-r--r-- | CST 126/Homework 1/Homework 1.vcxproj.filters | 5 | ||||
| -rw-r--r-- | CST 126/Homework 1/conversion.cpp | 108 | ||||
| -rw-r--r-- | CST 126/Homework 1/header.h | 162 | ||||
| -rw-r--r-- | CST 126/Homework 1/main.cpp | 178 | ||||
| -rw-r--r-- | CST 126/Homework 3/Homework 3/NodeUnitTests.cpp.cpp | 24 | ||||
| -rw-r--r-- | CST 126/Homework 3/Homework 3/crt_check_memory.hpp | 40 | ||||
| -rw-r--r-- | CST 126/Homework 3/Homework 3/linked_list_nodes.hpp | 24 | ||||
| -rw-r--r-- | CST 126/Homework 3/Homework 3/node.hpp | 50 | ||||
| -rw-r--r-- | CST 126/Project1/Project1.vcxproj | 138 | ||||
| -rw-r--r-- | CST 126/Project1/Project1.vcxproj.filters | 17 | ||||
| -rw-r--r-- | CST 126/Project1/Source.cpp | 0 |
12 files changed, 571 insertions, 178 deletions
diff --git a/CST 126/Homework 1/Homework 1.vcxproj b/CST 126/Homework 1/Homework 1.vcxproj index 0a4f788..ab0c65f 100644 --- a/CST 126/Homework 1/Homework 1.vcxproj +++ b/CST 126/Homework 1/Homework 1.vcxproj @@ -129,6 +129,9 @@ <ItemGroup> <ClCompile Include="main.cpp" /> </ItemGroup> + <ItemGroup> + <ClInclude Include="header.h" /> + </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> diff --git a/CST 126/Homework 1/Homework 1.vcxproj.filters b/CST 126/Homework 1/Homework 1.vcxproj.filters index ce0c35c..fbbb25d 100644 --- a/CST 126/Homework 1/Homework 1.vcxproj.filters +++ b/CST 126/Homework 1/Homework 1.vcxproj.filters @@ -19,4 +19,9 @@ <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/CST 126/Homework 1/conversion.cpp b/CST 126/Homework 1/conversion.cpp new file mode 100644 index 0000000..f31d50d --- /dev/null +++ b/CST 126/Homework 1/conversion.cpp @@ -0,0 +1,108 @@ +//#include "header.h" +// +////Loop to run the conversion while the user wants to +//void run_conversion(char again) +//{ +// while (toupper(again) != 'N') +// { +// float input_choice = 0; +// float output_choice = 0; +// float conversion = 0.0; +// float amount = 0.0; +// +// cout << "Choose your input currency: "; +// currency_menu(); +// cin >> input_choice; +// cin.ignore(100, '\n'); +// cout << "\nchoose your output currency: "; +// cin >> output_choice; +// cin.ignore(100, '\n'); +// cout << "\nWhat is the amount you would like to convert: "; +// cin >> amount; +// cin.ignore(100, '\n'); +// conversion = convert(input_choice, output_choice, amount); +// cout << "In the new currency, that amount is " << conversion << std::endl; +// cout << "\nDo you want to use the conversion tool again? (Y/N): "; +// cin >> again; +// cin.ignore(100, '\n'); +// if (toupper(again) != 'Y') +// { +// cout << "Thank you for using the currency conversion tool! \n"; +// } +// } +//} +// +////Conversion Calculator +//float convert(float input, float output, float amount) +//{ +// float converted_amount = 0.0; +// struct currencies +// { +// const float GBP = 0.80; +// const float Euro = 0.94; +// const float Yen = 152.22; +// const float AUD = 1.55; +// const float USD = 1; +// }; +// +// currencies currency; +// +// if (input == output) +// { +// return amount; +// } +// if (input == 1) +// { +// input = currency.GBP; +// } +// else if (input == 2) +// { +// input = currency.Euro; +// } +// else if (input == 3) +// { +// input = currency.Yen; +// } +// else if (input == 4) +// { +// input = currency.AUD; +// } +// else if (input == 5) +// { +// input = currency.USD; +// } +// +// if (output == 1) +// { +// output = currency.GBP; +// } +// else if (output == 2) +// { +// output = currency.Euro; +// } +// else if (output == 3) +// { +// output = currency.Yen; +// } +// else if (output == 4) +// { +// output = currency.AUD; +// } +// else if (output == 5) +// { +// output = currency.USD; +// } +// +// converted_amount = output / input * amount; +// return converted_amount; +//} +// +////Menu display +//void currency_menu() +//{ +// cout << "\n\n1. GBP\n"; +// cout << "2. Euro\n"; +// cout << "3. Yen\n"; +// cout << "4. AUD\n"; +// cout << "5. USD\n\n"; +//}
\ No newline at end of file diff --git a/CST 126/Homework 1/header.h b/CST 126/Homework 1/header.h new file mode 100644 index 0000000..d923392 --- /dev/null +++ b/CST 126/Homework 1/header.h @@ -0,0 +1,162 @@ +#include <iostream> +#include <cctype> +#include <cstring> +#include <random> +using std::cout; +using std::cin; +using std::endl; + +//Protoypes +void display_options(); +float convert(float input, float output, float amount); +void run_conversion(char again); +void currency_menu(); +void guessing_game(char again); + +//Loop to run the conversion while the user wants to +void run_conversion(char again) +{ + while (toupper(again) != 'N') + { + float input_choice = 0; + float output_choice = 0; + float conversion = 0.0; + float amount = 0.0; + + cout << "Choose your input currency: "; + currency_menu(); + cin >> input_choice; + cin.ignore(100, '\n'); + cout << "\nchoose your output currency: "; + cin >> output_choice; + cin.ignore(100, '\n'); + cout << "\nWhat is the amount you would like to convert: "; + cin >> amount; + cin.ignore(100, '\n'); + conversion = convert(input_choice, output_choice, amount); + cout << "In the new currency, that amount is " << conversion << std::endl; + cout << "\nDo you want to use the conversion tool again? (Y/N): "; + cin >> again; + cin.ignore(100, '\n'); + if (toupper(again) != 'Y') + { + cout << "Thank you for using the currency conversion tool! \n\n"; + } + } +} + +//Conversion Calculator +float convert(float input, float output, float amount) +{ + float converted_amount = 0.0; + struct currencies + { + const float GBP = 0.80; + const float Euro = 0.94; + const float Yen = 152.22; + const float AUD = 1.55; + const float USD = 1; + }; + + currencies currency; + + if (input == output) + { + return amount; + } + if (input == 1) + { + input = currency.GBP; + } + else if (input == 2) + { + input = currency.Euro; + } + else if (input == 3) + { + input = currency.Yen; + } + else if (input == 4) + { + input = currency.AUD; + } + else if (input == 5) + { + input = currency.USD; + } + + if (output == 1) + { + output = currency.GBP; + } + else if (output == 2) + { + output = currency.Euro; + } + else if (output == 3) + { + output = currency.Yen; + } + else if (output == 4) + { + output = currency.AUD; + } + else if (output == 5) + { + output = currency.USD; + } + + converted_amount = output / input * amount; + return converted_amount; +} + +//Menu display +void currency_menu() +{ + cout << "\n\n1. GBP\n"; + cout << "2. Euro\n"; + cout << "3. Yen\n"; + cout << "4. AUD\n"; + cout << "5. USD\n\n"; +} + +//guessing game function +void guessing_game(char again) +{ + std::random_device dev; + std::mt19937 rng(dev()); + std::uniform_int_distribution<std::mt19937::result_type> dist6(1, 10000); + + int random_number = dist6(rng); + int user_guess = 0; + int guess_counter = 1; + + cout << "Welcome to the Guessing Game!" << endl; + cout << "I have selected a number between 1 and 10000, you have 20 tries to guess it!" << endl; + cout << "" << endl; + + cout << "hint: " << random_number << endl; + cout << "Enter your guess: "; + cin >> user_guess; + cin.ignore(100, '\n'); + + while (user_guess != random_number && guess_counter != 20) + { + if (user_guess > random_number) + { + cout << "Lower!"; + cout << "Tries left: " << (20 - guess_counter); + } + else + { + cout << "Higher!"; + cout << "Tries left: " << (20 - guess_counter); + } + guess_counter++; + cout << "Enter your guess: "; + cin >> user_guess; + cin.ignore(100, '\n'); + } + + cout << "You got it!\n" << endl; +}
\ No newline at end of file diff --git a/CST 126/Homework 1/main.cpp b/CST 126/Homework 1/main.cpp deleted file mode 100644 index a82ca3b..0000000 --- a/CST 126/Homework 1/main.cpp +++ /dev/null @@ -1,178 +0,0 @@ -// Name: Chanin Timbal -// Class: CST 126 -// Date: 04/08/2024 -// Assignment: Homework -// This program converts an amount from one chosen currency into another - -#include <iostream> -#include <cctype> -#include <cstring> -using std::cout; -using std::cin; - -//Protoypes -void display_options(); -float convert(float input, float output, float amount); -void run_conversion(char again); -void currency_menu(); - -//Main to run the program -int main() -{ - int option = 0; - - cout << "Welcome! Please choose an option: \n"; - display_options(); - cin >> option; - cin.ignore(100, '\n'); - - while (option != 0) - { - if (option == 1) - { - char again = 'Y'; - run_conversion(again); - cin >> again; - cin.ignore(100,'\n'); - } - - else if (option == 2) - { - - } - - else if (option == 3) - { - - } - else - { - cout << "That is not one of the options!"; - display_options(); - cin >> option; - cin.ignore(100, '\n'); - } - - display_options(); - cin >> option; - cin.ignore(100, '\n'); - } - - return 0; -} - -//menu options -void display_options() -{ - cout << "1. Currency Converter\n"; - cout << "2. Guessing Game\n"; - cout << "3. Temperature Logger\n"; - cout << "0. Quit\n"; -} - -//Conversion Calculator -float convert(float input, float output, float amount) -{ - float converted_amount = 0.0; - struct currencies - { - const float GBP = 0.80; - const float Euro = 0.94; - const float Yen = 152.22; - const float AUD = 1.55; - const float USD = 1; - }; - - currencies currency; - - if (input == output) - { - return amount; - } - if (input == 1) - { - input = currency.GBP; - } - else if (input == 2) - { - input = currency.Euro; - } - else if (input == 3) - { - input = currency.Yen; - } - else if (input == 4) - { - input = currency.AUD; - } - else if (input == 5) - { - input = currency.USD; - } - - if (output == 1) - { - output = currency.GBP; - } - else if (output == 2) - { - output = currency.Euro; - } - else if (output == 3) - { - output = currency.Yen; - } - else if (output == 4) - { - output = currency.AUD; - } - else if (output == 5) - { - output = currency.USD; - } - - converted_amount = output / input * amount; - return converted_amount; -} - -//Loop to run the conversion while the user wants to -void run_conversion(char again) -{ - while (toupper(again) != 'N') - { - int input_choice = 0; - int output_choice = 0; - float conversion = 0.0; - float amount = 0.0; - - cout << "Choose your input currency: "; - currency_menu(); - cin >> input_choice; - cin.ignore(100, '\n'); - cout << "\nchoose your output currency: "; - cin >> output_choice; - cin.ignore(100, '\n'); - cout << "\nWhat is the amount you would like to convert: "; - cin >> amount; - cin.ignore(100, '\n'); - conversion = convert(input_choice, output_choice, amount); - cout << "In the new currency, that amount is " << conversion << std::endl; - cout << "\nDo you want to use the conversion tool again? (Y/N): "; - cin >> again; - cin.ignore(100, '\n'); - if (toupper(again) != 'Y') - { - cout << "Thank you for using the currency conversion tool! \n"; - } - } -} - -//Menu display -void currency_menu() -{ - cout << "\n\n1. GBP\n"; - cout << "2. Euro\n"; - cout << "3. Yen\n"; - cout << "4. AUD\n"; - cout << "5. USD\n\n"; -}
\ No newline at end of file diff --git a/CST 126/Homework 3/Homework 3/NodeUnitTests.cpp.cpp b/CST 126/Homework 3/Homework 3/NodeUnitTests.cpp.cpp new file mode 100644 index 0000000..cefe395 --- /dev/null +++ b/CST 126/Homework 3/Homework 3/NodeUnitTests.cpp.cpp @@ -0,0 +1,24 @@ +#include "pcd.h" +#include "CppUnitTest.h"" + +using namespace Microsoft::VisualStudio::CppUnitTestFramework; + +#include "node.hpp" +#include "crt_check_memory.hpp" + +using namespace CST126; + +namespace LinkedListUnitTests +{ + TEST_CLASS(NodeUnitTests) + { + public: + + TEST_METHOD(NodeEmptyConstructor_Success) + { + //Arrange + Node<int>* newNode = new Node<int>() + + } + }; +}
\ No newline at end of file diff --git a/CST 126/Homework 3/Homework 3/crt_check_memory.hpp b/CST 126/Homework 3/Homework 3/crt_check_memory.hpp new file mode 100644 index 0000000..9cb4ab2 --- /dev/null +++ b/CST 126/Homework 3/Homework 3/crt_check_memory.hpp @@ -0,0 +1,40 @@ +#ifndef CRTCHECKMEMORY_H +#define CRTCHECKMEMORY_H + +#include "pch.h" +#include "CppUnitTest.h" +#include "crtdbg.h" + +#define _CRTDBG_MAP_ALLOC + +using namespace Microsoft::VisualStudio::CppUnitTestFramework; + +namespace LinkedListUnitTests +{ + struct CrtCheckMemory + { + _CrtMemState state1{}; + _CrtMemState state2{}; + _CrtMemState state3{}; + CrtCheckMemory() + { + _CrtMemCheckpoint(&state1); + } + + CrtCheckMemory(const CrtCheckMemory& copy) = delete; + CrtCheckMemory& operator=(const CrtCheckMemory& copy) = delete; + CrtCheckMemory(CrtCheckMemory&& copy) = delete; + CrtCheckMemory& operator=(CrtCheckMemory&& copy) = delete; + + ~CrtCheckMemory() + { + _CrtMemCheckpoint(&state2); + + if (_CrtMemDifference(&state3, &state1, &state2) != 0) + { + Assert::Fail(L"Detected memory leaks!"); + } + } + }; +} +#endif
\ No newline at end of file diff --git a/CST 126/Homework 3/Homework 3/linked_list_nodes.hpp b/CST 126/Homework 3/Homework 3/linked_list_nodes.hpp new file mode 100644 index 0000000..a3122c7 --- /dev/null +++ b/CST 126/Homework 3/Homework 3/linked_list_nodes.hpp @@ -0,0 +1,24 @@ +#ifndef LINKED_LIST_NODE_HPP +#define LINKED_LIST_NODE_HPP + +#include "node.hpp" + +namespace CST126 +{ + template <typename T> + class singly_linked_node : Node<t> + { + protected: + singly_linked_node<T>* _next{ nullptr }; + + }; + + template <typename T> + class doubly_linked_node final : singly_linked_node<T> + { + protected: + doubly_linked_node<T>* _prev{ nullptr }; + }; +} + +#endif
\ No newline at end of file diff --git a/CST 126/Homework 3/Homework 3/node.hpp b/CST 126/Homework 3/Homework 3/node.hpp new file mode 100644 index 0000000..32894c8 --- /dev/null +++ b/CST 126/Homework 3/Homework 3/node.hpp @@ -0,0 +1,50 @@ +#ifndef NODE_HPP +#define NODE_HPP + +namespace CST126 { + + template<typename T> + class Node + { + public: + Node() = default; + Node(const T& data); + + ~Node() = default; + + T& Data(); + T Data() const; + void Data(const T& data); + + + + private: + T _data{}; + }; + + template<typename T> + Node<T>::Node(const T& data) : _data(data) {}; + + + template<typename T> + void Node<T>::Data(const T& data) + { + _data = data; + } + + template<typename T> + T& Node<T>::Data() + { + return _data; + } + + template<typename T> + T& Node<T>::Data(const T& data) + { + _data = data;; + } +} + + + +#endif
\ No newline at end of file diff --git a/CST 126/Project1/Project1.vcxproj b/CST 126/Project1/Project1.vcxproj new file mode 100644 index 0000000..a560751 --- /dev/null +++ b/CST 126/Project1/Project1.vcxproj @@ -0,0 +1,138 @@ +<?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>17.0</VCProjectVersion> + <Keyword>Win32Proj</Keyword> + <ProjectGuid>{a754f826-edd9-434d-9836-7a4c804fa6a1}</ProjectGuid> + <RootNamespace>Project1</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>v143</PlatformToolset> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v143</PlatformToolset> + <WholeProgramOptimization>true</WholeProgramOptimization> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v143</PlatformToolset> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v143</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" /> + + <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></ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project> diff --git a/CST 126/Project1/Project1.vcxproj.filters b/CST 126/Project1/Project1.vcxproj.filters new file mode 100644 index 0000000..a8a6563 --- /dev/null +++ b/CST 126/Project1/Project1.vcxproj.filters @@ -0,0 +1,17 @@ +<?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> +</Project>
\ No newline at end of file diff --git a/CST 126/Project1/Source.cpp b/CST 126/Project1/Source.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/CST 126/Project1/Source.cpp |