diff options
| author | austinlujan <[email protected]> | 2024-03-20 20:10:57 -0700 |
|---|---|---|
| committer | austinlujan <[email protected]> | 2024-03-20 20:10:57 -0700 |
| commit | 1147ba66743e8fa60247398c5477fecdf241fccd (patch) | |
| tree | 13338b6f4bd187560ac92941c617d04547e13a7a /Project1 | |
| parent | add deadline (diff) | |
| download | in-class-exercise-6-austinlujan-1147ba66743e8fa60247398c5477fecdf241fccd.tar.xz in-class-exercise-6-austinlujan-1147ba66743e8fa60247398c5477fecdf241fccd.zip | |
Diffstat (limited to 'Project1')
30 files changed, 275 insertions, 0 deletions
diff --git a/Project1/.vs/Project1/FileContentIndex/43e5db23-55c0-4b35-b3eb-05bc75372524.vsidx b/Project1/.vs/Project1/FileContentIndex/43e5db23-55c0-4b35-b3eb-05bc75372524.vsidx Binary files differnew file mode 100644 index 0000000..182035d --- /dev/null +++ b/Project1/.vs/Project1/FileContentIndex/43e5db23-55c0-4b35-b3eb-05bc75372524.vsidx diff --git a/Project1/.vs/Project1/FileContentIndex/5c75d00e-832d-4284-811f-32113daf2098.vsidx b/Project1/.vs/Project1/FileContentIndex/5c75d00e-832d-4284-811f-32113daf2098.vsidx Binary files differnew file mode 100644 index 0000000..a7d76f1 --- /dev/null +++ b/Project1/.vs/Project1/FileContentIndex/5c75d00e-832d-4284-811f-32113daf2098.vsidx diff --git a/Project1/.vs/Project1/FileContentIndex/91efa050-0792-480f-bb06-0048369979bf.vsidx b/Project1/.vs/Project1/FileContentIndex/91efa050-0792-480f-bb06-0048369979bf.vsidx Binary files differnew file mode 100644 index 0000000..057d684 --- /dev/null +++ b/Project1/.vs/Project1/FileContentIndex/91efa050-0792-480f-bb06-0048369979bf.vsidx diff --git a/Project1/.vs/Project1/FileContentIndex/f542e325-2c54-4d6c-94a3-842610990b4f.vsidx b/Project1/.vs/Project1/FileContentIndex/f542e325-2c54-4d6c-94a3-842610990b4f.vsidx Binary files differnew file mode 100644 index 0000000..3dd1f3e --- /dev/null +++ b/Project1/.vs/Project1/FileContentIndex/f542e325-2c54-4d6c-94a3-842610990b4f.vsidx diff --git a/Project1/.vs/Project1/v17/.suo b/Project1/.vs/Project1/v17/.suo Binary files differnew file mode 100644 index 0000000..3af0567 --- /dev/null +++ b/Project1/.vs/Project1/v17/.suo diff --git a/Project1/.vs/Project1/v17/Browse.VC.db b/Project1/.vs/Project1/v17/Browse.VC.db Binary files differnew file mode 100644 index 0000000..7b99820 --- /dev/null +++ b/Project1/.vs/Project1/v17/Browse.VC.db diff --git a/Project1/.vs/Project1/v17/ipch/AutoPCH/682ef4d3fc44eb71/PROGRAM.ipch b/Project1/.vs/Project1/v17/ipch/AutoPCH/682ef4d3fc44eb71/PROGRAM.ipch Binary files differnew file mode 100644 index 0000000..6dc3d24 --- /dev/null +++ b/Project1/.vs/Project1/v17/ipch/AutoPCH/682ef4d3fc44eb71/PROGRAM.ipch diff --git a/Project1/Project1.sln b/Project1/Project1.sln new file mode 100644 index 0000000..e58298e --- /dev/null +++ b/Project1/Project1.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34031.279 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project1", "Project1.vcxproj", "{78FBD79A-2F42-4C92-85C9-F84DCAE3E305}" +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 + {78FBD79A-2F42-4C92-85C9-F84DCAE3E305}.Debug|x64.ActiveCfg = Debug|x64 + {78FBD79A-2F42-4C92-85C9-F84DCAE3E305}.Debug|x64.Build.0 = Debug|x64 + {78FBD79A-2F42-4C92-85C9-F84DCAE3E305}.Debug|x86.ActiveCfg = Debug|Win32 + {78FBD79A-2F42-4C92-85C9-F84DCAE3E305}.Debug|x86.Build.0 = Debug|Win32 + {78FBD79A-2F42-4C92-85C9-F84DCAE3E305}.Release|x64.ActiveCfg = Release|x64 + {78FBD79A-2F42-4C92-85C9-F84DCAE3E305}.Release|x64.Build.0 = Release|x64 + {78FBD79A-2F42-4C92-85C9-F84DCAE3E305}.Release|x86.ActiveCfg = Release|Win32 + {78FBD79A-2F42-4C92-85C9-F84DCAE3E305}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1DE5CC3C-075B-46F3-B7B4-A851A9570FE5} + EndGlobalSection +EndGlobal diff --git a/Project1/Project1.vcxproj b/Project1/Project1.vcxproj new file mode 100644 index 0000000..18568a8 --- /dev/null +++ b/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>{78fbd79a-2f42-4c92-85c9-f84dcae3e305}</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> + <ClCompile Include="program.cpp" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="helpers.h" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/Project1/Project1.vcxproj.filters b/Project1/Project1.vcxproj.filters new file mode 100644 index 0000000..842acbf --- /dev/null +++ b/Project1/Project1.vcxproj.filters @@ -0,0 +1,27 @@ +<?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> + <ClInclude Include="helpers.h"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/Project1/Project1.vcxproj.user b/Project1/Project1.vcxproj.user new file mode 100644 index 0000000..88a5509 --- /dev/null +++ b/Project1/Project1.vcxproj.user @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup /> +</Project>
\ No newline at end of file diff --git a/Project1/helpers.h b/Project1/helpers.h new file mode 100644 index 0000000..69ea085 --- /dev/null +++ b/Project1/helpers.h @@ -0,0 +1,14 @@ +#ifndef MY_HEADER_FILE_H +#define MY_HEADER_FILE_H + +int math_func(); + +int math_func(int square); + +int math_func(int a, int b); + +int math_func(int A, int B, int C, int x = 2); + + + +#endif // !MY_HEADER_FILE_H diff --git a/Project1/program.cpp b/Project1/program.cpp new file mode 100644 index 0000000..477e05a --- /dev/null +++ b/Project1/program.cpp @@ -0,0 +1,44 @@ + + + +#include <iostream> + +#include "helpers.h" + + +int main() +{ + std::cout << math_func() << std::endl; + + std::cout << math_func(2) << std::endl; + + std::cout << math_func(2,4) << std::endl; + + std::cout << math_func(5, 7, 8) << std::endl; + + return 0; +} + +int math_func() +{ + + return 1; +} + +int math_func(int square) +{ + + return square * square; +} + +int math_func(int a, int b) +{ + + return a + b; +} + +int math_func(int A, int B, int C, int x) +{ + + return (A * x * x) - (B * x) + C; +}
\ No newline at end of file diff --git a/Project1/x64/Debug/Project1.exe b/Project1/x64/Debug/Project1.exe Binary files differnew file mode 100644 index 0000000..5a5d738 --- /dev/null +++ b/Project1/x64/Debug/Project1.exe diff --git a/Project1/x64/Debug/Project1.exe.recipe b/Project1/x64/Debug/Project1.exe.recipe new file mode 100644 index 0000000..cd7b273 --- /dev/null +++ b/Project1/x64/Debug/Project1.exe.recipe @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project> + <ProjectOutputs> + <ProjectOutput> + <FullPath>C:\Users\Administrator\Desktop\repos\in-class-exercise-6-austinlujan\Project1\x64\Debug\Project1.exe</FullPath> + </ProjectOutput> + </ProjectOutputs> + <ContentFiles /> + <SatelliteDlls /> + <NonRecipeFileRefs /> +</Project>
\ No newline at end of file diff --git a/Project1/x64/Debug/Project1.ilk b/Project1/x64/Debug/Project1.ilk Binary files differnew file mode 100644 index 0000000..8a5847c --- /dev/null +++ b/Project1/x64/Debug/Project1.ilk diff --git a/Project1/x64/Debug/Project1.log b/Project1/x64/Debug/Project1.log new file mode 100644 index 0000000..159aae8 --- /dev/null +++ b/Project1/x64/Debug/Project1.log @@ -0,0 +1,2 @@ + program.cpp + Project1.vcxproj -> C:\Users\Administrator\Desktop\repos\in-class-exercise-6-austinlujan\Project1\x64\Debug\Project1.exe diff --git a/Project1/x64/Debug/Project1.pdb b/Project1/x64/Debug/Project1.pdb Binary files differnew file mode 100644 index 0000000..8f18616 --- /dev/null +++ b/Project1/x64/Debug/Project1.pdb diff --git a/Project1/x64/Debug/Project1.tlog/CL.command.1.tlog b/Project1/x64/Debug/Project1.tlog/CL.command.1.tlog Binary files differnew file mode 100644 index 0000000..936b2f2 --- /dev/null +++ b/Project1/x64/Debug/Project1.tlog/CL.command.1.tlog diff --git a/Project1/x64/Debug/Project1.tlog/CL.read.1.tlog b/Project1/x64/Debug/Project1.tlog/CL.read.1.tlog Binary files differnew file mode 100644 index 0000000..90dab95 --- /dev/null +++ b/Project1/x64/Debug/Project1.tlog/CL.read.1.tlog diff --git a/Project1/x64/Debug/Project1.tlog/CL.write.1.tlog b/Project1/x64/Debug/Project1.tlog/CL.write.1.tlog Binary files differnew file mode 100644 index 0000000..0ca0356 --- /dev/null +++ b/Project1/x64/Debug/Project1.tlog/CL.write.1.tlog diff --git a/Project1/x64/Debug/Project1.tlog/Cl.items.tlog b/Project1/x64/Debug/Project1.tlog/Cl.items.tlog new file mode 100644 index 0000000..15b2cb5 --- /dev/null +++ b/Project1/x64/Debug/Project1.tlog/Cl.items.tlog @@ -0,0 +1 @@ +C:\Users\Administrator\Desktop\repos\in-class-exercise-6-austinlujan\Project1\program.cpp;C:\Users\Administrator\Desktop\repos\in-class-exercise-6-austinlujan\Project1\x64\Debug\program.obj diff --git a/Project1/x64/Debug/Project1.tlog/Project1.lastbuildstate b/Project1/x64/Debug/Project1.tlog/Project1.lastbuildstate new file mode 100644 index 0000000..88cf499 --- /dev/null +++ b/Project1/x64/Debug/Project1.tlog/Project1.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: +Debug|x64|C:\Users\Administrator\Desktop\repos\in-class-exercise-6-austinlujan\Project1\| diff --git a/Project1/x64/Debug/Project1.tlog/link.command.1.tlog b/Project1/x64/Debug/Project1.tlog/link.command.1.tlog Binary files differnew file mode 100644 index 0000000..9a46ebe --- /dev/null +++ b/Project1/x64/Debug/Project1.tlog/link.command.1.tlog diff --git a/Project1/x64/Debug/Project1.tlog/link.read.1.tlog b/Project1/x64/Debug/Project1.tlog/link.read.1.tlog Binary files differnew file mode 100644 index 0000000..92fd226 --- /dev/null +++ b/Project1/x64/Debug/Project1.tlog/link.read.1.tlog diff --git a/Project1/x64/Debug/Project1.tlog/link.write.1.tlog b/Project1/x64/Debug/Project1.tlog/link.write.1.tlog Binary files differnew file mode 100644 index 0000000..59cc274 --- /dev/null +++ b/Project1/x64/Debug/Project1.tlog/link.write.1.tlog diff --git a/Project1/x64/Debug/Project1.vcxproj.FileListAbsolute.txt b/Project1/x64/Debug/Project1.vcxproj.FileListAbsolute.txt new file mode 100644 index 0000000..39b903a --- /dev/null +++ b/Project1/x64/Debug/Project1.vcxproj.FileListAbsolute.txt @@ -0,0 +1 @@ +C:\Users\Administrator\Desktop\repos\in-class-exercise-6-austinlujan\Project1\x64\Debug\Project1.exe diff --git a/Project1/x64/Debug/program.obj b/Project1/x64/Debug/program.obj Binary files differnew file mode 100644 index 0000000..fd55492 --- /dev/null +++ b/Project1/x64/Debug/program.obj diff --git a/Project1/x64/Debug/vc143.idb b/Project1/x64/Debug/vc143.idb Binary files differnew file mode 100644 index 0000000..b052b32 --- /dev/null +++ b/Project1/x64/Debug/vc143.idb diff --git a/Project1/x64/Debug/vc143.pdb b/Project1/x64/Debug/vc143.pdb Binary files differnew file mode 100644 index 0000000..e406ad8 --- /dev/null +++ b/Project1/x64/Debug/vc143.pdb |