diff --git a/Lab01_1/Debug/Lab01_1.exe b/Lab01_1/Debug/Lab01_1.exe new file mode 100644 index 0000000..d25ea37 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..6740d17 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..25208fe Binary files /dev/null and b/Lab01_1/Debug/Lab01_1.pdb differ diff --git a/Lab01_1/Lab01_1.sdf b/Lab01_1/Lab01_1.sdf new file mode 100644 index 0000000..8d1c2fe 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..14ffb7e --- /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", "{8DB1BDCF-A395-4103-A62B-C1E2A6701D39}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8DB1BDCF-A395-4103-A62B-C1E2A6701D39}.Debug|Win32.ActiveCfg = Debug|Win32 + {8DB1BDCF-A395-4103-A62B-C1E2A6701D39}.Debug|Win32.Build.0 = Debug|Win32 + {8DB1BDCF-A395-4103-A62B-C1E2A6701D39}.Release|Win32.ActiveCfg = Release|Win32 + {8DB1BDCF-A395-4103-A62B-C1E2A6701D39}.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..b584110 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..0d79c28 --- /dev/null +++ b/Lab01_1/Lab01_1/Debug/Lab01_1.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 4:36:28 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.03 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..486f82c 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..688c001 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..bb61211 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..c6ba1ab 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..fab7b03 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..b513748 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..6152262 --- /dev/null +++ b/Lab01_1/Lab01_1/Lab01_1.cpp @@ -0,0 +1,23 @@ +// Lab01_1.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +using namespace std; + +int main() +{ + cout << "Tell me your favorite foods. "; + string food1; + string food2; + cout << "What is the first food?: "; + getline(cin, food1); + cout << "What is your second food?: "; + getline(cin, food2); + cout << "Both foods: " << food1 << food2; + 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..e060441 --- /dev/null +++ b/Lab01_1/Lab01_1/Lab01_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {8DB1BDCF-A395-4103-A62B-C1E2A6701D39} + 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..a3e2b50 Binary files /dev/null and b/Lab01_1/ipch/lab01_1-893b01cf/lab01_1-96a3204c.ipch differ diff --git a/Lab01_2/Debug/Lab01_2.exe b/Lab01_2/Debug/Lab01_2.exe new file mode 100644 index 0000000..7c5ab97 Binary files /dev/null and b/Lab01_2/Debug/Lab01_2.exe differ diff --git a/Lab01_2/Debug/Lab01_2.ilk b/Lab01_2/Debug/Lab01_2.ilk new file mode 100644 index 0000000..ceea698 Binary files /dev/null and b/Lab01_2/Debug/Lab01_2.ilk differ diff --git a/Lab01_2/Debug/Lab01_2.pdb b/Lab01_2/Debug/Lab01_2.pdb new file mode 100644 index 0000000..a869146 Binary files /dev/null and b/Lab01_2/Debug/Lab01_2.pdb differ diff --git a/Lab01_2/Lab01_2.sdf b/Lab01_2/Lab01_2.sdf new file mode 100644 index 0000000..b17e376 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..b0b97aa --- /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", "{43DDB3E7-9C70-45A7-8FE7-AC0C0FEC2B61}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {43DDB3E7-9C70-45A7-8FE7-AC0C0FEC2B61}.Debug|Win32.ActiveCfg = Debug|Win32 + {43DDB3E7-9C70-45A7-8FE7-AC0C0FEC2B61}.Debug|Win32.Build.0 = Debug|Win32 + {43DDB3E7-9C70-45A7-8FE7-AC0C0FEC2B61}.Release|Win32.ActiveCfg = Release|Win32 + {43DDB3E7-9C70-45A7-8FE7-AC0C0FEC2B61}.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..d77fbb5 Binary files /dev/null and b/Lab01_2/Lab01_2.v12.suo differ diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.log b/Lab01_2/Lab01_2/Debug/Lab01_2.log new file mode 100644 index 0000000..93393e3 --- /dev/null +++ b/Lab01_2/Lab01_2/Debug/Lab01_2.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 5:05:30 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Lab01_2\Lab01_2\Lab01_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\Lab01_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab01_2.cpp + Lab01_2.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Lab01_2\Debug\Lab01_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\Lab01_2\Debug\Lab01_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Lab01_2\Debug\Lab01_2.lib" /MACHINE:X86 Debug\Lab01_2.obj + Debug\stdafx.obj + Lab01_2.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Lab01_2\Debug\Lab01_2.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Lab01_2\Lab01_2\Lab01_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.18 diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.obj b/Lab01_2/Lab01_2/Debug/Lab01_2.obj new file mode 100644 index 0000000..2fececf Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/Lab01_2.obj differ diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.pch b/Lab01_2/Lab01_2/Debug/Lab01_2.pch new file mode 100644 index 0000000..c902f7f Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/Lab01_2.pch differ diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/CL.read.1.tlog b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..e768610 Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/CL.read.1.tlog differ diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/CL.write.1.tlog b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..569d3d6 Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/CL.write.1.tlog differ diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/Lab01_2.lastbuildstate b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/Lab01_2.lastbuildstate new file mode 100644 index 0000000..cb3efd9 --- /dev/null +++ b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/Lab01_2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Lab01_2\| diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/cl.command.1.tlog b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..5a46477 Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/cl.command.1.tlog differ diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.command.1.tlog b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.command.1.tlog new file mode 100644 index 0000000..b64ceb2 Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.command.1.tlog differ diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.read.1.tlog b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.read.1.tlog new file mode 100644 index 0000000..48a453d Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.read.1.tlog differ diff --git a/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.write.1.tlog b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.write.1.tlog new file mode 100644 index 0000000..465f4ce Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/Lab01_2.tlog/link.write.1.tlog differ diff --git a/Lab01_2/Lab01_2/Debug/stdafx.obj b/Lab01_2/Lab01_2/Debug/stdafx.obj new file mode 100644 index 0000000..806b140 Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/stdafx.obj differ diff --git a/Lab01_2/Lab01_2/Debug/vc120.idb b/Lab01_2/Lab01_2/Debug/vc120.idb new file mode 100644 index 0000000..ed2251a Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/vc120.idb differ diff --git a/Lab01_2/Lab01_2/Debug/vc120.pdb b/Lab01_2/Lab01_2/Debug/vc120.pdb new file mode 100644 index 0000000..30171bc Binary files /dev/null and b/Lab01_2/Lab01_2/Debug/vc120.pdb 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..f0e1b28 --- /dev/null +++ b/Lab01_2/Lab01_2/Lab01_2.cpp @@ -0,0 +1,20 @@ +// Lab01_2.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +using namespace std; + +int main() +{ + float total; + cout << "Please enter a bill total: "; + cin >> total; + getchar(); + cout << "15% of the tip is: " << total*.15 << endl; + cout << "20% of the tip is: " << total*.20 << endl; + getchar(); + return 0; +} + diff --git a/Lab01_2/Lab01_2/Lab01_2.vcxproj b/Lab01_2/Lab01_2/Lab01_2.vcxproj new file mode 100644 index 0000000..5f943b7 --- /dev/null +++ b/Lab01_2/Lab01_2/Lab01_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {43DDB3E7-9C70-45A7-8FE7-AC0C0FEC2B61} + 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..43218c7 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..08e4eda 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..4da122e 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..d6282ac 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..00fa0f7 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..435bc33 --- /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", "{3E0658A6-A0A9-4AA2-A283-921610CEB600}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3E0658A6-A0A9-4AA2-A283-921610CEB600}.Debug|Win32.ActiveCfg = Debug|Win32 + {3E0658A6-A0A9-4AA2-A283-921610CEB600}.Debug|Win32.Build.0 = Debug|Win32 + {3E0658A6-A0A9-4AA2-A283-921610CEB600}.Release|Win32.ActiveCfg = Release|Win32 + {3E0658A6-A0A9-4AA2-A283-921610CEB600}.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..416a3bf 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..55d17a3 --- /dev/null +++ b/Lab01_3/Lab01_3/Debug/Lab01_3.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 5:39:35 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.67 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..daae891 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..68eb509 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..e223bf5 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..c4a3150 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..d429e55 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..d70c017 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..761ae9a --- /dev/null +++ b/Lab01_3/Lab01_3/Lab01_3.cpp @@ -0,0 +1,26 @@ +// Lab01_3.cpp : Defines the entry point for the console application. +// +#Contributions: Tom +#include "stdafx.h" +#include +#include +using namespace std; + +int main() +{ + double base = 0; + int dealershipCharge = 50; + int destinationCharge = 50; + cout << "Enter base price for car: "; + cin >> base; + getchar(); + double tax = base*.15; + double License = base*.15; + double Total = base + dealershipCharge + destinationCharge + tax + License; + cout << "The total price of the car is " << Total << "." << endl; + 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..55a8f62 --- /dev/null +++ b/Lab01_3/Lab01_3/Lab01_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {3E0658A6-A0A9-4AA2-A283-921610CEB600} + 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..ac6f4a2 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..45bcc33 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..e08e579 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..e549e74 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..2c40074 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..f50880d --- /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", "{6E7F4258-F3CB-4709-8FBD-5CD251C7B287}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6E7F4258-F3CB-4709-8FBD-5CD251C7B287}.Debug|Win32.ActiveCfg = Debug|Win32 + {6E7F4258-F3CB-4709-8FBD-5CD251C7B287}.Debug|Win32.Build.0 = Debug|Win32 + {6E7F4258-F3CB-4709-8FBD-5CD251C7B287}.Release|Win32.ActiveCfg = Release|Win32 + {6E7F4258-F3CB-4709-8FBD-5CD251C7B287}.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..84d473b 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..2960635 --- /dev/null +++ b/Lab01_4/Lab01_4/Debug/Lab01_4.log @@ -0,0 +1,15 @@ +Build started 1/21/2015 6:26:42 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.20 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..5c1de1a 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..f6a3fe9 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..c66f53f 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..6897b89 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..0d4a830 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..a70c02b 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..08863db --- /dev/null +++ b/Lab01_4/Lab01_4/Lab01_4.cpp @@ -0,0 +1,37 @@ +// Lab01_4.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +#include +using namespace std; + +int main() +{ + int number; + srand(time(0)); + number = rand() % 5 + 1; + if (number == 1) { + cout << "You will find many riches"; + } + if (number == 2){ + cout << "A very special event will take place soon"; + } + + if (number == 3){ + cout << "Your life will change abrubtly soon.."; + } + + if (number == 4){ + cout << "Great things are in store for you"; + } + + if (number == 5){ + cout << "Stay true to yourself and things will stay on course for you"; + } + + 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..06c8869 --- /dev/null +++ b/Lab01_4/Lab01_4/Lab01_4.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {6E7F4258-F3CB-4709-8FBD-5CD251C7B287} + 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..f1eaaf8 Binary files /dev/null and b/Lab01_4/ipch/lab01_4-a386f3d8/lab01_4-96d969cf.ipch differ