diff --git a/Lab01_1/Debug/Lab01_1.exe b/Lab01_1/Debug/Lab01_1.exe new file mode 100644 index 0000000..274db54 Binary files /dev/null and b/Lab01_1/Debug/Lab01_1.exe differ diff --git a/Lab01_1/Debug/Lab01_1.ilk b/Lab01_1/Debug/Lab01_1.ilk new file mode 100644 index 0000000..99d70f7 Binary files /dev/null and b/Lab01_1/Debug/Lab01_1.ilk differ diff --git a/Lab01_1/Debug/Lab01_1.pdb b/Lab01_1/Debug/Lab01_1.pdb new file mode 100644 index 0000000..2ad1973 Binary files /dev/null and b/Lab01_1/Debug/Lab01_1.pdb differ diff --git a/Lab01_1/Lab01_1.cpp b/Lab01_1/Lab01_1.cpp new file mode 100644 index 0000000..a3b3fcc --- /dev/null +++ b/Lab01_1/Lab01_1.cpp @@ -0,0 +1,31 @@ +/* ConsoleApplication6.cpp : Defines the entry point for the console application. +******************** +* Creator: Brad * +* Date: 1/20/14 * +* Lab01_1 * +******************** +*/ + +#include "stdafx.h" +#include +#include + +using namespace std; + +int _tmain(int argc, _TCHAR* argv[]) +{ //Initialize Variables + string food1, food2; + //First food + cout << "Type in your number 1 favorite food: "; + cin >> food1; + //2nd food + cout << "Type in your number 2 favorite food: "; + cin >> food2; + //Printing both + cout << food1 << food2 << endl; + //System pausing so the window does not close immediately + system("pause"); + + return 0; +} + diff --git a/Lab01_1/Lab01_1.sdf b/Lab01_1/Lab01_1.sdf new file mode 100644 index 0000000..7d292b5 Binary files /dev/null and b/Lab01_1/Lab01_1.sdf differ diff --git a/Lab01_1/Lab01_1.sln b/Lab01_1/Lab01_1.sln new file mode 100644 index 0000000..4516ec3 --- /dev/null +++ b/Lab01_1/Lab01_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}") = "Lab01_1", "Lab01_1\Lab01_1.vcxproj", "{29C64B6C-5708-4D07-A97D-4D1BF8AE0CC3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {29C64B6C-5708-4D07-A97D-4D1BF8AE0CC3}.Debug|Win32.ActiveCfg = Debug|Win32 + {29C64B6C-5708-4D07-A97D-4D1BF8AE0CC3}.Debug|Win32.Build.0 = Debug|Win32 + {29C64B6C-5708-4D07-A97D-4D1BF8AE0CC3}.Release|Win32.ActiveCfg = Release|Win32 + {29C64B6C-5708-4D07-A97D-4D1BF8AE0CC3}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab01_1/Lab01_1.v12.suo b/Lab01_1/Lab01_1.v12.suo new file mode 100644 index 0000000..33d9e5c Binary files /dev/null and b/Lab01_1/Lab01_1.v12.suo differ diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.log b/Lab01_1/Lab01_1/Debug/Lab01_1.log new file mode 100644 index 0000000..e4e404b --- /dev/null +++ b/Lab01_1/Lab01_1/Debug/Lab01_1.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 9:50:05 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Lab01_1\Lab01_1\Lab01_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\Lab01_1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab01_1.cpp + Lab01_1.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Lab01_1\Debug\Lab01_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\Lab01_1\Debug\Lab01_1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Lab01_1\Debug\Lab01_1.lib" /MACHINE:X86 Debug\Lab01_1.obj + Debug\stdafx.obj + Lab01_1.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Lab01_1\Debug\Lab01_1.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Lab01_1\Lab01_1\Lab01_1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.27 diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.obj b/Lab01_1/Lab01_1/Debug/Lab01_1.obj new file mode 100644 index 0000000..b1183de Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/Lab01_1.obj differ diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.pch b/Lab01_1/Lab01_1/Debug/Lab01_1.pch new file mode 100644 index 0000000..6b635c8 Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/Lab01_1.pch differ diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/CL.read.1.tlog b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..fbd22f7 Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/CL.read.1.tlog differ diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/CL.write.1.tlog b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..43fed7a Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/CL.write.1.tlog differ diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/Lab01_1.lastbuildstate b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/Lab01_1.lastbuildstate new file mode 100644 index 0000000..82a3adc --- /dev/null +++ b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/Lab01_1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Lab01_1\| diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/cl.command.1.tlog b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..09fcf70 Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/cl.command.1.tlog differ diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.command.1.tlog b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.command.1.tlog new file mode 100644 index 0000000..54cdb59 Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.command.1.tlog differ diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.read.1.tlog b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.read.1.tlog new file mode 100644 index 0000000..ea7e1df Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.read.1.tlog differ diff --git a/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.write.1.tlog b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.write.1.tlog new file mode 100644 index 0000000..8e8c698 Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/Lab01_1.tlog/link.write.1.tlog differ diff --git a/Lab01_1/Lab01_1/Debug/stdafx.obj b/Lab01_1/Lab01_1/Debug/stdafx.obj new file mode 100644 index 0000000..a6f93dc Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/stdafx.obj differ diff --git a/Lab01_1/Lab01_1/Debug/vc120.idb b/Lab01_1/Lab01_1/Debug/vc120.idb new file mode 100644 index 0000000..0f7e1f8 Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/vc120.idb differ diff --git a/Lab01_1/Lab01_1/Debug/vc120.pdb b/Lab01_1/Lab01_1/Debug/vc120.pdb new file mode 100644 index 0000000..fa9145b Binary files /dev/null and b/Lab01_1/Lab01_1/Debug/vc120.pdb differ diff --git a/Lab01_1/Lab01_1/Lab01_1.cpp b/Lab01_1/Lab01_1/Lab01_1.cpp new file mode 100644 index 0000000..e5bddb0 --- /dev/null +++ b/Lab01_1/Lab01_1/Lab01_1.cpp @@ -0,0 +1,31 @@ +// Lab01_1.cpp : Defines the entry point for the console application. +// + + +#include "stdafx.h" +#include +#include + +using namespace std; + +int _tmain(){ + + //Initializing and declaring variables + const double FIFTEEN = 0.15, TWENTY = 0.20; + double initial = 0.0, tip15 = 0.0, tip20 = 0.0; + //Getting inital bill + cout << "Enter the total bill amount: "; + cin >> initial; + cin.sync(); + //Calculating + tip15 = FIFTEEN * initial; + tip20 = TWENTY * initial; + //Printing + cout << "15 Percent tip: " << tip15 << "$" << endl; + cout << "20 Percent tip: " << tip20 << "$" << endl; + getchar(); + return 0; +} + + + diff --git a/Lab01_1/Lab01_1/Lab01_1.vcxproj b/Lab01_1/Lab01_1/Lab01_1.vcxproj new file mode 100644 index 0000000..a9be3c2 --- /dev/null +++ b/Lab01_1/Lab01_1/Lab01_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {29C64B6C-5708-4D07-A97D-4D1BF8AE0CC3} + Win32Proj + Lab01_1 + + + + 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/Lab01_1/Lab01_1/Lab01_1.vcxproj.filters b/Lab01_1/Lab01_1/Lab01_1.vcxproj.filters new file mode 100644 index 0000000..8084f58 --- /dev/null +++ b/Lab01_1/Lab01_1/Lab01_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/Lab01_1/Lab01_1/ReadMe.txt b/Lab01_1/Lab01_1/ReadMe.txt new file mode 100644 index 0000000..a4f625d --- /dev/null +++ b/Lab01_1/Lab01_1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab01_1 Project Overview +======================================================================== + +AppWizard has created this Lab01_1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab01_1 application. + + +Lab01_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. + +Lab01_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). + +Lab01_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 Lab01_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/Lab01_1/Lab01_1/stdafx.cpp b/Lab01_1/Lab01_1/stdafx.cpp new file mode 100644 index 0000000..7c0fb05 --- /dev/null +++ b/Lab01_1/Lab01_1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab01_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/Lab01_1/Lab01_1/stdafx.h b/Lab01_1/Lab01_1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab01_1/Lab01_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/Lab01_1/Lab01_1/targetver.h b/Lab01_1/Lab01_1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab01_1/Lab01_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/Lab01_1/ipch/lab01_1-893b01cf/lab01_1-96a3204c.ipch b/Lab01_1/ipch/lab01_1-893b01cf/lab01_1-96a3204c.ipch new file mode 100644 index 0000000..b0bf409 Binary files /dev/null and b/Lab01_1/ipch/lab01_1-893b01cf/lab01_1-96a3204c.ipch differ diff --git a/Lab01_2/Lab01_2.sdf b/Lab01_2/Lab01_2.sdf new file mode 100644 index 0000000..44495ad Binary files /dev/null and b/Lab01_2/Lab01_2.sdf differ diff --git a/Lab01_2/Lab01_2.sln b/Lab01_2/Lab01_2.sln new file mode 100644 index 0000000..befe047 --- /dev/null +++ b/Lab01_2/Lab01_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}") = "Lab01_2", "Lab01_2\Lab01_2.vcxproj", "{FF67CA1B-C2D2-4118-A0EA-B08D046ECE95}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FF67CA1B-C2D2-4118-A0EA-B08D046ECE95}.Debug|Win32.ActiveCfg = Debug|Win32 + {FF67CA1B-C2D2-4118-A0EA-B08D046ECE95}.Debug|Win32.Build.0 = Debug|Win32 + {FF67CA1B-C2D2-4118-A0EA-B08D046ECE95}.Release|Win32.ActiveCfg = Release|Win32 + {FF67CA1B-C2D2-4118-A0EA-B08D046ECE95}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab01_2/Lab01_2.v12.suo b/Lab01_2/Lab01_2.v12.suo new file mode 100644 index 0000000..23d6eb6 Binary files /dev/null and b/Lab01_2/Lab01_2.v12.suo differ diff --git a/Lab01_2/Lab01_2/Lab01_2.cpp b/Lab01_2/Lab01_2/Lab01_2.cpp new file mode 100644 index 0000000..140f414 --- /dev/null +++ b/Lab01_2/Lab01_2/Lab01_2.cpp @@ -0,0 +1,29 @@ +// Lab01_2.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include + +using namespace std; + +int _tmain(int argc, _TCHAR* argv[]) +{ + //Initialize variables + double tipFifteen = 0.15; + double tipTwenty = 0.20; + double initial = 0.0, tip20 = 0.0, tip15 = 0.0; + + cout << "Enter the total bill amount: "; + cin >> initial; + cin.sync(); + + tip15 = initial * tipFifteen; + tip20 = initial * tipTwenty; + + cout << "15% tip: $" << tip15 << endl; + cout << "20% tip: $" << tip20; + getchar(); + + return 0; +} \ No newline at end of file diff --git a/Lab01_2/Lab01_2/Lab01_2.vcxproj b/Lab01_2/Lab01_2/Lab01_2.vcxproj new file mode 100644 index 0000000..8bf1d73 --- /dev/null +++ b/Lab01_2/Lab01_2/Lab01_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {FF67CA1B-C2D2-4118-A0EA-B08D046ECE95} + Win32Proj + Lab01_2 + + + + 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/Lab01_2/Lab01_2/Lab01_2.vcxproj.filters b/Lab01_2/Lab01_2/Lab01_2.vcxproj.filters new file mode 100644 index 0000000..951f617 --- /dev/null +++ b/Lab01_2/Lab01_2/Lab01_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/Lab01_2/Lab01_2/ReadMe.txt b/Lab01_2/Lab01_2/ReadMe.txt new file mode 100644 index 0000000..5f26a80 --- /dev/null +++ b/Lab01_2/Lab01_2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab01_2 Project Overview +======================================================================== + +AppWizard has created this Lab01_2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab01_2 application. + + +Lab01_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. + +Lab01_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). + +Lab01_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 Lab01_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/Lab01_2/Lab01_2/stdafx.cpp b/Lab01_2/Lab01_2/stdafx.cpp new file mode 100644 index 0000000..b96ffb3 --- /dev/null +++ b/Lab01_2/Lab01_2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab01_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/Lab01_2/Lab01_2/stdafx.h b/Lab01_2/Lab01_2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab01_2/Lab01_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/Lab01_2/Lab01_2/targetver.h b/Lab01_2/Lab01_2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab01_2/Lab01_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/Lab01_2/ipch/lab01_2-3ca9a7d2/lab01_2-96b538cd.ipch b/Lab01_2/ipch/lab01_2-3ca9a7d2/lab01_2-96b538cd.ipch new file mode 100644 index 0000000..c60e951 Binary files /dev/null and b/Lab01_2/ipch/lab01_2-3ca9a7d2/lab01_2-96b538cd.ipch differ diff --git a/Lab01_3/Debug/Lab01_3.exe b/Lab01_3/Debug/Lab01_3.exe new file mode 100644 index 0000000..fad1fbe Binary files /dev/null and b/Lab01_3/Debug/Lab01_3.exe differ diff --git a/Lab01_3/Debug/Lab01_3.ilk b/Lab01_3/Debug/Lab01_3.ilk new file mode 100644 index 0000000..244f534 Binary files /dev/null and b/Lab01_3/Debug/Lab01_3.ilk differ diff --git a/Lab01_3/Debug/Lab01_3.pdb b/Lab01_3/Debug/Lab01_3.pdb new file mode 100644 index 0000000..76a063b Binary files /dev/null and b/Lab01_3/Debug/Lab01_3.pdb differ diff --git a/Lab01_3/Lab01_3.sdf b/Lab01_3/Lab01_3.sdf new file mode 100644 index 0000000..3591ec1 Binary files /dev/null and b/Lab01_3/Lab01_3.sdf differ diff --git a/Lab01_3/Lab01_3.sln b/Lab01_3/Lab01_3.sln new file mode 100644 index 0000000..1479dde --- /dev/null +++ b/Lab01_3/Lab01_3.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}") = "Lab01_3", "Lab01_3\Lab01_3.vcxproj", "{E2BC8F88-AC47-4DCF-8622-FFE074F84197}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E2BC8F88-AC47-4DCF-8622-FFE074F84197}.Debug|Win32.ActiveCfg = Debug|Win32 + {E2BC8F88-AC47-4DCF-8622-FFE074F84197}.Debug|Win32.Build.0 = Debug|Win32 + {E2BC8F88-AC47-4DCF-8622-FFE074F84197}.Release|Win32.ActiveCfg = Release|Win32 + {E2BC8F88-AC47-4DCF-8622-FFE074F84197}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab01_3/Lab01_3.v12.suo b/Lab01_3/Lab01_3.v12.suo new file mode 100644 index 0000000..bef6f15 Binary files /dev/null and b/Lab01_3/Lab01_3.v12.suo differ diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.log b/Lab01_3/Lab01_3/Debug/Lab01_3.log new file mode 100644 index 0000000..9d8edcb --- /dev/null +++ b/Lab01_3/Lab01_3/Debug/Lab01_3.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 11:23:45 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Lab01_3\Lab01_3\Lab01_3.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\Lab01_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab01_3.cpp + Lab01_3.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Lab01_3\Debug\Lab01_3.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\Lab01_3\Debug\Lab01_3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Lab01_3\Debug\Lab01_3.lib" /MACHINE:X86 Debug\Lab01_3.obj + Debug\stdafx.obj + Lab01_3.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Lab01_3\Debug\Lab01_3.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Lab01_3\Lab01_3\Lab01_3.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.36 diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.obj b/Lab01_3/Lab01_3/Debug/Lab01_3.obj new file mode 100644 index 0000000..7fa49e4 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/Lab01_3.obj differ diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.pch b/Lab01_3/Lab01_3/Debug/Lab01_3.pch new file mode 100644 index 0000000..4876263 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/Lab01_3.pch differ diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/CL.read.1.tlog b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..1cfd706 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/CL.read.1.tlog differ diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/CL.write.1.tlog b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..d566068 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/CL.write.1.tlog differ diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/Lab01_3.lastbuildstate b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/Lab01_3.lastbuildstate new file mode 100644 index 0000000..073dbf5 --- /dev/null +++ b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/Lab01_3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Lab01_3\| diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/cl.command.1.tlog b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..4654899 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/cl.command.1.tlog differ diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.command.1.tlog b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.command.1.tlog new file mode 100644 index 0000000..19bdb90 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.command.1.tlog differ diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.read.1.tlog b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.read.1.tlog new file mode 100644 index 0000000..540acbb Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.read.1.tlog differ diff --git a/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.write.1.tlog b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.write.1.tlog new file mode 100644 index 0000000..cbf1515 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/Lab01_3.tlog/link.write.1.tlog differ diff --git a/Lab01_3/Lab01_3/Debug/stdafx.obj b/Lab01_3/Lab01_3/Debug/stdafx.obj new file mode 100644 index 0000000..3e044d3 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/stdafx.obj differ diff --git a/Lab01_3/Lab01_3/Debug/vc120.idb b/Lab01_3/Lab01_3/Debug/vc120.idb new file mode 100644 index 0000000..a03a210 Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/vc120.idb differ diff --git a/Lab01_3/Lab01_3/Debug/vc120.pdb b/Lab01_3/Lab01_3/Debug/vc120.pdb new file mode 100644 index 0000000..97627dc Binary files /dev/null and b/Lab01_3/Lab01_3/Debug/vc120.pdb differ diff --git a/Lab01_3/Lab01_3/Lab01_3.cpp b/Lab01_3/Lab01_3/Lab01_3.cpp new file mode 100644 index 0000000..24f02a7 --- /dev/null +++ b/Lab01_3/Lab01_3/Lab01_3.cpp @@ -0,0 +1,35 @@ +// Lab01_3.cpp : Defines the entry point for the console application. +// +/* +***************************** +* Brad * +* 1/21/15 * +* Lab01_3 * +***************************** +*/ +#include "stdafx.h" +#include + +using namespace std; + +int _tmain(){ + //Initialize Variables + double carPrice = 0.0, newCarPrice = 0.0; + double dealerPrep = 75.0, destonationCharge = 30.0; + double taxRate = 0.15, tax = 0.0, licenseRate = .08, license = 0.0; + //Inital price of car + cout << "Please enter the cost of the car: "; + cin >> carPrice; + cin.sync(); + //Percentage additions + tax = taxRate * carPrice; + license = licenseRate * carPrice; + //New car price + newCarPrice = carPrice + dealerPrep + destonationCharge + tax + license; + //Print new car price + cout << "Price of car after fees: $" << newCarPrice; + //Pause + getchar(); + return 0; +} + diff --git a/Lab01_3/Lab01_3/Lab01_3.vcxproj b/Lab01_3/Lab01_3/Lab01_3.vcxproj new file mode 100644 index 0000000..7f1f3bd --- /dev/null +++ b/Lab01_3/Lab01_3/Lab01_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {E2BC8F88-AC47-4DCF-8622-FFE074F84197} + Win32Proj + Lab01_3 + + + + 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/Lab01_3/Lab01_3/Lab01_3.vcxproj.filters b/Lab01_3/Lab01_3/Lab01_3.vcxproj.filters new file mode 100644 index 0000000..cdd8f25 --- /dev/null +++ b/Lab01_3/Lab01_3/Lab01_3.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/Lab01_3/Lab01_3/ReadMe.txt b/Lab01_3/Lab01_3/ReadMe.txt new file mode 100644 index 0000000..315514f --- /dev/null +++ b/Lab01_3/Lab01_3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab01_3 Project Overview +======================================================================== + +AppWizard has created this Lab01_3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab01_3 application. + + +Lab01_3.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. + +Lab01_3.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). + +Lab01_3.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 Lab01_3.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/Lab01_3/Lab01_3/stdafx.cpp b/Lab01_3/Lab01_3/stdafx.cpp new file mode 100644 index 0000000..12b6925 --- /dev/null +++ b/Lab01_3/Lab01_3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab01_3.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/Lab01_3/Lab01_3/stdafx.h b/Lab01_3/Lab01_3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab01_3/Lab01_3/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/Lab01_3/Lab01_3/targetver.h b/Lab01_3/Lab01_3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab01_3/Lab01_3/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/Lab01_3/ipch/lab01_3-f0184dd5/lab01_3-96c7514e.ipch b/Lab01_3/ipch/lab01_3-f0184dd5/lab01_3-96c7514e.ipch new file mode 100644 index 0000000..7b2096c Binary files /dev/null and b/Lab01_3/ipch/lab01_3-f0184dd5/lab01_3-96c7514e.ipch differ diff --git a/Lab01_4/Debug/Lab01_4.exe b/Lab01_4/Debug/Lab01_4.exe new file mode 100644 index 0000000..96c2376 Binary files /dev/null and b/Lab01_4/Debug/Lab01_4.exe differ diff --git a/Lab01_4/Debug/Lab01_4.ilk b/Lab01_4/Debug/Lab01_4.ilk new file mode 100644 index 0000000..85f6173 Binary files /dev/null and b/Lab01_4/Debug/Lab01_4.ilk differ diff --git a/Lab01_4/Debug/Lab01_4.pdb b/Lab01_4/Debug/Lab01_4.pdb new file mode 100644 index 0000000..704709f Binary files /dev/null and b/Lab01_4/Debug/Lab01_4.pdb differ diff --git a/Lab01_4/Lab01_4.sdf b/Lab01_4/Lab01_4.sdf new file mode 100644 index 0000000..ad285d0 Binary files /dev/null and b/Lab01_4/Lab01_4.sdf differ diff --git a/Lab01_4/Lab01_4.sln b/Lab01_4/Lab01_4.sln new file mode 100644 index 0000000..defee62 --- /dev/null +++ b/Lab01_4/Lab01_4.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}") = "Lab01_4", "Lab01_4\Lab01_4.vcxproj", "{6410E409-42E1-44C7-8EA6-1ED5C9F835E9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6410E409-42E1-44C7-8EA6-1ED5C9F835E9}.Debug|Win32.ActiveCfg = Debug|Win32 + {6410E409-42E1-44C7-8EA6-1ED5C9F835E9}.Debug|Win32.Build.0 = Debug|Win32 + {6410E409-42E1-44C7-8EA6-1ED5C9F835E9}.Release|Win32.ActiveCfg = Release|Win32 + {6410E409-42E1-44C7-8EA6-1ED5C9F835E9}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab01_4/Lab01_4.v12.suo b/Lab01_4/Lab01_4.v12.suo new file mode 100644 index 0000000..533f53d Binary files /dev/null and b/Lab01_4/Lab01_4.v12.suo differ diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.log b/Lab01_4/Lab01_4/Debug/Lab01_4.log new file mode 100644 index 0000000..dc5ec1f --- /dev/null +++ b/Lab01_4/Lab01_4/Debug/Lab01_4.log @@ -0,0 +1,15 @@ +Build started 1/22/2015 10:02:11 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Lab01_4\Lab01_4\Lab01_4.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\Lab01_4.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab01_4.cpp + Lab01_4.cpp +c:\users\ieuser\cpp_lab_01\lab01_4\lab01_4\lab01_4.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\Lab01_4\Debug\Lab01_4.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\Lab01_4\Debug\Lab01_4.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Lab01_4\Debug\Lab01_4.lib" /MACHINE:X86 Debug\Lab01_4.obj + Debug\stdafx.obj + Lab01_4.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Lab01_4\Debug\Lab01_4.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Lab01_4\Lab01_4\Lab01_4.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.18 diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.obj b/Lab01_4/Lab01_4/Debug/Lab01_4.obj new file mode 100644 index 0000000..1279ac3 Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/Lab01_4.obj differ diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.pch b/Lab01_4/Lab01_4/Debug/Lab01_4.pch new file mode 100644 index 0000000..c980f9a Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/Lab01_4.pch differ diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/CL.read.1.tlog b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/CL.read.1.tlog new file mode 100644 index 0000000..d7ae132 Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/CL.read.1.tlog differ diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/CL.write.1.tlog b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/CL.write.1.tlog new file mode 100644 index 0000000..860b908 Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/CL.write.1.tlog differ diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/Lab01_4.lastbuildstate b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/Lab01_4.lastbuildstate new file mode 100644 index 0000000..a87f431 --- /dev/null +++ b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/Lab01_4.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Lab01_4\| diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/cl.command.1.tlog b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/cl.command.1.tlog new file mode 100644 index 0000000..c3b9bb9 Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/cl.command.1.tlog differ diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.command.1.tlog b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.command.1.tlog new file mode 100644 index 0000000..0d14391 Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.command.1.tlog differ diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.read.1.tlog b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.read.1.tlog new file mode 100644 index 0000000..2490918 Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.read.1.tlog differ diff --git a/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.write.1.tlog b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.write.1.tlog new file mode 100644 index 0000000..a0d125e Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/Lab01_4.tlog/link.write.1.tlog differ diff --git a/Lab01_4/Lab01_4/Debug/stdafx.obj b/Lab01_4/Lab01_4/Debug/stdafx.obj new file mode 100644 index 0000000..4090ad9 Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/stdafx.obj differ diff --git a/Lab01_4/Lab01_4/Debug/vc120.idb b/Lab01_4/Lab01_4/Debug/vc120.idb new file mode 100644 index 0000000..bdea862 Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/vc120.idb differ diff --git a/Lab01_4/Lab01_4/Debug/vc120.pdb b/Lab01_4/Lab01_4/Debug/vc120.pdb new file mode 100644 index 0000000..bf8029c Binary files /dev/null and b/Lab01_4/Lab01_4/Debug/vc120.pdb differ diff --git a/Lab01_4/Lab01_4/Lab01_4.cpp b/Lab01_4/Lab01_4/Lab01_4.cpp new file mode 100644 index 0000000..6bda6c8 --- /dev/null +++ b/Lab01_4/Lab01_4/Lab01_4.cpp @@ -0,0 +1,38 @@ +// Lab01_4.cpp : Defines the entry point for the console application. +// +#include "stdafx.h" +#include +#include +#include +#include + +using namespace std; + + int _tmain(){ + int cookie = NULL; + srand(time(NULL)); + cookie = rand() % 4; + + if (cookie == 0){ + cout << "You will have a bad day, sorry."; + } + + if (cookie == 1){ + cout << "You will have an exceptional day!"; + } + + if (cookie == 2){ + cout << "You'll have a 'meh' day."; + } + + if (cookie == 3){ + cout << "You are going to die today."; + } + + if (cookie == 4){ + cout << "You will survive, today."; + } + getchar(); + return 0; + } + diff --git a/Lab01_4/Lab01_4/Lab01_4.vcxproj b/Lab01_4/Lab01_4/Lab01_4.vcxproj new file mode 100644 index 0000000..b9ee395 --- /dev/null +++ b/Lab01_4/Lab01_4/Lab01_4.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {6410E409-42E1-44C7-8EA6-1ED5C9F835E9} + Win32Proj + Lab01_4 + + + + 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/Lab01_4/Lab01_4/Lab01_4.vcxproj.filters b/Lab01_4/Lab01_4/Lab01_4.vcxproj.filters new file mode 100644 index 0000000..fc89aa3 --- /dev/null +++ b/Lab01_4/Lab01_4/Lab01_4.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/Lab01_4/Lab01_4/ReadMe.txt b/Lab01_4/Lab01_4/ReadMe.txt new file mode 100644 index 0000000..874da90 --- /dev/null +++ b/Lab01_4/Lab01_4/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab01_4 Project Overview +======================================================================== + +AppWizard has created this Lab01_4 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab01_4 application. + + +Lab01_4.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. + +Lab01_4.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). + +Lab01_4.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 Lab01_4.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/Lab01_4/Lab01_4/stdafx.cpp b/Lab01_4/Lab01_4/stdafx.cpp new file mode 100644 index 0000000..fc4b7c0 --- /dev/null +++ b/Lab01_4/Lab01_4/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab01_4.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/Lab01_4/Lab01_4/stdafx.h b/Lab01_4/Lab01_4/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab01_4/Lab01_4/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/Lab01_4/Lab01_4/targetver.h b/Lab01_4/Lab01_4/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab01_4/Lab01_4/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/Lab01_4/ipch/lab01_4-a386f3d8/lab01_4-96d969cf.ipch b/Lab01_4/ipch/lab01_4-a386f3d8/lab01_4-96d969cf.ipch new file mode 100644 index 0000000..2a0ce31 Binary files /dev/null and b/Lab01_4/ipch/lab01_4-a386f3d8/lab01_4-96d969cf.ipch differ