diff --git a/Challenge 1/Challenge 1.sdf b/Challenge 1/Challenge 1.sdf new file mode 100644 index 0000000..dad805a Binary files /dev/null and b/Challenge 1/Challenge 1.sdf differ diff --git a/Challenge 1/Challenge 1.sln b/Challenge 1/Challenge 1.sln new file mode 100644 index 0000000..992eef3 --- /dev/null +++ b/Challenge 1/Challenge 1.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Challenge 1", "Challenge 1\Challenge 1.vcxproj", "{3AB45076-B5C2-4F28-A649-B4AF0DA76F06}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3AB45076-B5C2-4F28-A649-B4AF0DA76F06}.Debug|Win32.ActiveCfg = Debug|Win32 + {3AB45076-B5C2-4F28-A649-B4AF0DA76F06}.Debug|Win32.Build.0 = Debug|Win32 + {3AB45076-B5C2-4F28-A649-B4AF0DA76F06}.Release|Win32.ActiveCfg = Release|Win32 + {3AB45076-B5C2-4F28-A649-B4AF0DA76F06}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Challenge 1/Challenge 1.v12.suo b/Challenge 1/Challenge 1.v12.suo new file mode 100644 index 0000000..72e9b94 Binary files /dev/null and b/Challenge 1/Challenge 1.v12.suo differ diff --git a/Challenge 1/Challenge 1/Challenge 1.cpp b/Challenge 1/Challenge 1/Challenge 1.cpp new file mode 100644 index 0000000..bfaf491 --- /dev/null +++ b/Challenge 1/Challenge 1/Challenge 1.cpp @@ -0,0 +1,21 @@ +// Challenge 1.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +using namespace std; + +int main() +{ + string food1=""; + string food2=""; + cout << "What is your first favorite food? "; + getline(cin, food1); + cout << "What is your second favorite food? "; + getline(cin, food2); + cout << " Combined food: " << food1 << " " << food2; + getchar(); + return 0; +} + diff --git a/Challenge 1/Challenge 1/Challenge 1.vcxproj b/Challenge 1/Challenge 1/Challenge 1.vcxproj new file mode 100644 index 0000000..b462eb1 --- /dev/null +++ b/Challenge 1/Challenge 1/Challenge 1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {3AB45076-B5C2-4F28-A649-B4AF0DA76F06} + Win32Proj + Challenge1 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/Challenge 1/Challenge 1/Challenge 1.vcxproj.filters b/Challenge 1/Challenge 1/Challenge 1.vcxproj.filters new file mode 100644 index 0000000..b9d0840 --- /dev/null +++ b/Challenge 1/Challenge 1/Challenge 1.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;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 + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.log b/Challenge 1/Challenge 1/Debug/Challenge 1.log new file mode 100644 index 0000000..e77d735 --- /dev/null +++ b/Challenge 1/Challenge 1/Debug/Challenge 1.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 4:29:40 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Challenge 1\Challenge 1\Challenge 1.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Challenge 1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt "Challenge 1.cpp" + Challenge 1.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Challenge 1\Debug\Challenge 1.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\IEUser\Cpp_Lab_01\Challenge 1\Debug\Challenge 1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Challenge 1\Debug\Challenge 1.lib" /MACHINE:X86 "Debug\Challenge 1.obj" + Debug\stdafx.obj + Challenge 1.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Challenge 1\Debug\Challenge 1.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Challenge 1\Challenge 1\Challenge 1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.14 diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.obj b/Challenge 1/Challenge 1/Debug/Challenge 1.obj new file mode 100644 index 0000000..6b9133d Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/Challenge 1.obj differ diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.pch b/Challenge 1/Challenge 1/Debug/Challenge 1.pch new file mode 100644 index 0000000..da4dfe6 Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/Challenge 1.pch differ diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/CL.read.1.tlog b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..305c24f Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/CL.read.1.tlog differ diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/CL.write.1.tlog b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..d5276a3 Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/CL.write.1.tlog differ diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/Challenge 1.lastbuildstate b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/Challenge 1.lastbuildstate new file mode 100644 index 0000000..05e127b --- /dev/null +++ b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/Challenge 1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Challenge 1\| diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/cl.command.1.tlog b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..2fe2a2c Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/cl.command.1.tlog differ diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.command.1.tlog b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.command.1.tlog new file mode 100644 index 0000000..46ae0ae Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.command.1.tlog differ diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.read.1.tlog b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.read.1.tlog new file mode 100644 index 0000000..e28d01d Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.read.1.tlog differ diff --git a/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.write.1.tlog b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.write.1.tlog new file mode 100644 index 0000000..5783e4f Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/Challenge 1.tlog/link.write.1.tlog differ diff --git a/Challenge 1/Challenge 1/Debug/stdafx.obj b/Challenge 1/Challenge 1/Debug/stdafx.obj new file mode 100644 index 0000000..f608432 Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/stdafx.obj differ diff --git a/Challenge 1/Challenge 1/Debug/vc120.idb b/Challenge 1/Challenge 1/Debug/vc120.idb new file mode 100644 index 0000000..a2775d4 Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/vc120.idb differ diff --git a/Challenge 1/Challenge 1/Debug/vc120.pdb b/Challenge 1/Challenge 1/Debug/vc120.pdb new file mode 100644 index 0000000..c6ed7aa Binary files /dev/null and b/Challenge 1/Challenge 1/Debug/vc120.pdb differ diff --git a/Challenge 1/Challenge 1/ReadMe.txt b/Challenge 1/Challenge 1/ReadMe.txt new file mode 100644 index 0000000..030d170 --- /dev/null +++ b/Challenge 1/Challenge 1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Challenge 1 Project Overview +======================================================================== + +AppWizard has created this Challenge 1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Challenge 1 application. + + +Challenge 1.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Challenge 1.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Challenge 1.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Challenge 1.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Challenge 1/Challenge 1/stdafx.cpp b/Challenge 1/Challenge 1/stdafx.cpp new file mode 100644 index 0000000..99d7bb3 --- /dev/null +++ b/Challenge 1/Challenge 1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Challenge 1.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Challenge 1/Challenge 1/stdafx.h b/Challenge 1/Challenge 1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Challenge 1/Challenge 1/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Challenge 1/Challenge 1/targetver.h b/Challenge 1/Challenge 1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Challenge 1/Challenge 1/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Challenge 1/Debug/Challenge 1.exe b/Challenge 1/Debug/Challenge 1.exe new file mode 100644 index 0000000..4747548 Binary files /dev/null and b/Challenge 1/Debug/Challenge 1.exe differ diff --git a/Challenge 1/Debug/Challenge 1.ilk b/Challenge 1/Debug/Challenge 1.ilk new file mode 100644 index 0000000..dddd2e2 Binary files /dev/null and b/Challenge 1/Debug/Challenge 1.ilk differ diff --git a/Challenge 1/Debug/Challenge 1.pdb b/Challenge 1/Debug/Challenge 1.pdb new file mode 100644 index 0000000..3172d0e Binary files /dev/null and b/Challenge 1/Debug/Challenge 1.pdb differ diff --git a/Challenge 1/ipch/challenge 1-5c3a324b/challenge 1-c5961820.ipch b/Challenge 1/ipch/challenge 1-5c3a324b/challenge 1-c5961820.ipch new file mode 100644 index 0000000..ae8f1aa Binary files /dev/null and b/Challenge 1/ipch/challenge 1-5c3a324b/challenge 1-c5961820.ipch differ diff --git a/Challenge 2/Challenge 2.sdf b/Challenge 2/Challenge 2.sdf new file mode 100644 index 0000000..8e27bab Binary files /dev/null and b/Challenge 2/Challenge 2.sdf differ diff --git a/Challenge 2/Challenge 2.sln b/Challenge 2/Challenge 2.sln new file mode 100644 index 0000000..5167eb3 --- /dev/null +++ b/Challenge 2/Challenge 2.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Challenge 2", "Challenge 2\Challenge 2.vcxproj", "{CA040DC4-B417-46F4-B2DB-A0FF7B614035}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CA040DC4-B417-46F4-B2DB-A0FF7B614035}.Debug|Win32.ActiveCfg = Debug|Win32 + {CA040DC4-B417-46F4-B2DB-A0FF7B614035}.Debug|Win32.Build.0 = Debug|Win32 + {CA040DC4-B417-46F4-B2DB-A0FF7B614035}.Release|Win32.ActiveCfg = Release|Win32 + {CA040DC4-B417-46F4-B2DB-A0FF7B614035}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Challenge 2/Challenge 2.v12.suo b/Challenge 2/Challenge 2.v12.suo new file mode 100644 index 0000000..d26313e Binary files /dev/null and b/Challenge 2/Challenge 2.v12.suo differ diff --git a/Challenge 2/Challenge 2/Challenge 2.cpp b/Challenge 2/Challenge 2/Challenge 2.cpp new file mode 100644 index 0000000..10f29e1 --- /dev/null +++ b/Challenge 2/Challenge 2/Challenge 2.cpp @@ -0,0 +1,21 @@ +// Challenge 2.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +using namespace std; + +int main() +{ + double total=0.00; + cout << "Enter total bill: "; + cin >> total; + getchar(); + cout << "15% tip: " << total*.15; + cout << endl; + cout << "20% tip: " << total*.20; + getchar(); + return 0; +} + diff --git a/Challenge 2/Challenge 2/Challenge 2.vcxproj b/Challenge 2/Challenge 2/Challenge 2.vcxproj new file mode 100644 index 0000000..43f173d --- /dev/null +++ b/Challenge 2/Challenge 2/Challenge 2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {CA040DC4-B417-46F4-B2DB-A0FF7B614035} + Win32Proj + Challenge2 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/Challenge 2/Challenge 2/Challenge 2.vcxproj.filters b/Challenge 2/Challenge 2/Challenge 2.vcxproj.filters new file mode 100644 index 0000000..2a392db --- /dev/null +++ b/Challenge 2/Challenge 2/Challenge 2.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;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 + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.log b/Challenge 2/Challenge 2/Debug/Challenge 2.log new file mode 100644 index 0000000..fbe2c32 --- /dev/null +++ b/Challenge 2/Challenge 2/Debug/Challenge 2.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 5:10:51 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Challenge 2\Challenge 2\Challenge 2.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Challenge 2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt "Challenge 2.cpp" + Challenge 2.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Challenge 2\Debug\Challenge 2.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\IEUser\Cpp_Lab_01\Challenge 2\Debug\Challenge 2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Challenge 2\Debug\Challenge 2.lib" /MACHINE:X86 "Debug\Challenge 2.obj" + Debug\stdafx.obj + Challenge 2.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Challenge 2\Debug\Challenge 2.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Challenge 2\Challenge 2\Challenge 2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.19 diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.obj b/Challenge 2/Challenge 2/Debug/Challenge 2.obj new file mode 100644 index 0000000..440a7d6 Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/Challenge 2.obj differ diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.pch b/Challenge 2/Challenge 2/Debug/Challenge 2.pch new file mode 100644 index 0000000..717f1ac Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/Challenge 2.pch differ diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/CL.read.1.tlog b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..972f6d1 Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/CL.read.1.tlog differ diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/CL.write.1.tlog b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..1b5a8f8 Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/CL.write.1.tlog differ diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/Challenge 2.lastbuildstate b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/Challenge 2.lastbuildstate new file mode 100644 index 0000000..acd464a --- /dev/null +++ b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/Challenge 2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Challenge 2\| diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/cl.command.1.tlog b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..60572f6 Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/cl.command.1.tlog differ diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.command.1.tlog b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.command.1.tlog new file mode 100644 index 0000000..f09b3a7 Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.command.1.tlog differ diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.read.1.tlog b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.read.1.tlog new file mode 100644 index 0000000..853d33e Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.read.1.tlog differ diff --git a/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.write.1.tlog b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.write.1.tlog new file mode 100644 index 0000000..66d71a6 Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/Challenge 2.tlog/link.write.1.tlog differ diff --git a/Challenge 2/Challenge 2/Debug/stdafx.obj b/Challenge 2/Challenge 2/Debug/stdafx.obj new file mode 100644 index 0000000..5ef18d3 Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/stdafx.obj differ diff --git a/Challenge 2/Challenge 2/Debug/vc120.idb b/Challenge 2/Challenge 2/Debug/vc120.idb new file mode 100644 index 0000000..692d799 Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/vc120.idb differ diff --git a/Challenge 2/Challenge 2/Debug/vc120.pdb b/Challenge 2/Challenge 2/Debug/vc120.pdb new file mode 100644 index 0000000..cce29ce Binary files /dev/null and b/Challenge 2/Challenge 2/Debug/vc120.pdb differ diff --git a/Challenge 2/Challenge 2/ReadMe.txt b/Challenge 2/Challenge 2/ReadMe.txt new file mode 100644 index 0000000..5c6df60 --- /dev/null +++ b/Challenge 2/Challenge 2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Challenge 2 Project Overview +======================================================================== + +AppWizard has created this Challenge 2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Challenge 2 application. + + +Challenge 2.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Challenge 2.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Challenge 2.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Challenge 2.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Challenge 2/Challenge 2/stdafx.cpp b/Challenge 2/Challenge 2/stdafx.cpp new file mode 100644 index 0000000..5eb5fe8 --- /dev/null +++ b/Challenge 2/Challenge 2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Challenge 2.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Challenge 2/Challenge 2/stdafx.h b/Challenge 2/Challenge 2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Challenge 2/Challenge 2/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Challenge 2/Challenge 2/targetver.h b/Challenge 2/Challenge 2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Challenge 2/Challenge 2/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Challenge 2/Debug/Challenge 2.exe b/Challenge 2/Debug/Challenge 2.exe new file mode 100644 index 0000000..3fe88f9 Binary files /dev/null and b/Challenge 2/Debug/Challenge 2.exe differ diff --git a/Challenge 2/Debug/Challenge 2.ilk b/Challenge 2/Debug/Challenge 2.ilk new file mode 100644 index 0000000..f933751 Binary files /dev/null and b/Challenge 2/Debug/Challenge 2.ilk differ diff --git a/Challenge 2/Debug/Challenge 2.pdb b/Challenge 2/Debug/Challenge 2.pdb new file mode 100644 index 0000000..0967ba7 Binary files /dev/null and b/Challenge 2/Debug/Challenge 2.pdb differ diff --git a/Challenge 2/ipch/challenge 2-32fb61ce/challenge 2-c5a830a1.ipch b/Challenge 2/ipch/challenge 2-32fb61ce/challenge 2-c5a830a1.ipch new file mode 100644 index 0000000..c185ddf Binary files /dev/null and b/Challenge 2/ipch/challenge 2-32fb61ce/challenge 2-c5a830a1.ipch differ diff --git a/Challenge3/Challenge3.sdf b/Challenge3/Challenge3.sdf new file mode 100644 index 0000000..1433c9a Binary files /dev/null and b/Challenge3/Challenge3.sdf differ diff --git a/Challenge3/Challenge3.sln b/Challenge3/Challenge3.sln new file mode 100644 index 0000000..8dee259 --- /dev/null +++ b/Challenge3/Challenge3.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Challenge3", "Challenge3\Challenge3.vcxproj", "{C5E08E97-F1F8-4D4B-AA79-1331CF95D2FF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C5E08E97-F1F8-4D4B-AA79-1331CF95D2FF}.Debug|Win32.ActiveCfg = Debug|Win32 + {C5E08E97-F1F8-4D4B-AA79-1331CF95D2FF}.Debug|Win32.Build.0 = Debug|Win32 + {C5E08E97-F1F8-4D4B-AA79-1331CF95D2FF}.Release|Win32.ActiveCfg = Release|Win32 + {C5E08E97-F1F8-4D4B-AA79-1331CF95D2FF}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Challenge3/Challenge3.v12.suo b/Challenge3/Challenge3.v12.suo new file mode 100644 index 0000000..dd31581 Binary files /dev/null and b/Challenge3/Challenge3.v12.suo differ diff --git a/Challenge3/Challenge3/Challenge3.cpp b/Challenge3/Challenge3/Challenge3.cpp new file mode 100644 index 0000000..94ae1d8 --- /dev/null +++ b/Challenge3/Challenge3/Challenge3.cpp @@ -0,0 +1,29 @@ +// Challenge3.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +using namespace std; + +int main() +{ + double base = 0.00; + double tax = 1.08; + double license = 1.05; + double dealerPrep = 500.00; + double destCharge = 250.00; + double total = 0.00; + cout << "Base price of vehicle: "; + cin >> base; + getchar(); + total = base*tax; + total = total*license; + total = total + dealerPrep; + total = total + destCharge; + cout << "Total Price: " << total; + getchar(); + return 0; + +} + diff --git a/Challenge3/Challenge3/Challenge3.vcxproj b/Challenge3/Challenge3/Challenge3.vcxproj new file mode 100644 index 0000000..3387fdc --- /dev/null +++ b/Challenge3/Challenge3/Challenge3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {C5E08E97-F1F8-4D4B-AA79-1331CF95D2FF} + Win32Proj + Challenge3 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/Challenge3/Challenge3/Challenge3.vcxproj.filters b/Challenge3/Challenge3/Challenge3.vcxproj.filters new file mode 100644 index 0000000..fcdbd16 --- /dev/null +++ b/Challenge3/Challenge3/Challenge3.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;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 + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Challenge3/Challenge3/Debug/Challenge3.log b/Challenge3/Challenge3/Debug/Challenge3.log new file mode 100644 index 0000000..2f860d5 --- /dev/null +++ b/Challenge3/Challenge3/Debug/Challenge3.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 5:36:37 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Challenge3\Challenge3\Challenge3.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Challenge3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Challenge3.cpp + Challenge3.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Challenge3\Debug\Challenge3.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\IEUser\Cpp_Lab_01\Challenge3\Debug\Challenge3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Challenge3\Debug\Challenge3.lib" /MACHINE:X86 Debug\Challenge3.obj + Debug\stdafx.obj + Challenge3.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Challenge3\Debug\Challenge3.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Challenge3\Challenge3\Challenge3.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.20 diff --git a/Challenge3/Challenge3/Debug/Challenge3.obj b/Challenge3/Challenge3/Debug/Challenge3.obj new file mode 100644 index 0000000..b9f32d0 Binary files /dev/null and b/Challenge3/Challenge3/Debug/Challenge3.obj differ diff --git a/Challenge3/Challenge3/Debug/Challenge3.pch b/Challenge3/Challenge3/Debug/Challenge3.pch new file mode 100644 index 0000000..4154853 Binary files /dev/null and b/Challenge3/Challenge3/Debug/Challenge3.pch differ diff --git a/Challenge3/Challenge3/Debug/Challenge3.tlog/CL.read.1.tlog b/Challenge3/Challenge3/Debug/Challenge3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..532d2e4 Binary files /dev/null and b/Challenge3/Challenge3/Debug/Challenge3.tlog/CL.read.1.tlog differ diff --git a/Challenge3/Challenge3/Debug/Challenge3.tlog/CL.write.1.tlog b/Challenge3/Challenge3/Debug/Challenge3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..42855c1 Binary files /dev/null and b/Challenge3/Challenge3/Debug/Challenge3.tlog/CL.write.1.tlog differ diff --git a/Challenge3/Challenge3/Debug/Challenge3.tlog/Challenge3.lastbuildstate b/Challenge3/Challenge3/Debug/Challenge3.tlog/Challenge3.lastbuildstate new file mode 100644 index 0000000..c588eee --- /dev/null +++ b/Challenge3/Challenge3/Debug/Challenge3.tlog/Challenge3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Challenge3\| diff --git a/Challenge3/Challenge3/Debug/Challenge3.tlog/cl.command.1.tlog b/Challenge3/Challenge3/Debug/Challenge3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..ace1ebb Binary files /dev/null and b/Challenge3/Challenge3/Debug/Challenge3.tlog/cl.command.1.tlog differ diff --git a/Challenge3/Challenge3/Debug/Challenge3.tlog/link.command.1.tlog b/Challenge3/Challenge3/Debug/Challenge3.tlog/link.command.1.tlog new file mode 100644 index 0000000..84d1d05 Binary files /dev/null and b/Challenge3/Challenge3/Debug/Challenge3.tlog/link.command.1.tlog differ diff --git a/Challenge3/Challenge3/Debug/Challenge3.tlog/link.read.1.tlog b/Challenge3/Challenge3/Debug/Challenge3.tlog/link.read.1.tlog new file mode 100644 index 0000000..3a7def4 Binary files /dev/null and b/Challenge3/Challenge3/Debug/Challenge3.tlog/link.read.1.tlog differ diff --git a/Challenge3/Challenge3/Debug/Challenge3.tlog/link.write.1.tlog b/Challenge3/Challenge3/Debug/Challenge3.tlog/link.write.1.tlog new file mode 100644 index 0000000..0be3470 Binary files /dev/null and b/Challenge3/Challenge3/Debug/Challenge3.tlog/link.write.1.tlog differ diff --git a/Challenge3/Challenge3/Debug/stdafx.obj b/Challenge3/Challenge3/Debug/stdafx.obj new file mode 100644 index 0000000..7ccfb59 Binary files /dev/null and b/Challenge3/Challenge3/Debug/stdafx.obj differ diff --git a/Challenge3/Challenge3/Debug/vc120.idb b/Challenge3/Challenge3/Debug/vc120.idb new file mode 100644 index 0000000..ca5d63d Binary files /dev/null and b/Challenge3/Challenge3/Debug/vc120.idb differ diff --git a/Challenge3/Challenge3/Debug/vc120.pdb b/Challenge3/Challenge3/Debug/vc120.pdb new file mode 100644 index 0000000..e8d23bc Binary files /dev/null and b/Challenge3/Challenge3/Debug/vc120.pdb differ diff --git a/Challenge3/Challenge3/ReadMe.txt b/Challenge3/Challenge3/ReadMe.txt new file mode 100644 index 0000000..f9f48c5 --- /dev/null +++ b/Challenge3/Challenge3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Challenge3 Project Overview +======================================================================== + +AppWizard has created this Challenge3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Challenge3 application. + + +Challenge3.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Challenge3.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Challenge3.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Challenge3.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Challenge3/Challenge3/stdafx.cpp b/Challenge3/Challenge3/stdafx.cpp new file mode 100644 index 0000000..2c7aea3 --- /dev/null +++ b/Challenge3/Challenge3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Challenge3.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Challenge3/Challenge3/stdafx.h b/Challenge3/Challenge3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Challenge3/Challenge3/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Challenge3/Challenge3/targetver.h b/Challenge3/Challenge3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Challenge3/Challenge3/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Challenge3/Debug/Challenge3.exe b/Challenge3/Debug/Challenge3.exe new file mode 100644 index 0000000..4adf83d Binary files /dev/null and b/Challenge3/Debug/Challenge3.exe differ diff --git a/Challenge3/Debug/Challenge3.ilk b/Challenge3/Debug/Challenge3.ilk new file mode 100644 index 0000000..f00de56 Binary files /dev/null and b/Challenge3/Debug/Challenge3.ilk differ diff --git a/Challenge3/Debug/Challenge3.pdb b/Challenge3/Debug/Challenge3.pdb new file mode 100644 index 0000000..b95204c Binary files /dev/null and b/Challenge3/Debug/Challenge3.pdb differ diff --git a/Challenge3/ipch/challenge3-c999ee31/challenge3-6c2d4442.ipch b/Challenge3/ipch/challenge3-c999ee31/challenge3-6c2d4442.ipch new file mode 100644 index 0000000..9664966 Binary files /dev/null and b/Challenge3/ipch/challenge3-c999ee31/challenge3-6c2d4442.ipch differ diff --git a/Challenge4/Challenge4.sdf b/Challenge4/Challenge4.sdf new file mode 100644 index 0000000..166a146 Binary files /dev/null and b/Challenge4/Challenge4.sdf differ diff --git a/Challenge4/Challenge4.sln b/Challenge4/Challenge4.sln new file mode 100644 index 0000000..63936fb --- /dev/null +++ b/Challenge4/Challenge4.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Challenge4", "Challenge4\Challenge4.vcxproj", "{77570C81-12FB-4AD7-A703-BF8D03FE8840}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {77570C81-12FB-4AD7-A703-BF8D03FE8840}.Debug|Win32.ActiveCfg = Debug|Win32 + {77570C81-12FB-4AD7-A703-BF8D03FE8840}.Debug|Win32.Build.0 = Debug|Win32 + {77570C81-12FB-4AD7-A703-BF8D03FE8840}.Release|Win32.ActiveCfg = Release|Win32 + {77570C81-12FB-4AD7-A703-BF8D03FE8840}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Challenge4/Challenge4.v12.suo b/Challenge4/Challenge4.v12.suo new file mode 100644 index 0000000..d7e3d1c Binary files /dev/null and b/Challenge4/Challenge4.v12.suo differ diff --git a/Challenge4/Challenge4/Challenge4.cpp b/Challenge4/Challenge4/Challenge4.cpp new file mode 100644 index 0000000..e5d21f2 --- /dev/null +++ b/Challenge4/Challenge4/Challenge4.cpp @@ -0,0 +1,33 @@ +// Challenge4.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +#include +using namespace std; + +int _tmain() +{ + int number; + srand(time(0)); + number = rand() % 5 + 1; + if (number == 1){ + cout << "Knowing is not enough, we must apply. \n Willing is not enough, we must do. -Bruce Lee"; + } + if (number == 2){ + cout << "Don't pray for an easy life, \n pray for the strength to endure a difficult one. -Bruce Lee"; + } + if (number == 3){ + cout << "Mistakes are always forgivable, \n If one has the courage to forgive them. -Bruce Lee"; + } + if (number == 4){ + cout << "Simplicity is the key to brilliance. -Bruce Lee"; + } + if (number == 5){ + cout << "Live long and prosper. -Spock"; + } + getchar(); + return 0; +} + diff --git a/Challenge4/Challenge4/Challenge4.vcxproj b/Challenge4/Challenge4/Challenge4.vcxproj new file mode 100644 index 0000000..e04cd62 --- /dev/null +++ b/Challenge4/Challenge4/Challenge4.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {77570C81-12FB-4AD7-A703-BF8D03FE8840} + Win32Proj + Challenge4 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/Challenge4/Challenge4/Challenge4.vcxproj.filters b/Challenge4/Challenge4/Challenge4.vcxproj.filters new file mode 100644 index 0000000..917dd13 --- /dev/null +++ b/Challenge4/Challenge4/Challenge4.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;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 + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Challenge4/Challenge4/Debug/Challenge4.Build.CppClean.log b/Challenge4/Challenge4/Debug/Challenge4.Build.CppClean.log new file mode 100644 index 0000000..f15ad15 --- /dev/null +++ b/Challenge4/Challenge4/Debug/Challenge4.Build.CppClean.log @@ -0,0 +1,14 @@ +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\challenge4.pch +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\vc120.pdb +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\vc120.idb +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\stdafx.obj +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\challenge4.obj +c:\users\ieuser\cpp_lab_01\challenge4\debug\challenge4.ilk +c:\users\ieuser\cpp_lab_01\challenge4\debug\challenge4.exe +c:\users\ieuser\cpp_lab_01\challenge4\debug\challenge4.pdb +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\challenge4.tlog\cl.command.1.tlog +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\challenge4.tlog\cl.read.1.tlog +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\challenge4.tlog\cl.write.1.tlog +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\challenge4.tlog\link.command.1.tlog +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\challenge4.tlog\link.read.1.tlog +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\debug\challenge4.tlog\link.write.1.tlog diff --git a/Challenge4/Challenge4/Debug/Challenge4.log b/Challenge4/Challenge4/Debug/Challenge4.log new file mode 100644 index 0000000..84ca743 --- /dev/null +++ b/Challenge4/Challenge4/Debug/Challenge4.log @@ -0,0 +1,15 @@ +Build started 1/21/2015 6:23:09 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Challenge4\Challenge4\Challenge4.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Challenge4.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Challenge4.cpp + Challenge4.cpp +c:\users\ieuser\cpp_lab_01\challenge4\challenge4\challenge4.cpp(13): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Challenge4\Debug\Challenge4.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\IEUser\Cpp_Lab_01\Challenge4\Debug\Challenge4.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Challenge4\Debug\Challenge4.lib" /MACHINE:X86 Debug\Challenge4.obj + Debug\stdafx.obj + Challenge4.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Challenge4\Debug\Challenge4.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Challenge4\Challenge4\Challenge4.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.26 diff --git a/Challenge4/Challenge4/Debug/Challenge4.obj b/Challenge4/Challenge4/Debug/Challenge4.obj new file mode 100644 index 0000000..e8c7b6f Binary files /dev/null and b/Challenge4/Challenge4/Debug/Challenge4.obj differ diff --git a/Challenge4/Challenge4/Debug/Challenge4.pch b/Challenge4/Challenge4/Debug/Challenge4.pch new file mode 100644 index 0000000..ab7ef3d Binary files /dev/null and b/Challenge4/Challenge4/Debug/Challenge4.pch differ diff --git a/Challenge4/Challenge4/Debug/Challenge4.tlog/CL.read.1.tlog b/Challenge4/Challenge4/Debug/Challenge4.tlog/CL.read.1.tlog new file mode 100644 index 0000000..0f196e6 Binary files /dev/null and b/Challenge4/Challenge4/Debug/Challenge4.tlog/CL.read.1.tlog differ diff --git a/Challenge4/Challenge4/Debug/Challenge4.tlog/CL.write.1.tlog b/Challenge4/Challenge4/Debug/Challenge4.tlog/CL.write.1.tlog new file mode 100644 index 0000000..f9669aa Binary files /dev/null and b/Challenge4/Challenge4/Debug/Challenge4.tlog/CL.write.1.tlog differ diff --git a/Challenge4/Challenge4/Debug/Challenge4.tlog/Challenge4.lastbuildstate b/Challenge4/Challenge4/Debug/Challenge4.tlog/Challenge4.lastbuildstate new file mode 100644 index 0000000..d6729c0 --- /dev/null +++ b/Challenge4/Challenge4/Debug/Challenge4.tlog/Challenge4.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Challenge4\| diff --git a/Challenge4/Challenge4/Debug/Challenge4.tlog/cl.command.1.tlog b/Challenge4/Challenge4/Debug/Challenge4.tlog/cl.command.1.tlog new file mode 100644 index 0000000..809b837 Binary files /dev/null and b/Challenge4/Challenge4/Debug/Challenge4.tlog/cl.command.1.tlog differ diff --git a/Challenge4/Challenge4/Debug/Challenge4.tlog/link.command.1.tlog b/Challenge4/Challenge4/Debug/Challenge4.tlog/link.command.1.tlog new file mode 100644 index 0000000..725131a Binary files /dev/null and b/Challenge4/Challenge4/Debug/Challenge4.tlog/link.command.1.tlog differ diff --git a/Challenge4/Challenge4/Debug/Challenge4.tlog/link.read.1.tlog b/Challenge4/Challenge4/Debug/Challenge4.tlog/link.read.1.tlog new file mode 100644 index 0000000..2ed7e45 Binary files /dev/null and b/Challenge4/Challenge4/Debug/Challenge4.tlog/link.read.1.tlog differ diff --git a/Challenge4/Challenge4/Debug/Challenge4.tlog/link.write.1.tlog b/Challenge4/Challenge4/Debug/Challenge4.tlog/link.write.1.tlog new file mode 100644 index 0000000..a7bc661 Binary files /dev/null and b/Challenge4/Challenge4/Debug/Challenge4.tlog/link.write.1.tlog differ diff --git a/Challenge4/Challenge4/Debug/stdafx.obj b/Challenge4/Challenge4/Debug/stdafx.obj new file mode 100644 index 0000000..9c3045d Binary files /dev/null and b/Challenge4/Challenge4/Debug/stdafx.obj differ diff --git a/Challenge4/Challenge4/Debug/vc120.idb b/Challenge4/Challenge4/Debug/vc120.idb new file mode 100644 index 0000000..e5b6eff Binary files /dev/null and b/Challenge4/Challenge4/Debug/vc120.idb differ diff --git a/Challenge4/Challenge4/Debug/vc120.pdb b/Challenge4/Challenge4/Debug/vc120.pdb new file mode 100644 index 0000000..c992e45 Binary files /dev/null and b/Challenge4/Challenge4/Debug/vc120.pdb differ diff --git a/Challenge4/Challenge4/ReadMe.txt b/Challenge4/Challenge4/ReadMe.txt new file mode 100644 index 0000000..df6a3a1 --- /dev/null +++ b/Challenge4/Challenge4/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Challenge4 Project Overview +======================================================================== + +AppWizard has created this Challenge4 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Challenge4 application. + + +Challenge4.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Challenge4.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Challenge4.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Challenge4.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Challenge4/Challenge4/stdafx.cpp b/Challenge4/Challenge4/stdafx.cpp new file mode 100644 index 0000000..038edc2 --- /dev/null +++ b/Challenge4/Challenge4/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Challenge4.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Challenge4/Challenge4/stdafx.h b/Challenge4/Challenge4/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Challenge4/Challenge4/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Challenge4/Challenge4/targetver.h b/Challenge4/Challenge4/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Challenge4/Challenge4/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Challenge4/Debug/Challenge4.exe b/Challenge4/Debug/Challenge4.exe new file mode 100644 index 0000000..7b4aa0d Binary files /dev/null and b/Challenge4/Debug/Challenge4.exe differ diff --git a/Challenge4/Debug/Challenge4.ilk b/Challenge4/Debug/Challenge4.ilk new file mode 100644 index 0000000..4b0dcf7 Binary files /dev/null and b/Challenge4/Debug/Challenge4.ilk differ diff --git a/Challenge4/Debug/Challenge4.pdb b/Challenge4/Debug/Challenge4.pdb new file mode 100644 index 0000000..22500db Binary files /dev/null and b/Challenge4/Debug/Challenge4.pdb differ diff --git a/Challenge4/ipch/challenge4-d7025d54/challenge4-6c3f5cc3.ipch b/Challenge4/ipch/challenge4-d7025d54/challenge4-6c3f5cc3.ipch new file mode 100644 index 0000000..fd00eb7 Binary files /dev/null and b/Challenge4/ipch/challenge4-d7025d54/challenge4-6c3f5cc3.ipch differ