From 940d0a5a7c500bd37a9b488c134df60be1e95cad Mon Sep 17 00:00:00 2001 From: Griffinwizard <87544008+AmaranthHazel@users.noreply.github.com> Date: Sat, 2 Oct 2021 12:26:18 -0700 Subject: Module 1 Lab 1 Finished --- 3.10_4/3.10_4.cpp | 10 +++ 3.10_4/3.10_4.sln | 31 +++++++++ 3.10_4/3.10_4.vcxproj | 147 ++++++++++++++++++++++++++++++++++++++++++ 3.10_4/3.10_4.vcxproj.filters | 22 +++++++ 3.10_4Run.png | Bin 0 -> 14812 bytes 3.10_5/3.10_5.cpp | 20 ++++++ 3.10_5/3.10_5.sln | 31 +++++++++ 3.10_5/3.10_5.vcxproj | 147 ++++++++++++++++++++++++++++++++++++++++++ 3.10_5/3.10_5.vcxproj.filters | 22 +++++++ 3.10_5Run.png | Bin 0 -> 13286 bytes Pseudocode2a.txt | 7 ++ 11 files changed, 437 insertions(+) create mode 100644 3.10_4/3.10_4.cpp create mode 100644 3.10_4/3.10_4.sln create mode 100644 3.10_4/3.10_4.vcxproj create mode 100644 3.10_4/3.10_4.vcxproj.filters create mode 100644 3.10_4Run.png create mode 100644 3.10_5/3.10_5.cpp create mode 100644 3.10_5/3.10_5.sln create mode 100644 3.10_5/3.10_5.vcxproj create mode 100644 3.10_5/3.10_5.vcxproj.filters create mode 100644 3.10_5Run.png create mode 100644 Pseudocode2a.txt diff --git a/3.10_4/3.10_4.cpp b/3.10_4/3.10_4.cpp new file mode 100644 index 0000000..70a4479 --- /dev/null +++ b/3.10_4/3.10_4.cpp @@ -0,0 +1,10 @@ +#include + +int main() +{ + std::cout << "Modified version of original C program" + << " ( by Kernighan & Ritchie)\n"; + std::cout << "Hello World!"; + + return 0; +} \ No newline at end of file diff --git a/3.10_4/3.10_4.sln b/3.10_4/3.10_4.sln new file mode 100644 index 0000000..eef12eb --- /dev/null +++ b/3.10_4/3.10_4.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31702.278 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "3.10_4", "3.10_4.vcxproj", "{D46A9607-66B0-4C8D-944C-F47163147652}" +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 + {D46A9607-66B0-4C8D-944C-F47163147652}.Debug|x64.ActiveCfg = Debug|x64 + {D46A9607-66B0-4C8D-944C-F47163147652}.Debug|x64.Build.0 = Debug|x64 + {D46A9607-66B0-4C8D-944C-F47163147652}.Debug|x86.ActiveCfg = Debug|Win32 + {D46A9607-66B0-4C8D-944C-F47163147652}.Debug|x86.Build.0 = Debug|Win32 + {D46A9607-66B0-4C8D-944C-F47163147652}.Release|x64.ActiveCfg = Release|x64 + {D46A9607-66B0-4C8D-944C-F47163147652}.Release|x64.Build.0 = Release|x64 + {D46A9607-66B0-4C8D-944C-F47163147652}.Release|x86.ActiveCfg = Release|Win32 + {D46A9607-66B0-4C8D-944C-F47163147652}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BE9DCD1D-1F2C-4C90-B017-8C79B44E8FF1} + EndGlobalSection +EndGlobal diff --git a/3.10_4/3.10_4.vcxproj b/3.10_4/3.10_4.vcxproj new file mode 100644 index 0000000..f469084 --- /dev/null +++ b/3.10_4/3.10_4.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {d46a9607-66b0-4c8d-944c-f47163147652} + My3104 + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/3.10_4/3.10_4.vcxproj.filters b/3.10_4/3.10_4.vcxproj.filters new file mode 100644 index 0000000..dd8678f --- /dev/null +++ b/3.10_4/3.10_4.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + \ No newline at end of file diff --git a/3.10_4Run.png b/3.10_4Run.png new file mode 100644 index 0000000..3db1e2b Binary files /dev/null and b/3.10_4Run.png differ diff --git a/3.10_5/3.10_5.cpp b/3.10_5/3.10_5.cpp new file mode 100644 index 0000000..c73f58b --- /dev/null +++ b/3.10_5/3.10_5.cpp @@ -0,0 +1,20 @@ +// 3.10_5.cpp : This file contains the 'main' function. Program execution begins and ends there. +// + +#include + +int main() +{ + std::cout << "Jacob, age 18"; +} + +// Run program: Ctrl + F5 or Debug > Start Without Debugging menu +// Debug program: F5 or Debug > Start Debugging menu + +// Tips for Getting Started: +// 1. Use the Solution Explorer window to add/manage files +// 2. Use the Team Explorer window to connect to source control +// 3. Use the Output window to see build output and other messages +// 4. Use the Error List window to view errors +// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project +// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file diff --git a/3.10_5/3.10_5.sln b/3.10_5/3.10_5.sln new file mode 100644 index 0000000..1198a2b --- /dev/null +++ b/3.10_5/3.10_5.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31702.278 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "3.10_5", "3.10_5.vcxproj", "{29E9E0E6-7727-4FCE-8E3D-ADA102D51439}" +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 + {29E9E0E6-7727-4FCE-8E3D-ADA102D51439}.Debug|x64.ActiveCfg = Debug|x64 + {29E9E0E6-7727-4FCE-8E3D-ADA102D51439}.Debug|x64.Build.0 = Debug|x64 + {29E9E0E6-7727-4FCE-8E3D-ADA102D51439}.Debug|x86.ActiveCfg = Debug|Win32 + {29E9E0E6-7727-4FCE-8E3D-ADA102D51439}.Debug|x86.Build.0 = Debug|Win32 + {29E9E0E6-7727-4FCE-8E3D-ADA102D51439}.Release|x64.ActiveCfg = Release|x64 + {29E9E0E6-7727-4FCE-8E3D-ADA102D51439}.Release|x64.Build.0 = Release|x64 + {29E9E0E6-7727-4FCE-8E3D-ADA102D51439}.Release|x86.ActiveCfg = Release|Win32 + {29E9E0E6-7727-4FCE-8E3D-ADA102D51439}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4AACA265-BC50-482D-AB3C-F842B8A8BC53} + EndGlobalSection +EndGlobal diff --git a/3.10_5/3.10_5.vcxproj b/3.10_5/3.10_5.vcxproj new file mode 100644 index 0000000..9658d2b --- /dev/null +++ b/3.10_5/3.10_5.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {29e9e0e6-7727-4fce-8e3d-ada102d51439} + My3105 + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/3.10_5/3.10_5.vcxproj.filters b/3.10_5/3.10_5.vcxproj.filters new file mode 100644 index 0000000..f6d1fc0 --- /dev/null +++ b/3.10_5/3.10_5.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + \ No newline at end of file diff --git a/3.10_5Run.png b/3.10_5Run.png new file mode 100644 index 0000000..8b3dc7b Binary files /dev/null and b/3.10_5Run.png differ diff --git a/Pseudocode2a.txt b/Pseudocode2a.txt new file mode 100644 index 0000000..c34c3f1 --- /dev/null +++ b/Pseudocode2a.txt @@ -0,0 +1,7 @@ +Pseudocode +output "input a radius" +get input radius +r = radius +pi = 3.1416 +a = pi * r * r +output a \ No newline at end of file -- cgit v1.2.3