diff options
| author | Chanin Timbal <[email protected]> | 2024-06-01 11:55:26 -0700 |
|---|---|---|
| committer | Chanin Timbal <[email protected]> | 2024-06-01 11:55:26 -0700 |
| commit | e57173d536465fe12cea8a605d7b0d0e4f02bbf1 (patch) | |
| tree | 3d00ca12b96b7c62c80d4914bc9b71e3192ff7d3 | |
| parent | attempting rebuild (diff) | |
| download | homework-1-chaninnohea-e57173d536465fe12cea8a605d7b0d0e4f02bbf1.tar.xz homework-1-chaninnohea-e57173d536465fe12cea8a605d7b0d0e4f02bbf1.zip | |
trying to fix!
| -rw-r--r-- | CST 126/CST_126.sln | 39 | ||||
| -rw-r--r-- | CST 126/Homework 2/Homework2/Base64Converter.hpp | 25 | ||||
| -rw-r--r-- | CST 126/Homework 2/helpers.hpp | 88 | ||||
| -rw-r--r-- | CST 126/Homework_2/Base64Converter.hpp (renamed from CST 126/Homework 2/Base64Converter.hpp) | 0 | ||||
| -rw-r--r-- | CST 126/Homework_2/FindingPi.exe (renamed from CST 126/Homework 2/Homework2/FindingPi.exe) | bin | 3496762 -> 3496762 bytes | |||
| -rw-r--r-- | CST 126/Homework_2/Homework_2.vcxproj | 142 | ||||
| -rw-r--r-- | CST 126/Homework_2/Homework_2.vcxproj.filters | 35 | ||||
| -rw-r--r-- | CST 126/Homework_2/destination_file.txt (renamed from CST 126/Homework 2/Homework2/destination_file.txt) | 0 | ||||
| -rw-r--r-- | CST 126/Homework_2/helpers.hpp (renamed from CST 126/Homework 2/Homework2/helpers.hpp) | 0 | ||||
| -rw-r--r-- | CST 126/Homework_3/Homework_3.vcxproj | 136 | ||||
| -rw-r--r-- | CST 126/Homework_3/Homework_3.vcxproj.filters | 25 | ||||
| -rw-r--r-- | CST 126/Homework_3/linked_list_nodes.hpp (renamed from CST 126/Homework 3/Homework 3/linked_list_nodes.hpp) | 0 | ||||
| -rw-r--r-- | CST 126/Homework_3/node.hpp (renamed from CST 126/Homework 3/Homework 3/node.hpp) | 0 | ||||
| -rw-r--r-- | CST 126/UnitTests/NodeUnitTests.cpp (renamed from CST 126/Unit_Tests/NodeUnitTests.cpp.cpp) | 0 | ||||
| -rw-r--r-- | CST 126/UnitTests/UnitTests.cpp | 16 | ||||
| -rw-r--r-- | CST 126/UnitTests/UnitTests.vcxproj | 175 | ||||
| -rw-r--r-- | CST 126/UnitTests/UnitTests.vcxproj.filters | 36 | ||||
| -rw-r--r-- | CST 126/UnitTests/crt_check_memory.hpp (renamed from CST 126/Unit_Tests/crt_check_memory.hpp) | 0 | ||||
| -rw-r--r-- | CST 126/UnitTests/pch.cpp | 5 | ||||
| -rw-r--r-- | CST 126/UnitTests/pch.h | 12 |
20 files changed, 612 insertions, 122 deletions
diff --git a/CST 126/CST_126.sln b/CST 126/CST_126.sln index fe04bb4..9dea01f 100644 --- a/CST 126/CST_126.sln +++ b/CST 126/CST_126.sln @@ -5,7 +5,11 @@ VisualStudioVersion = 17.7.34031.279 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Homework 1", "Homework 1\Homework 1.vcxproj", "{63480B39-FB46-498B-A592-F4EAAF597F78}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "In-Class", "In-Class\In-Class.vcxproj", "{4447AFE1-22A8-48A1-BF74-2191012CBD74}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Homework_2", "Homework_2\Homework_2.vcxproj", "{B4079F93-9F2B-440C-AB0D-7774AB0A8635}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Homework_3", "Homework_3\Homework_3.vcxproj", "{5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UnitTests", "UnitTests\UnitTests.vcxproj", "{B7312D2D-6842-4E8B-90BB-477022B77347}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -16,20 +20,37 @@ Global EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {63480B39-FB46-498B-A592-F4EAAF597F78}.Debug|x64.ActiveCfg = Debug|x64 + {63480B39-FB46-498B-A592-F4EAAF597F78}.Debug|x64.Build.0 = Debug|x64 {63480B39-FB46-498B-A592-F4EAAF597F78}.Debug|x86.ActiveCfg = Debug|Win32 {63480B39-FB46-498B-A592-F4EAAF597F78}.Debug|x86.Build.0 = Debug|Win32 {63480B39-FB46-498B-A592-F4EAAF597F78}.Release|x64.ActiveCfg = Release|x64 {63480B39-FB46-498B-A592-F4EAAF597F78}.Release|x64.Build.0 = Release|x64 {63480B39-FB46-498B-A592-F4EAAF597F78}.Release|x86.ActiveCfg = Release|Win32 {63480B39-FB46-498B-A592-F4EAAF597F78}.Release|x86.Build.0 = Release|Win32 - {4447AFE1-22A8-48A1-BF74-2191012CBD74}.Debug|x64.ActiveCfg = Debug|x64 - {4447AFE1-22A8-48A1-BF74-2191012CBD74}.Debug|x64.Build.0 = Debug|x64 - {4447AFE1-22A8-48A1-BF74-2191012CBD74}.Debug|x86.ActiveCfg = Debug|Win32 - {4447AFE1-22A8-48A1-BF74-2191012CBD74}.Debug|x86.Build.0 = Debug|Win32 - {4447AFE1-22A8-48A1-BF74-2191012CBD74}.Release|x64.ActiveCfg = Release|x64 - {4447AFE1-22A8-48A1-BF74-2191012CBD74}.Release|x64.Build.0 = Release|x64 - {4447AFE1-22A8-48A1-BF74-2191012CBD74}.Release|x86.ActiveCfg = Release|Win32 - {4447AFE1-22A8-48A1-BF74-2191012CBD74}.Release|x86.Build.0 = Release|Win32 + {B4079F93-9F2B-440C-AB0D-7774AB0A8635}.Debug|x64.ActiveCfg = Debug|x64 + {B4079F93-9F2B-440C-AB0D-7774AB0A8635}.Debug|x64.Build.0 = Debug|x64 + {B4079F93-9F2B-440C-AB0D-7774AB0A8635}.Debug|x86.ActiveCfg = Debug|Win32 + {B4079F93-9F2B-440C-AB0D-7774AB0A8635}.Debug|x86.Build.0 = Debug|Win32 + {B4079F93-9F2B-440C-AB0D-7774AB0A8635}.Release|x64.ActiveCfg = Release|x64 + {B4079F93-9F2B-440C-AB0D-7774AB0A8635}.Release|x64.Build.0 = Release|x64 + {B4079F93-9F2B-440C-AB0D-7774AB0A8635}.Release|x86.ActiveCfg = Release|Win32 + {B4079F93-9F2B-440C-AB0D-7774AB0A8635}.Release|x86.Build.0 = Release|Win32 + {5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}.Debug|x64.ActiveCfg = Debug|x64 + {5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}.Debug|x64.Build.0 = Debug|x64 + {5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}.Debug|x86.ActiveCfg = Debug|Win32 + {5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}.Debug|x86.Build.0 = Debug|Win32 + {5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}.Release|x64.ActiveCfg = Release|x64 + {5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}.Release|x64.Build.0 = Release|x64 + {5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}.Release|x86.ActiveCfg = Release|Win32 + {5738C8A2-2FA6-4F57-9D5A-61DF6CAEA555}.Release|x86.Build.0 = Release|Win32 + {B7312D2D-6842-4E8B-90BB-477022B77347}.Debug|x64.ActiveCfg = Debug|x64 + {B7312D2D-6842-4E8B-90BB-477022B77347}.Debug|x64.Build.0 = Debug|x64 + {B7312D2D-6842-4E8B-90BB-477022B77347}.Debug|x86.ActiveCfg = Debug|Win32 + {B7312D2D-6842-4E8B-90BB-477022B77347}.Debug|x86.Build.0 = Debug|Win32 + {B7312D2D-6842-4E8B-90BB-477022B77347}.Release|x64.ActiveCfg = Release|x64 + {B7312D2D-6842-4E8B-90BB-477022B77347}.Release|x64.Build.0 = Release|x64 + {B7312D2D-6842-4E8B-90BB-477022B77347}.Release|x86.ActiveCfg = Release|Win32 + {B7312D2D-6842-4E8B-90BB-477022B77347}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/CST 126/Homework 2/Homework2/Base64Converter.hpp b/CST 126/Homework 2/Homework2/Base64Converter.hpp deleted file mode 100644 index 36e55e4..0000000 --- a/CST 126/Homework 2/Homework2/Base64Converter.hpp +++ /dev/null @@ -1,25 +0,0 @@ -#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/helpers.hpp b/CST 126/Homework 2/helpers.hpp deleted file mode 100644 index e448cc9..0000000 --- a/CST 126/Homework 2/helpers.hpp +++ /dev/null @@ -1,88 +0,0 @@ -#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/Homework 2/Base64Converter.hpp b/CST 126/Homework_2/Base64Converter.hpp index 36e55e4..36e55e4 100644 --- a/CST 126/Homework 2/Base64Converter.hpp +++ b/CST 126/Homework_2/Base64Converter.hpp diff --git a/CST 126/Homework 2/Homework2/FindingPi.exe b/CST 126/Homework_2/FindingPi.exe Binary files differindex 4b128d3..4b128d3 100644 --- a/CST 126/Homework 2/Homework2/FindingPi.exe +++ b/CST 126/Homework_2/FindingPi.exe diff --git a/CST 126/Homework_2/Homework_2.vcxproj b/CST 126/Homework_2/Homework_2.vcxproj new file mode 100644 index 0000000..85f5a4d --- /dev/null +++ b/CST 126/Homework_2/Homework_2.vcxproj @@ -0,0 +1,142 @@ +<?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>{b4079f93-9f2b-440c-ab0d-7774ab0a8635}</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> + <ClInclude Include="Base64Converter.hpp" /> + <ClInclude Include="helpers.hpp" /> + </ItemGroup> + <ItemGroup> + <Text Include="destination_file.txt" /> + </ItemGroup> + <ItemGroup> + <None Include="FindingPi.exe" /> + </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/Homework_2.vcxproj.filters b/CST 126/Homework_2/Homework_2.vcxproj.filters new file mode 100644 index 0000000..7f35e06 --- /dev/null +++ b/CST 126/Homework_2/Homework_2.vcxproj.filters @@ -0,0 +1,35 @@ +<?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> + <ClInclude Include="Base64Converter.hpp"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="helpers.hpp"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <Text Include="destination_file.txt"> + <Filter>Source Files</Filter> + </Text> + </ItemGroup> + <ItemGroup> + <None Include="FindingPi.exe"> + <Filter>Source Files</Filter> + </None> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/CST 126/Homework 2/Homework2/destination_file.txt b/CST 126/Homework_2/destination_file.txt index e69de29..e69de29 100644 --- a/CST 126/Homework 2/Homework2/destination_file.txt +++ b/CST 126/Homework_2/destination_file.txt diff --git a/CST 126/Homework 2/Homework2/helpers.hpp b/CST 126/Homework_2/helpers.hpp index e448cc9..e448cc9 100644 --- a/CST 126/Homework 2/Homework2/helpers.hpp +++ b/CST 126/Homework_2/helpers.hpp diff --git a/CST 126/Homework_3/Homework_3.vcxproj b/CST 126/Homework_3/Homework_3.vcxproj new file mode 100644 index 0000000..5edcf5c --- /dev/null +++ b/CST 126/Homework_3/Homework_3.vcxproj @@ -0,0 +1,136 @@ +<?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>{5738c8a2-2fa6-4f57-9d5a-61df6caea555}</ProjectGuid> + <RootNamespace>Homework3</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> + <ClInclude Include="linked_list_nodes.hpp" /> + <ClInclude Include="node.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_3/Homework_3.vcxproj.filters b/CST 126/Homework_3/Homework_3.vcxproj.filters new file mode 100644 index 0000000..0f7b42e --- /dev/null +++ b/CST 126/Homework_3/Homework_3.vcxproj.filters @@ -0,0 +1,25 @@ +<?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> + <ClInclude Include="linked_list_nodes.hpp"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="node.hpp"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/CST 126/Homework 3/Homework 3/linked_list_nodes.hpp b/CST 126/Homework_3/linked_list_nodes.hpp index a3122c7..a3122c7 100644 --- a/CST 126/Homework 3/Homework 3/linked_list_nodes.hpp +++ b/CST 126/Homework_3/linked_list_nodes.hpp diff --git a/CST 126/Homework 3/Homework 3/node.hpp b/CST 126/Homework_3/node.hpp index 32894c8..32894c8 100644 --- a/CST 126/Homework 3/Homework 3/node.hpp +++ b/CST 126/Homework_3/node.hpp diff --git a/CST 126/Unit_Tests/NodeUnitTests.cpp.cpp b/CST 126/UnitTests/NodeUnitTests.cpp index cefe395..cefe395 100644 --- a/CST 126/Unit_Tests/NodeUnitTests.cpp.cpp +++ b/CST 126/UnitTests/NodeUnitTests.cpp diff --git a/CST 126/UnitTests/UnitTests.cpp b/CST 126/UnitTests/UnitTests.cpp new file mode 100644 index 0000000..0908160 --- /dev/null +++ b/CST 126/UnitTests/UnitTests.cpp @@ -0,0 +1,16 @@ +#include "pch.h" +#include "CppUnitTest.h" + +using namespace Microsoft::VisualStudio::CppUnitTestFramework; + +namespace UnitTests +{ + TEST_CLASS(UnitTests) + { + public: + + TEST_METHOD(TestMethod1) + { + } + }; +} diff --git a/CST 126/UnitTests/UnitTests.vcxproj b/CST 126/UnitTests/UnitTests.vcxproj new file mode 100644 index 0000000..e76d443 --- /dev/null +++ b/CST 126/UnitTests/UnitTests.vcxproj @@ -0,0 +1,175 @@ +<?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> + <ProjectGuid>{B7312D2D-6842-4E8B-90BB-477022B77347}</ProjectGuid> + <Keyword>Win32Proj</Keyword> + <RootNamespace>UnitTests</RootNamespace> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> + <ProjectSubType>NativeUnitTestProject</ProjectSubType> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v143</PlatformToolset> + <CharacterSet>Unicode</CharacterSet> + <UseOfMfc>false</UseOfMfc> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v143</PlatformToolset> + <WholeProgramOptimization>true</WholeProgramOptimization> + <CharacterSet>Unicode</CharacterSet> + <UseOfMfc>false</UseOfMfc> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v143</PlatformToolset> + <CharacterSet>Unicode</CharacterSet> + <UseOfMfc>false</UseOfMfc> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v143</PlatformToolset> + <WholeProgramOptimization>true</WholeProgramOptimization> + <CharacterSet>Unicode</CharacterSet> + <UseOfMfc>false</UseOfMfc> + </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|x64'"> + <LinkIncremental>true</LinkIncremental> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <LinkIncremental>true</LinkIncremental> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <LinkIncremental>false</LinkIncremental> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <LinkIncremental>false</LinkIncremental> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <ClCompile> + <PrecompiledHeader>Use</PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <SDLCheck>true</SDLCheck> + <AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <UseFullPaths>true</UseFullPaths> + <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <PrecompiledHeader>Use</PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <SDLCheck>true</SDLCheck> + <AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <UseFullPaths>true</UseFullPaths> + <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <PrecompiledHeader>Use</PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <FunctionLevelLinking>true</FunctionLevelLinking> + <IntrinsicFunctions>true</IntrinsicFunctions> + <SDLCheck>true</SDLCheck> + <AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <UseFullPaths>true</UseFullPaths> + <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + <AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <ClCompile> + <PrecompiledHeader>Use</PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <FunctionLevelLinking>true</FunctionLevelLinking> + <IntrinsicFunctions>true</IntrinsicFunctions> + <SDLCheck>true</SDLCheck> + <AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <UseFullPaths>true</UseFullPaths> + <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + <AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="NodeUnitTests.cpp" /> + <ClCompile Include="pch.cpp"> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader> + </ClCompile> + <ClCompile Include="UnitTests.cpp" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="crt_check_memory.hpp" /> + <ClInclude Include="pch.h" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/CST 126/UnitTests/UnitTests.vcxproj.filters b/CST 126/UnitTests/UnitTests.vcxproj.filters new file mode 100644 index 0000000..317d8de --- /dev/null +++ b/CST 126/UnitTests/UnitTests.vcxproj.filters @@ -0,0 +1,36 @@ +<?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="UnitTests.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="pch.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="NodeUnitTests.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="pch.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="crt_check_memory.hpp"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/CST 126/Unit_Tests/crt_check_memory.hpp b/CST 126/UnitTests/crt_check_memory.hpp index 9cb4ab2..9cb4ab2 100644 --- a/CST 126/Unit_Tests/crt_check_memory.hpp +++ b/CST 126/UnitTests/crt_check_memory.hpp diff --git a/CST 126/UnitTests/pch.cpp b/CST 126/UnitTests/pch.cpp new file mode 100644 index 0000000..64b7eef --- /dev/null +++ b/CST 126/UnitTests/pch.cpp @@ -0,0 +1,5 @@ +// pch.cpp: source file corresponding to the pre-compiled header + +#include "pch.h" + +// When you are using pre-compiled headers, this source file is necessary for compilation to succeed. diff --git a/CST 126/UnitTests/pch.h b/CST 126/UnitTests/pch.h new file mode 100644 index 0000000..9d715b0 --- /dev/null +++ b/CST 126/UnitTests/pch.h @@ -0,0 +1,12 @@ +// pch.h: This is a precompiled header file. +// Files listed below are compiled only once, improving build performance for future builds. +// This also affects IntelliSense performance, including code completion and many code browsing features. +// However, files listed here are ALL re-compiled if any one of them is updated between builds. +// Do not add files here that you will be updating frequently as this negates the performance advantage. + +#ifndef PCH_H +#define PCH_H + +// add headers that you want to pre-compile here + +#endif //PCH_H |