commit 404d1b7b5da379eae70ec1edfb6cdac41ac7ff88 Author: Liam Cain Date: Tue Aug 20 17:22:06 2024 +0100 Initial Commit diff --git a/.vs/HelloWorld/project-colors.json b/.vs/HelloWorld/project-colors.json new file mode 100644 index 0000000..a8b6e39 --- /dev/null +++ b/.vs/HelloWorld/project-colors.json @@ -0,0 +1,11 @@ +{ + "Version": 1, + "ProjectMap": { + "7c46a97f-6038-4746-918c-644f081873f5": { + "ProjectGuid": "7c46a97f-6038-4746-918c-644f081873f5", + "DisplayName": "HelloWorld", + "ColorIndex": 0 + } + }, + "NextColorIndex": 1 +} \ No newline at end of file diff --git a/.vs/HelloWorld/v17/.suo b/.vs/HelloWorld/v17/.suo new file mode 100644 index 0000000..498e01e Binary files /dev/null and b/.vs/HelloWorld/v17/.suo differ diff --git a/.vs/HelloWorld/v17/Browse.VC.db b/.vs/HelloWorld/v17/Browse.VC.db new file mode 100644 index 0000000..2ceeb03 Binary files /dev/null and b/.vs/HelloWorld/v17/Browse.VC.db differ diff --git a/.vs/HelloWorld/v17/ipch/AutoPCH/15a13c49da54ba/MAIN.ipch b/.vs/HelloWorld/v17/ipch/AutoPCH/15a13c49da54ba/MAIN.ipch new file mode 100644 index 0000000..cb036af Binary files /dev/null and b/.vs/HelloWorld/v17/ipch/AutoPCH/15a13c49da54ba/MAIN.ipch differ diff --git a/HelloWorld.sln b/HelloWorld.sln new file mode 100644 index 0000000..ed24dd8 --- /dev/null +++ b/HelloWorld.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31912.275 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloWorld", "HelloWorld\HelloWorld.vcxproj", "{7C46A97F-6038-4746-918C-644F081873F5}" +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 + {7C46A97F-6038-4746-918C-644F081873F5}.Debug|x64.ActiveCfg = Debug|x64 + {7C46A97F-6038-4746-918C-644F081873F5}.Debug|x64.Build.0 = Debug|x64 + {7C46A97F-6038-4746-918C-644F081873F5}.Debug|x86.ActiveCfg = Debug|Win32 + {7C46A97F-6038-4746-918C-644F081873F5}.Debug|x86.Build.0 = Debug|Win32 + {7C46A97F-6038-4746-918C-644F081873F5}.Release|x64.ActiveCfg = Release|x64 + {7C46A97F-6038-4746-918C-644F081873F5}.Release|x64.Build.0 = Release|x64 + {7C46A97F-6038-4746-918C-644F081873F5}.Release|x86.ActiveCfg = Release|Win32 + {7C46A97F-6038-4746-918C-644F081873F5}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {58C1FB2A-C4A7-4830-AA7C-42EB81BE2FDF} + EndGlobalSection +EndGlobal diff --git a/HelloWorld/HelloWorld.vcxproj b/HelloWorld/HelloWorld.vcxproj new file mode 100644 index 0000000..8c8f7b6 --- /dev/null +++ b/HelloWorld/HelloWorld.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {7c46a97f-6038-4746-918c-644f081873f5} + HelloWorld + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + 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/HelloWorld/HelloWorld.vcxproj.filters b/HelloWorld/HelloWorld.vcxproj.filters new file mode 100644 index 0000000..ce0c35c --- /dev/null +++ b/HelloWorld/HelloWorld.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/HelloWorld/HelloWorld.vcxproj.user b/HelloWorld/HelloWorld.vcxproj.user new file mode 100644 index 0000000..88a5509 --- /dev/null +++ b/HelloWorld/HelloWorld.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/HelloWorld/main.cpp b/HelloWorld/main.cpp new file mode 100644 index 0000000..172f992 --- /dev/null +++ b/HelloWorld/main.cpp @@ -0,0 +1,97 @@ +#include +#include +using namespace std; + + +// Mini Project 1 +/* + Prompt for 3 numbers (doubles) + Print out after each number + Find the mean of the 3 numbers + Print that as 'Average is {result}' +*/ + +//int main() +//{ +// double input1 = 0, input2 = 0, input3 = 0; +// +// cout << "Enter a real number: " << endl; +// cin >> input1; +// +// cout << "Enter a second real number: " << endl; +// cin >> input2; +// +// cout << "Enter a final real number: " << endl; +// cin >> input3; +// +// double result = (input1 + input2 + input3) / 3; +// cout << "Average is " << result << endl; +// +// return 0; +//} + +// Mini Project 2 + +int main() +{ + string inputs[11]; + + cout << "Enter an Adjective: " << endl; + getline(cin, inputs[0]); + + cout << "Enter a girl's name: " << endl; + getline(cin, inputs[1]); + + cout << "Enter another Adjective: " << endl; + getline(cin, inputs[2]); + + cout << "Enter an Occupation: " << endl; + getline(cin, inputs[3]); + + cout << "Enter a Place Name: " << endl; + getline(cin, inputs[4]); + + cout << "Enter an item of clothing: " << endl; + getline(cin, inputs[5]); + + cout << "Enter a hobby: " << endl; + getline(cin, inputs[6]); + + cout << "Enter another Adjective: " << endl; + getline(cin, inputs[7]); + + cout << "Enter another Occupation: " << endl; + getline(cin, inputs[8]); + + cout << "Enter A Boy's Name: " << endl; + getline(cin, inputs[9]); + + cout << "Enter a Man's Name: " << endl; + getline(cin, inputs[10]); + + cout << "There once was a " + << inputs[0] + << " girl named " + << inputs[1] + << " who was a " + << inputs[2] + << " " + << inputs[3] + << " in the Kingdom of " + << inputs[4] + << ". She loved to wear " + << inputs[5] + << " and " + << inputs[6] + << ". She wanted to marry the " + << inputs[7] + << " " + << inputs[8] + << " named " + << inputs[9] + << " but her father, King " + << inputs[10] + << " forbid her from seeing him."; + + return 0; +} \ No newline at end of file diff --git a/HelloWorld/x64/Debug/HelloWorld.exe.recipe b/HelloWorld/x64/Debug/HelloWorld.exe.recipe new file mode 100644 index 0000000..a4b5b60 --- /dev/null +++ b/HelloWorld/x64/Debug/HelloWorld.exe.recipe @@ -0,0 +1,11 @@ + + + + + C:\Dev\C++\HelloWorld\x64\Debug\HelloWorld.exe + + + + + + \ No newline at end of file diff --git a/HelloWorld/x64/Debug/HelloWorld.ilk b/HelloWorld/x64/Debug/HelloWorld.ilk new file mode 100644 index 0000000..b650314 Binary files /dev/null and b/HelloWorld/x64/Debug/HelloWorld.ilk differ diff --git a/HelloWorld/x64/Debug/HelloWorld.log b/HelloWorld/x64/Debug/HelloWorld.log new file mode 100644 index 0000000..a79cc93 --- /dev/null +++ b/HelloWorld/x64/Debug/HelloWorld.log @@ -0,0 +1,2 @@ + main.cpp + HelloWorld.vcxproj -> C:\Dev\C++\HelloWorld\x64\Debug\HelloWorld.exe diff --git a/HelloWorld/x64/Debug/HelloWorld.tlog/CL.command.1.tlog b/HelloWorld/x64/Debug/HelloWorld.tlog/CL.command.1.tlog new file mode 100644 index 0000000..3b9c287 Binary files /dev/null and b/HelloWorld/x64/Debug/HelloWorld.tlog/CL.command.1.tlog differ diff --git a/HelloWorld/x64/Debug/HelloWorld.tlog/CL.read.1.tlog b/HelloWorld/x64/Debug/HelloWorld.tlog/CL.read.1.tlog new file mode 100644 index 0000000..abefbcf Binary files /dev/null and b/HelloWorld/x64/Debug/HelloWorld.tlog/CL.read.1.tlog differ diff --git a/HelloWorld/x64/Debug/HelloWorld.tlog/CL.write.1.tlog b/HelloWorld/x64/Debug/HelloWorld.tlog/CL.write.1.tlog new file mode 100644 index 0000000..4519fd3 Binary files /dev/null and b/HelloWorld/x64/Debug/HelloWorld.tlog/CL.write.1.tlog differ diff --git a/HelloWorld/x64/Debug/HelloWorld.tlog/HelloWorld.lastbuildstate b/HelloWorld/x64/Debug/HelloWorld.tlog/HelloWorld.lastbuildstate new file mode 100644 index 0000000..697f7c5 --- /dev/null +++ b/HelloWorld/x64/Debug/HelloWorld.tlog/HelloWorld.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.30.30705:TargetPlatformVersion=10.0.19041.0: +Debug|x64|C:\Dev\C++\HelloWorld\| diff --git a/HelloWorld/x64/Debug/HelloWorld.tlog/link.command.1.tlog b/HelloWorld/x64/Debug/HelloWorld.tlog/link.command.1.tlog new file mode 100644 index 0000000..5ef672a Binary files /dev/null and b/HelloWorld/x64/Debug/HelloWorld.tlog/link.command.1.tlog differ diff --git a/HelloWorld/x64/Debug/HelloWorld.tlog/link.read.1.tlog b/HelloWorld/x64/Debug/HelloWorld.tlog/link.read.1.tlog new file mode 100644 index 0000000..db04ce9 Binary files /dev/null and b/HelloWorld/x64/Debug/HelloWorld.tlog/link.read.1.tlog differ diff --git a/HelloWorld/x64/Debug/HelloWorld.tlog/link.write.1.tlog b/HelloWorld/x64/Debug/HelloWorld.tlog/link.write.1.tlog new file mode 100644 index 0000000..9b3f037 Binary files /dev/null and b/HelloWorld/x64/Debug/HelloWorld.tlog/link.write.1.tlog differ diff --git a/HelloWorld/x64/Debug/main.obj b/HelloWorld/x64/Debug/main.obj new file mode 100644 index 0000000..76424d3 Binary files /dev/null and b/HelloWorld/x64/Debug/main.obj differ diff --git a/HelloWorld/x64/Debug/vc143.idb b/HelloWorld/x64/Debug/vc143.idb new file mode 100644 index 0000000..e12c0d1 Binary files /dev/null and b/HelloWorld/x64/Debug/vc143.idb differ diff --git a/HelloWorld/x64/Debug/vc143.pdb b/HelloWorld/x64/Debug/vc143.pdb new file mode 100644 index 0000000..2b7cbd9 Binary files /dev/null and b/HelloWorld/x64/Debug/vc143.pdb differ diff --git a/x64/Debug/HelloWorld.exe b/x64/Debug/HelloWorld.exe new file mode 100644 index 0000000..bbc6b24 Binary files /dev/null and b/x64/Debug/HelloWorld.exe differ diff --git a/x64/Debug/HelloWorld.pdb b/x64/Debug/HelloWorld.pdb new file mode 100644 index 0000000..4c7456a Binary files /dev/null and b/x64/Debug/HelloWorld.pdb differ