diff options
| author | Chanin Timbal <[email protected]> | 2024-06-01 11:49:52 -0700 |
|---|---|---|
| committer | Chanin Timbal <[email protected]> | 2024-06-01 11:49:52 -0700 |
| commit | ee299e40737932350f6b4b48a7380e2645089d45 (patch) | |
| tree | c33e828baa1951790771f05b051e912452302a5b | |
| parent | Merge branch 'develop' of https://github.com/OIT-WI-2024/homework-1-chaninnoh... (diff) | |
| download | homework-1-chaninnohea-ee299e40737932350f6b4b48a7380e2645089d45.tar.xz homework-1-chaninnohea-ee299e40737932350f6b4b48a7380e2645089d45.zip | |
attempting rebuild
| -rw-r--r-- | CST 126/Homework 1/header.h | 2 | ||||
| -rw-r--r-- | CST 126/Homework 1/main.cpp | 57 | ||||
| -rw-r--r-- | CST 126/Homework 2/Base64Converter.hpp | 25 | ||||
| -rw-r--r-- | CST 126/Homework 2/Homework2/Homework2.sln | 31 | ||||
| -rw-r--r-- | CST 126/Homework 2/Homework2/Homework2.vcxproj | 145 | ||||
| -rw-r--r-- | CST 126/Homework 2/Homework2/Homework2.vcxproj.filters | 40 | ||||
| -rw-r--r-- | CST 126/Homework 2/Homework2/program.cpp | 70 | ||||
| -rw-r--r-- | CST 126/Homework 2/helpers.hpp | 88 | ||||
| -rw-r--r-- | CST 126/In-class/bitwise_operators.cpp | 35 | ||||
| -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 | ||||
| -rw-r--r-- | CST 126/Unit_Tests/NodeUnitTests.cpp.cpp (renamed from CST 126/Homework 3/Homework 3/NodeUnitTests.cpp.cpp) | 0 | ||||
| -rw-r--r-- | CST 126/Unit_Tests/crt_check_memory.hpp (renamed from CST 126/Homework 3/Homework 3/crt_check_memory.hpp) | 0 |
14 files changed, 206 insertions, 442 deletions
diff --git a/CST 126/Homework 1/header.h b/CST 126/Homework 1/header.h index d923392..929fbca 100644 --- a/CST 126/Homework 1/header.h +++ b/CST 126/Homework 1/header.h @@ -159,4 +159,4 @@ void guessing_game(char again) } 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 new file mode 100644 index 0000000..690c255 --- /dev/null +++ b/CST 126/Homework 1/main.cpp @@ -0,0 +1,57 @@ +// Name: Chanin Timbal +// Class: CST 126 +// Date: 04/08/2024 +// Assignment: Homework 1 + +#include "header.h" + +//Main to run the program +int main() +{ + int option = 0; + char again = 'Y'; + cout << "Welcome! Please choose an option: \n"; + display_options(); + cin >> option; + cin.ignore(100, '\n'); + + while (option != 0) + { + if (option == 1) + { + run_conversion(again); + } + + else if (option == 2) + { + guessing_game(again); + } + + 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\n"; +} diff --git a/CST 126/Homework 2/Base64Converter.hpp b/CST 126/Homework 2/Base64Converter.hpp new file mode 100644 index 0000000..36e55e4 --- /dev/null +++ b/CST 126/Homework 2/Base64Converter.hpp @@ -0,0 +1,25 @@ +#ifndef BASE64_CONVERTER_HPP +#define BASE64_CONVERTER_HPP + +char characterMap[] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', +'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', +'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', +'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', +'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '/', '+'}; + + + +inline char* Base64Encode(char* buffer, size_t& size) +{ + + + + + + + + + +} + +#endif
\ No newline at end of file diff --git a/CST 126/Homework 2/Homework2/Homework2.sln b/CST 126/Homework 2/Homework2/Homework2.sln deleted file mode 100644 index 487680b..0000000 --- a/CST 126/Homework 2/Homework2/Homework2.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.9.34723.18 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Homework2", "Homework2.vcxproj", "{D98B5865-9F6A-4BB6-8443-3C88F9825603}" -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 - {D98B5865-9F6A-4BB6-8443-3C88F9825603}.Debug|x64.ActiveCfg = Debug|x64 - {D98B5865-9F6A-4BB6-8443-3C88F9825603}.Debug|x64.Build.0 = Debug|x64 - {D98B5865-9F6A-4BB6-8443-3C88F9825603}.Debug|x86.ActiveCfg = Debug|Win32 - {D98B5865-9F6A-4BB6-8443-3C88F9825603}.Debug|x86.Build.0 = Debug|Win32 - {D98B5865-9F6A-4BB6-8443-3C88F9825603}.Release|x64.ActiveCfg = Release|x64 - {D98B5865-9F6A-4BB6-8443-3C88F9825603}.Release|x64.Build.0 = Release|x64 - {D98B5865-9F6A-4BB6-8443-3C88F9825603}.Release|x86.ActiveCfg = Release|Win32 - {D98B5865-9F6A-4BB6-8443-3C88F9825603}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {1A5DF82F-23DD-44E7-A5EB-9BCB8146727A} - EndGlobalSection -EndGlobal diff --git a/CST 126/Homework 2/Homework2/Homework2.vcxproj b/CST 126/Homework 2/Homework2/Homework2.vcxproj deleted file mode 100644 index 6ecd492..0000000 --- a/CST 126/Homework 2/Homework2/Homework2.vcxproj +++ /dev/null @@ -1,145 +0,0 @@ -<?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>{d98b5865-9f6a-4bb6-8443-3c88f9825603}</ProjectGuid> - <RootNamespace>Homework2</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> - <ClCompile Include="program.cpp" /> - </ItemGroup> - <ItemGroup> - <None Include="..\..\..\..\FindingPi.exe" /> - </ItemGroup> - <ItemGroup> - <Text Include="destination_file.txt" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="Base64Converter.hpp" /> - <ClInclude Include="helpers.hpp" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project>
\ No newline at end of file diff --git a/CST 126/Homework 2/Homework2/Homework2.vcxproj.filters b/CST 126/Homework 2/Homework2/Homework2.vcxproj.filters deleted file mode 100644 index f608380..0000000 --- a/CST 126/Homework 2/Homework2/Homework2.vcxproj.filters +++ /dev/null @@ -1,40 +0,0 @@ -<?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="program.cpp"> - <Filter>Source Files</Filter> - </ClCompile> - </ItemGroup> - <ItemGroup> - <None Include="..\..\..\..\FindingPi.exe"> - <Filter>Source Files</Filter> - </None> - </ItemGroup> - <ItemGroup> - <Text Include="destination_file.txt"> - <Filter>Source Files</Filter> - </Text> - </ItemGroup> - <ItemGroup> - <ClInclude Include="helpers.hpp"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="Base64Converter.hpp"> - <Filter>Header Files</Filter> - </ClInclude> - </ItemGroup> -</Project>
\ No newline at end of file diff --git a/CST 126/Homework 2/Homework2/program.cpp b/CST 126/Homework 2/Homework2/program.cpp deleted file mode 100644 index 158a2be..0000000 --- a/CST 126/Homework 2/Homework2/program.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Chanin Timbal -//Homework 2 -//27 April 2024 - -#include <iostream> - -#include "helpers.hpp" -#include "Base64Converter.hpp" - -constexpr short ARG_COUNT = 4; - -bool Worker(); -bool Worker(char** argv); - - - -int main(const int argc, char* argv[]) -{ - if (argc == ARG_COUNT) - { - //run the command line version - Worker(argv); - } - return Worker(); -} - -bool Worker() -{ -} - -bool Worker(char** argv) -{ - const char* arg1 = argv[1]; //-e -d - const char* arg2 = argv[2]; //source file name - const char* arg3 = argv[3]; //destination file name - - const char option = arg1[1]; //e or d - - switch (option) - { - case 'e': - //file reading binary - char* buffer = new char[1]; - - buffer = ReadFileAsBinary(arg2, buffer); - //endcoding work - - bool success = WriteTextToFile(arg3, buffer); - - delete[] buffer; - - return success; - case 'd': - //file reading text - //decoding work - //file writing binary - return true; - default: - std::cerr << "Invalid command option\n" << - "Valid commands:\n" << - "\t-e source_file.exe destination_file.exe" << - "\t\tEncodes file in source into text in destination txt file." << - "\t-d source_file.txt destination file.exe" << - "\t\tDecodes text in source file into the destination file.\n\n"; - return false; - } - - - return false; -}
\ No newline at end of file diff --git a/CST 126/Homework 2/helpers.hpp b/CST 126/Homework 2/helpers.hpp new file mode 100644 index 0000000..e448cc9 --- /dev/null +++ b/CST 126/Homework 2/helpers.hpp @@ -0,0 +1,88 @@ +#ifndef HELPERS_HPP +#define HELPERS_HPP + + +//file reading things +inline char* ReadTextFromFile(const char* fileName, char* buffer) +{ + return buffer; +} + +inline char* ReadFileAsBinary(const char* fileName, char* buffer, size_t& size) +{ + try + { + //open the fstream in input mode, with binary mode + std::fstream file(fileName, std::ios::in | std::ios::binary); + + if (!file.is.open()) + { + std::cerr << "Could not open file for binary input: " << fileName; + return buffer; + } + + file.seekg(0, std::ios::end); + + std::streamsize size = file.tellg(); + + file.seekg(0, std::ios::beg); + + delete[] buffer; + + buffer = nullptr; + + //size the buffer with a new + buffer = new char[size]; + + file.read(buffer, size); + + file.close(); + + return buffer; + } + catch (const std::exception& ex) + { + std::cerr << "Exception during binary file input: " << fileName << "was not successfully streamed to binary"; + ex.what() + return buffer; + } +} + +//file writing things +inline bool WriteTextToFile(const char* fileName, const char* fileContents) +{ + std::ostream file(fileName); + + if (!file.is_open()) + { + std::cerr << "Could not open file: " << fileName; + return false; + } + + file << fileContents; + + file.close(); + + return false; +} + +inline bool WriteFileFromBinary(const char* fileName, const char* buffer) +{ + return false; +} + + + + + + + + + + + + + + + +#endif
\ No newline at end of file diff --git a/CST 126/In-class/bitwise_operators.cpp b/CST 126/In-class/bitwise_operators.cpp new file mode 100644 index 0000000..65bb509 --- /dev/null +++ b/CST 126/In-class/bitwise_operators.cpp @@ -0,0 +1,35 @@ +//Bitwise Operators +#include <bitset> +#include <iostream> +#include <iomanip> + +using std::cout; +using std::cin; +using std::endl; +using std::bitset; + +int main(const int argc, char* argv[]) +{ + + int num = 0xABCD; + int mask = 0xFFF0; + int result = num & mask; + + bitset<16> binary_num(0x03); + bitset<16> binary_mask(0x03); + bitset<16> binary_result(0x03); + + cout << "Hex:\n"; + cout << "num = " << "0x" << std::hex << std::uppercase << std::setfill('0') << std::setw(4) << num << endl; + cout << "mask = " << "0x" << std::hex << std::uppercase << std::setfill('0') << std::setw(4) << num << endl; + cout << "result = " << "0x" << std::hex << std::uppercase << std::setfill('0') << std::setw(4) << num << endl; + + + cout << "Binary:\n"; + cout << binary_num << endl; + cout << binary_mask << endl; + cout << binary_result << endl; + + + return true; +}
\ No newline at end of file diff --git a/CST 126/Project1/Project1.vcxproj b/CST 126/Project1/Project1.vcxproj deleted file mode 100644 index a560751..0000000 --- a/CST 126/Project1/Project1.vcxproj +++ /dev/null @@ -1,138 +0,0 @@ -<?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 deleted file mode 100644 index a8a6563..0000000 --- a/CST 126/Project1/Project1.vcxproj.filters +++ /dev/null @@ -1,17 +0,0 @@ -<?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 deleted file mode 100644 index e69de29..0000000 --- a/CST 126/Project1/Source.cpp +++ /dev/null diff --git a/CST 126/Homework 3/Homework 3/NodeUnitTests.cpp.cpp b/CST 126/Unit_Tests/NodeUnitTests.cpp.cpp index cefe395..cefe395 100644 --- a/CST 126/Homework 3/Homework 3/NodeUnitTests.cpp.cpp +++ b/CST 126/Unit_Tests/NodeUnitTests.cpp.cpp diff --git a/CST 126/Homework 3/Homework 3/crt_check_memory.hpp b/CST 126/Unit_Tests/crt_check_memory.hpp index 9cb4ab2..9cb4ab2 100644 --- a/CST 126/Homework 3/Homework 3/crt_check_memory.hpp +++ b/CST 126/Unit_Tests/crt_check_memory.hpp |