diff --git a/Lab_01_1/Debug/Lab_01_1.exe b/Lab_01_1/Debug/Lab_01_1.exe new file mode 100644 index 0000000..61597b7 Binary files /dev/null and b/Lab_01_1/Debug/Lab_01_1.exe differ diff --git a/Lab_01_1/Debug/Lab_01_1.ilk b/Lab_01_1/Debug/Lab_01_1.ilk new file mode 100644 index 0000000..ee05763 Binary files /dev/null and b/Lab_01_1/Debug/Lab_01_1.ilk differ diff --git a/Lab_01_1/Debug/Lab_01_1.pdb b/Lab_01_1/Debug/Lab_01_1.pdb new file mode 100644 index 0000000..62577e0 Binary files /dev/null and b/Lab_01_1/Debug/Lab_01_1.pdb differ diff --git a/Lab_01_1/Lab_01_1.sdf b/Lab_01_1/Lab_01_1.sdf new file mode 100644 index 0000000..0ebcbc9 Binary files /dev/null and b/Lab_01_1/Lab_01_1.sdf differ diff --git a/Lab_01_1/Lab_01_1.sln b/Lab_01_1/Lab_01_1.sln new file mode 100644 index 0000000..43445d2 --- /dev/null +++ b/Lab_01_1/Lab_01_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}") = "Lab_01_1", "Lab_01_1\Lab_01_1.vcxproj", "{8135AB4B-E5C7-408A-8A92-07D6E4F2A6A7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8135AB4B-E5C7-408A-8A92-07D6E4F2A6A7}.Debug|Win32.ActiveCfg = Debug|Win32 + {8135AB4B-E5C7-408A-8A92-07D6E4F2A6A7}.Debug|Win32.Build.0 = Debug|Win32 + {8135AB4B-E5C7-408A-8A92-07D6E4F2A6A7}.Release|Win32.ActiveCfg = Release|Win32 + {8135AB4B-E5C7-408A-8A92-07D6E4F2A6A7}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab_01_1/Lab_01_1.v12.suo b/Lab_01_1/Lab_01_1.v12.suo new file mode 100644 index 0000000..0865b0b Binary files /dev/null and b/Lab_01_1/Lab_01_1.v12.suo differ diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.log b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.log new file mode 100644 index 0000000..12c4ff8 --- /dev/null +++ b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 9:53:12 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Lab_01_1\Lab_01_1\Lab_01_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\Lab_01_1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab_01_1.cpp + Lab_01_1.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Lab_01_1\Debug\Lab_01_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\Lab_01_1\Debug\Lab_01_1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Lab_01_1\Debug\Lab_01_1.lib" /MACHINE:X86 Debug\Lab_01_1.obj + Debug\stdafx.obj + Lab_01_1.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Lab_01_1\Debug\Lab_01_1.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Lab_01_1\Lab_01_1\Lab_01_1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.25 diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.obj b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.obj new file mode 100644 index 0000000..06824be Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.obj differ diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.pch b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.pch new file mode 100644 index 0000000..8742298 Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.pch differ diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/CL.read.1.tlog b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..4617971 Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/CL.read.1.tlog differ diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/CL.write.1.tlog b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..55e7e27 Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/CL.write.1.tlog differ diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/Lab_01_1.lastbuildstate b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/Lab_01_1.lastbuildstate new file mode 100644 index 0000000..2925cb9 --- /dev/null +++ b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/Lab_01_1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Lab_01_1\| diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/cl.command.1.tlog b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..5aee51e Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/cl.command.1.tlog differ diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.command.1.tlog b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.command.1.tlog new file mode 100644 index 0000000..7ac683b Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.command.1.tlog differ diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.read.1.tlog b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.read.1.tlog new file mode 100644 index 0000000..031f67b Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.read.1.tlog differ diff --git a/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.write.1.tlog b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.write.1.tlog new file mode 100644 index 0000000..bf74181 Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/Lab_01_1.tlog/link.write.1.tlog differ diff --git a/Lab_01_1/Lab_01_1/Debug/stdafx.obj b/Lab_01_1/Lab_01_1/Debug/stdafx.obj new file mode 100644 index 0000000..58ffa80 Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/stdafx.obj differ diff --git a/Lab_01_1/Lab_01_1/Debug/vc120.idb b/Lab_01_1/Lab_01_1/Debug/vc120.idb new file mode 100644 index 0000000..4d7e660 Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/vc120.idb differ diff --git a/Lab_01_1/Lab_01_1/Debug/vc120.pdb b/Lab_01_1/Lab_01_1/Debug/vc120.pdb new file mode 100644 index 0000000..e7e844f Binary files /dev/null and b/Lab_01_1/Lab_01_1/Debug/vc120.pdb differ diff --git a/Lab_01_1/Lab_01_1/Lab_01_1.cpp b/Lab_01_1/Lab_01_1/Lab_01_1.cpp new file mode 100644 index 0000000..91410d6 --- /dev/null +++ b/Lab_01_1/Lab_01_1/Lab_01_1.cpp @@ -0,0 +1,20 @@ +// Lab_01_1.cpp : Defines the entry point for the console application. +// +#include "stdafx.h" +#include +#include + +using namespace std; + +int main(){ + string food1 = ""; + string food2 = ""; + cout << "What is your first favorite food? "; + getline(cin, food1); + cout << "What is your second favorite food? "; + getline(cin, food2); + cout << "Combined food: " << food1 << " " << food2; + + getchar(); //pause the screen. + return 0; +} \ No newline at end of file diff --git a/Lab_01_1/Lab_01_1/Lab_01_1.vcxproj b/Lab_01_1/Lab_01_1/Lab_01_1.vcxproj new file mode 100644 index 0000000..e2f2c30 --- /dev/null +++ b/Lab_01_1/Lab_01_1/Lab_01_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {8135AB4B-E5C7-408A-8A92-07D6E4F2A6A7} + Win32Proj + Lab_01_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/Lab_01_1/Lab_01_1/Lab_01_1.vcxproj.filters b/Lab_01_1/Lab_01_1/Lab_01_1.vcxproj.filters new file mode 100644 index 0000000..0d49090 --- /dev/null +++ b/Lab_01_1/Lab_01_1/Lab_01_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/Lab_01_1/Lab_01_1/ReadMe.txt b/Lab_01_1/Lab_01_1/ReadMe.txt new file mode 100644 index 0000000..130c7b4 --- /dev/null +++ b/Lab_01_1/Lab_01_1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab_01_1 Project Overview +======================================================================== + +AppWizard has created this Lab_01_1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab_01_1 application. + + +Lab_01_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. + +Lab_01_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). + +Lab_01_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 Lab_01_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/Lab_01_1/Lab_01_1/stdafx.cpp b/Lab_01_1/Lab_01_1/stdafx.cpp new file mode 100644 index 0000000..459ea06 --- /dev/null +++ b/Lab_01_1/Lab_01_1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab_01_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/Lab_01_1/Lab_01_1/stdafx.h b/Lab_01_1/Lab_01_1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab_01_1/Lab_01_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/Lab_01_1/Lab_01_1/targetver.h b/Lab_01_1/Lab_01_1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab_01_1/Lab_01_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/Lab_01_1/ipch/lab_01_1-7e325e0c/lab_01_1-7806c5eb.ipch b/Lab_01_1/ipch/lab_01_1-7e325e0c/lab_01_1-7806c5eb.ipch new file mode 100644 index 0000000..abfa227 Binary files /dev/null and b/Lab_01_1/ipch/lab_01_1-7e325e0c/lab_01_1-7806c5eb.ipch differ diff --git a/Lab_01_2/Debug/Lab_01_2.exe b/Lab_01_2/Debug/Lab_01_2.exe new file mode 100644 index 0000000..dc71ee1 Binary files /dev/null and b/Lab_01_2/Debug/Lab_01_2.exe differ diff --git a/Lab_01_2/Debug/Lab_01_2.ilk b/Lab_01_2/Debug/Lab_01_2.ilk new file mode 100644 index 0000000..b0c65eb Binary files /dev/null and b/Lab_01_2/Debug/Lab_01_2.ilk differ diff --git a/Lab_01_2/Debug/Lab_01_2.pdb b/Lab_01_2/Debug/Lab_01_2.pdb new file mode 100644 index 0000000..1ae04b1 Binary files /dev/null and b/Lab_01_2/Debug/Lab_01_2.pdb differ diff --git a/Lab_01_2/Lab_01_2.sdf b/Lab_01_2/Lab_01_2.sdf new file mode 100644 index 0000000..724fee6 Binary files /dev/null and b/Lab_01_2/Lab_01_2.sdf differ diff --git a/Lab_01_2/Lab_01_2.sln b/Lab_01_2/Lab_01_2.sln new file mode 100644 index 0000000..7f451c7 --- /dev/null +++ b/Lab_01_2/Lab_01_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}") = "Lab_01_2", "Lab_01_2\Lab_01_2.vcxproj", "{197669BA-6B24-4675-835C-D378505CA8DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {197669BA-6B24-4675-835C-D378505CA8DD}.Debug|Win32.ActiveCfg = Debug|Win32 + {197669BA-6B24-4675-835C-D378505CA8DD}.Debug|Win32.Build.0 = Debug|Win32 + {197669BA-6B24-4675-835C-D378505CA8DD}.Release|Win32.ActiveCfg = Release|Win32 + {197669BA-6B24-4675-835C-D378505CA8DD}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab_01_2/Lab_01_2.v12.suo b/Lab_01_2/Lab_01_2.v12.suo new file mode 100644 index 0000000..6c94013 Binary files /dev/null and b/Lab_01_2/Lab_01_2.v12.suo differ diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.log b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.log new file mode 100644 index 0000000..c0b5aeb --- /dev/null +++ b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 10:18:00 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Lab_01_2\Lab_01_2\Lab_01_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\Lab_01_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab_01_2.cpp + Lab_01_2.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Lab_01_2\Debug\Lab_01_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\Lab_01_2\Debug\Lab_01_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Lab_01_2\Debug\Lab_01_2.lib" /MACHINE:X86 Debug\Lab_01_2.obj + Debug\stdafx.obj + Lab_01_2.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Lab_01_2\Debug\Lab_01_2.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Lab_01_2\Lab_01_2\Lab_01_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.67 diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.obj b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.obj new file mode 100644 index 0000000..fab1a5d Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.obj differ diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.pch b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.pch new file mode 100644 index 0000000..0537a13 Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.pch differ diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/CL.read.1.tlog b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..1b7216c Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/CL.read.1.tlog differ diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/CL.write.1.tlog b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..ee79e67 Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/CL.write.1.tlog differ diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/Lab_01_2.lastbuildstate b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/Lab_01_2.lastbuildstate new file mode 100644 index 0000000..8b99f95 --- /dev/null +++ b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/Lab_01_2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Lab_01_2\| diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/cl.command.1.tlog b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..eba27b7 Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/cl.command.1.tlog differ diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.command.1.tlog b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.command.1.tlog new file mode 100644 index 0000000..491a5d9 Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.command.1.tlog differ diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.read.1.tlog b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.read.1.tlog new file mode 100644 index 0000000..aa8836e Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.read.1.tlog differ diff --git a/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.write.1.tlog b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.write.1.tlog new file mode 100644 index 0000000..8401133 Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/Lab_01_2.tlog/link.write.1.tlog differ diff --git a/Lab_01_2/Lab_01_2/Debug/stdafx.obj b/Lab_01_2/Lab_01_2/Debug/stdafx.obj new file mode 100644 index 0000000..5fe1748 Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/stdafx.obj differ diff --git a/Lab_01_2/Lab_01_2/Debug/vc120.idb b/Lab_01_2/Lab_01_2/Debug/vc120.idb new file mode 100644 index 0000000..d63ff62 Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/vc120.idb differ diff --git a/Lab_01_2/Lab_01_2/Debug/vc120.pdb b/Lab_01_2/Lab_01_2/Debug/vc120.pdb new file mode 100644 index 0000000..fe04a3f Binary files /dev/null and b/Lab_01_2/Lab_01_2/Debug/vc120.pdb differ diff --git a/Lab_01_2/Lab_01_2/Lab_01_2.cpp b/Lab_01_2/Lab_01_2/Lab_01_2.cpp new file mode 100644 index 0000000..b70cc70 --- /dev/null +++ b/Lab_01_2/Lab_01_2/Lab_01_2.cpp @@ -0,0 +1,19 @@ +// Lab_01_2.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +using namespace std; + +int main(){ + float total = 0.0; + cout << "Total Bill: "; + cin >> total; + getchar(); + cout << "15% tip: " << total*.15; + cout << "20% tip: " << total* .20; + + getchar(); //pause the screen. + return 0; +} \ No newline at end of file diff --git a/Lab_01_2/Lab_01_2/Lab_01_2.vcxproj b/Lab_01_2/Lab_01_2/Lab_01_2.vcxproj new file mode 100644 index 0000000..7afcf4e --- /dev/null +++ b/Lab_01_2/Lab_01_2/Lab_01_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {197669BA-6B24-4675-835C-D378505CA8DD} + Win32Proj + Lab_01_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/Lab_01_2/Lab_01_2/Lab_01_2.vcxproj.filters b/Lab_01_2/Lab_01_2/Lab_01_2.vcxproj.filters new file mode 100644 index 0000000..7843dd4 --- /dev/null +++ b/Lab_01_2/Lab_01_2/Lab_01_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/Lab_01_2/Lab_01_2/ReadMe.txt b/Lab_01_2/Lab_01_2/ReadMe.txt new file mode 100644 index 0000000..3d6d4fd --- /dev/null +++ b/Lab_01_2/Lab_01_2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab_01_2 Project Overview +======================================================================== + +AppWizard has created this Lab_01_2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab_01_2 application. + + +Lab_01_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. + +Lab_01_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). + +Lab_01_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 Lab_01_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/Lab_01_2/Lab_01_2/stdafx.cpp b/Lab_01_2/Lab_01_2/stdafx.cpp new file mode 100644 index 0000000..75b2bc0 --- /dev/null +++ b/Lab_01_2/Lab_01_2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab_01_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/Lab_01_2/Lab_01_2/stdafx.h b/Lab_01_2/Lab_01_2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab_01_2/Lab_01_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/Lab_01_2/Lab_01_2/targetver.h b/Lab_01_2/Lab_01_2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab_01_2/Lab_01_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/Lab_01_2/ipch/lab_01_2-f43e086f/lab_01_2-7818de6c.ipch b/Lab_01_2/ipch/lab_01_2-f43e086f/lab_01_2-7818de6c.ipch new file mode 100644 index 0000000..22aca36 Binary files /dev/null and b/Lab_01_2/ipch/lab_01_2-f43e086f/lab_01_2-7818de6c.ipch differ diff --git a/Lab_01_3/Debug/Lab_01_3.exe b/Lab_01_3/Debug/Lab_01_3.exe new file mode 100644 index 0000000..8432ff8 Binary files /dev/null and b/Lab_01_3/Debug/Lab_01_3.exe differ diff --git a/Lab_01_3/Debug/Lab_01_3.ilk b/Lab_01_3/Debug/Lab_01_3.ilk new file mode 100644 index 0000000..e20fd2d Binary files /dev/null and b/Lab_01_3/Debug/Lab_01_3.ilk differ diff --git a/Lab_01_3/Debug/Lab_01_3.pdb b/Lab_01_3/Debug/Lab_01_3.pdb new file mode 100644 index 0000000..69458c7 Binary files /dev/null and b/Lab_01_3/Debug/Lab_01_3.pdb differ diff --git a/Lab_01_3/Lab_01_3.sdf b/Lab_01_3/Lab_01_3.sdf new file mode 100644 index 0000000..1db438f Binary files /dev/null and b/Lab_01_3/Lab_01_3.sdf differ diff --git a/Lab_01_3/Lab_01_3.sln b/Lab_01_3/Lab_01_3.sln new file mode 100644 index 0000000..e39548d --- /dev/null +++ b/Lab_01_3/Lab_01_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}") = "Lab_01_3", "Lab_01_3\Lab_01_3.vcxproj", "{83D6E0E8-AD0A-4F57-8C7A-D9235BC025B1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {83D6E0E8-AD0A-4F57-8C7A-D9235BC025B1}.Debug|Win32.ActiveCfg = Debug|Win32 + {83D6E0E8-AD0A-4F57-8C7A-D9235BC025B1}.Debug|Win32.Build.0 = Debug|Win32 + {83D6E0E8-AD0A-4F57-8C7A-D9235BC025B1}.Release|Win32.ActiveCfg = Release|Win32 + {83D6E0E8-AD0A-4F57-8C7A-D9235BC025B1}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab_01_3/Lab_01_3.v12.suo b/Lab_01_3/Lab_01_3.v12.suo new file mode 100644 index 0000000..4b9b4e1 Binary files /dev/null and b/Lab_01_3/Lab_01_3.v12.suo differ diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.log b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.log new file mode 100644 index 0000000..9d11147 --- /dev/null +++ b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 10:41:59 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Lab_01_3\Lab_01_3\Lab_01_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\Lab_01_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab_01_3.cpp + Lab_01_3.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_01\Lab_01_3\Debug\Lab_01_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\Lab_01_3\Debug\Lab_01_3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Lab_01_3\Debug\Lab_01_3.lib" /MACHINE:X86 Debug\Lab_01_3.obj + Debug\stdafx.obj + Lab_01_3.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Lab_01_3\Debug\Lab_01_3.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Lab_01_3\Lab_01_3\Lab_01_3.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.42 diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.obj b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.obj new file mode 100644 index 0000000..0622028 Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.obj differ diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.pch b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.pch new file mode 100644 index 0000000..a299ba5 Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.pch differ diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/CL.read.1.tlog b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..1288642 Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/CL.read.1.tlog differ diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/CL.write.1.tlog b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..8a6554a Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/CL.write.1.tlog differ diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/Lab_01_3.lastbuildstate b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/Lab_01_3.lastbuildstate new file mode 100644 index 0000000..20b0965 --- /dev/null +++ b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/Lab_01_3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Lab_01_3\| diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/cl.command.1.tlog b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..78600ec Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/cl.command.1.tlog differ diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.command.1.tlog b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.command.1.tlog new file mode 100644 index 0000000..76e01bc Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.command.1.tlog differ diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.read.1.tlog b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.read.1.tlog new file mode 100644 index 0000000..318766a Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.read.1.tlog differ diff --git a/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.write.1.tlog b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.write.1.tlog new file mode 100644 index 0000000..b21bf59 Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/Lab_01_3.tlog/link.write.1.tlog differ diff --git a/Lab_01_3/Lab_01_3/Debug/stdafx.obj b/Lab_01_3/Lab_01_3/Debug/stdafx.obj new file mode 100644 index 0000000..fc45c2c Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/stdafx.obj differ diff --git a/Lab_01_3/Lab_01_3/Debug/vc120.idb b/Lab_01_3/Lab_01_3/Debug/vc120.idb new file mode 100644 index 0000000..bde6d12 Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/vc120.idb differ diff --git a/Lab_01_3/Lab_01_3/Debug/vc120.pdb b/Lab_01_3/Lab_01_3/Debug/vc120.pdb new file mode 100644 index 0000000..465887c Binary files /dev/null and b/Lab_01_3/Lab_01_3/Debug/vc120.pdb differ diff --git a/Lab_01_3/Lab_01_3/Lab_01_3.cpp b/Lab_01_3/Lab_01_3/Lab_01_3.cpp new file mode 100644 index 0000000..fb36957 --- /dev/null +++ b/Lab_01_3/Lab_01_3/Lab_01_3.cpp @@ -0,0 +1,28 @@ +//Joe Carty +//1/21/15 +// Contibutions: Tom Morrissey + +#include "stdafx.h" +#include +#include +using namespace std; + +int main(){ + double basePrice = 0; + cout << "Enter base price. "; + cin >> basePrice; + getchar(); + double tax = basePrice*1.08; + double licencePrice = basePrice*1.03; + int dealerPrep = 300; + int destCharge = 300; + double totalPrice = basePrice + tax + licencePrice + dealerPrep + destCharge; + + cout << "Total Price: " << totalPrice; + getchar(); + + + + getchar(); //pause the screen. + return 0; +} \ No newline at end of file diff --git a/Lab_01_3/Lab_01_3/Lab_01_3.vcxproj b/Lab_01_3/Lab_01_3/Lab_01_3.vcxproj new file mode 100644 index 0000000..1f974f3 --- /dev/null +++ b/Lab_01_3/Lab_01_3/Lab_01_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {83D6E0E8-AD0A-4F57-8C7A-D9235BC025B1} + Win32Proj + Lab_01_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/Lab_01_3/Lab_01_3/Lab_01_3.vcxproj.filters b/Lab_01_3/Lab_01_3/Lab_01_3.vcxproj.filters new file mode 100644 index 0000000..7193303 --- /dev/null +++ b/Lab_01_3/Lab_01_3/Lab_01_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/Lab_01_3/Lab_01_3/ReadMe.txt b/Lab_01_3/Lab_01_3/ReadMe.txt new file mode 100644 index 0000000..204e34d --- /dev/null +++ b/Lab_01_3/Lab_01_3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab_01_3 Project Overview +======================================================================== + +AppWizard has created this Lab_01_3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab_01_3 application. + + +Lab_01_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. + +Lab_01_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). + +Lab_01_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 Lab_01_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/Lab_01_3/Lab_01_3/stdafx.cpp b/Lab_01_3/Lab_01_3/stdafx.cpp new file mode 100644 index 0000000..7d603d0 --- /dev/null +++ b/Lab_01_3/Lab_01_3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab_01_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/Lab_01_3/Lab_01_3/stdafx.h b/Lab_01_3/Lab_01_3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab_01_3/Lab_01_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/Lab_01_3/Lab_01_3/targetver.h b/Lab_01_3/Lab_01_3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab_01_3/Lab_01_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/Lab_01_3/ipch/lab_01_3-6a49b2d2/lab_01_3-782af6ed.ipch b/Lab_01_3/ipch/lab_01_3-6a49b2d2/lab_01_3-782af6ed.ipch new file mode 100644 index 0000000..fa6371b Binary files /dev/null and b/Lab_01_3/ipch/lab_01_3-6a49b2d2/lab_01_3-782af6ed.ipch differ diff --git a/Lab_01_4/Debug/Lab_01_4.exe b/Lab_01_4/Debug/Lab_01_4.exe new file mode 100644 index 0000000..21fd8d3 Binary files /dev/null and b/Lab_01_4/Debug/Lab_01_4.exe differ diff --git a/Lab_01_4/Debug/Lab_01_4.ilk b/Lab_01_4/Debug/Lab_01_4.ilk new file mode 100644 index 0000000..f99ddb4 Binary files /dev/null and b/Lab_01_4/Debug/Lab_01_4.ilk differ diff --git a/Lab_01_4/Debug/Lab_01_4.pdb b/Lab_01_4/Debug/Lab_01_4.pdb new file mode 100644 index 0000000..4040919 Binary files /dev/null and b/Lab_01_4/Debug/Lab_01_4.pdb differ diff --git a/Lab_01_4/Lab_01_4.sdf b/Lab_01_4/Lab_01_4.sdf new file mode 100644 index 0000000..825ad62 Binary files /dev/null and b/Lab_01_4/Lab_01_4.sdf differ diff --git a/Lab_01_4/Lab_01_4.sln b/Lab_01_4/Lab_01_4.sln new file mode 100644 index 0000000..b9c5deb --- /dev/null +++ b/Lab_01_4/Lab_01_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}") = "Lab_01_4", "Lab_01_4\Lab_01_4.vcxproj", "{68DE092F-526D-478C-B3E5-C2EFCE113692}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {68DE092F-526D-478C-B3E5-C2EFCE113692}.Debug|Win32.ActiveCfg = Debug|Win32 + {68DE092F-526D-478C-B3E5-C2EFCE113692}.Debug|Win32.Build.0 = Debug|Win32 + {68DE092F-526D-478C-B3E5-C2EFCE113692}.Release|Win32.ActiveCfg = Release|Win32 + {68DE092F-526D-478C-B3E5-C2EFCE113692}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab_01_4/Lab_01_4.v12.suo b/Lab_01_4/Lab_01_4.v12.suo new file mode 100644 index 0000000..c082072 Binary files /dev/null and b/Lab_01_4/Lab_01_4.v12.suo differ diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.log b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.log new file mode 100644 index 0000000..a336d75 --- /dev/null +++ b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.log @@ -0,0 +1,15 @@ +Build started 1/21/2015 11:33:54 AM. +Project "C:\Users\IEUser\Cpp_Lab_01\Lab_01_4\Lab_01_4\Lab_01_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\Lab_01_4.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab_01_4.cpp + Lab_01_4.cpp +c:\users\ieuser\cpp_lab_01\lab_01_4\lab_01_4\lab_01_4.cpp(16): 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\Lab_01_4\Debug\Lab_01_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\Lab_01_4\Debug\Lab_01_4.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_01\Lab_01_4\Debug\Lab_01_4.lib" /MACHINE:X86 Debug\Lab_01_4.obj + Debug\stdafx.obj + Lab_01_4.vcxproj -> C:\Users\IEUser\Cpp_Lab_01\Lab_01_4\Debug\Lab_01_4.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_01\Lab_01_4\Lab_01_4\Lab_01_4.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.78 diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.obj b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.obj new file mode 100644 index 0000000..9f3f404 Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.obj differ diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.pch b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.pch new file mode 100644 index 0000000..bc7ff11 Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.pch differ diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/CL.read.1.tlog b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/CL.read.1.tlog new file mode 100644 index 0000000..f995e3e Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/CL.read.1.tlog differ diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/CL.write.1.tlog b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/CL.write.1.tlog new file mode 100644 index 0000000..eef5042 Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/CL.write.1.tlog differ diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/Lab_01_4.lastbuildstate b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/Lab_01_4.lastbuildstate new file mode 100644 index 0000000..7377059 --- /dev/null +++ b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/Lab_01_4.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_01\Lab_01_4\| diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/cl.command.1.tlog b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/cl.command.1.tlog new file mode 100644 index 0000000..2a6abbe Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/cl.command.1.tlog differ diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.command.1.tlog b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.command.1.tlog new file mode 100644 index 0000000..a0e7c53 Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.command.1.tlog differ diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.read.1.tlog b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.read.1.tlog new file mode 100644 index 0000000..c028180 Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.read.1.tlog differ diff --git a/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.write.1.tlog b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.write.1.tlog new file mode 100644 index 0000000..0ca1b08 Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/Lab_01_4.tlog/link.write.1.tlog differ diff --git a/Lab_01_4/Lab_01_4/Debug/stdafx.obj b/Lab_01_4/Lab_01_4/Debug/stdafx.obj new file mode 100644 index 0000000..55b8d20 Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/stdafx.obj differ diff --git a/Lab_01_4/Lab_01_4/Debug/vc120.idb b/Lab_01_4/Lab_01_4/Debug/vc120.idb new file mode 100644 index 0000000..f10119b Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/vc120.idb differ diff --git a/Lab_01_4/Lab_01_4/Debug/vc120.pdb b/Lab_01_4/Lab_01_4/Debug/vc120.pdb new file mode 100644 index 0000000..f647684 Binary files /dev/null and b/Lab_01_4/Lab_01_4/Debug/vc120.pdb differ diff --git a/Lab_01_4/Lab_01_4/Lab_01_4.cpp b/Lab_01_4/Lab_01_4/Lab_01_4.cpp new file mode 100644 index 0000000..1f0dfa2 --- /dev/null +++ b/Lab_01_4/Lab_01_4/Lab_01_4.cpp @@ -0,0 +1,40 @@ + + + + + +#include "stdafx.h" +#include +#include +#include +#include + +using namespace std; + +int main(){ + +srand(time(0)); + int number = rand() % 5 + 1; + if (number == 1) { + cout << "Watch your back. "; + } + if (number == 2) { + cout << "Good comes to those who are patient. "; + } + getchar(); + + if (number == 3) { + cout << "He who climbs a ladder must begin at the first step. "; + } + + if (number == 4) { + cout << "Today is going to be a disasterous day, be prepared. "; + } + + if (number == 5) { + cout << "You will take a pleasant journey to a place far away. "; + } + + getchar(); //pause the screen. + return 0; +} \ No newline at end of file diff --git a/Lab_01_4/Lab_01_4/Lab_01_4.vcxproj b/Lab_01_4/Lab_01_4/Lab_01_4.vcxproj new file mode 100644 index 0000000..723e13c --- /dev/null +++ b/Lab_01_4/Lab_01_4/Lab_01_4.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {68DE092F-526D-478C-B3E5-C2EFCE113692} + Win32Proj + Lab_01_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/Lab_01_4/Lab_01_4/Lab_01_4.vcxproj.filters b/Lab_01_4/Lab_01_4/Lab_01_4.vcxproj.filters new file mode 100644 index 0000000..4f6407b --- /dev/null +++ b/Lab_01_4/Lab_01_4/Lab_01_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/Lab_01_4/Lab_01_4/ReadMe.txt b/Lab_01_4/Lab_01_4/ReadMe.txt new file mode 100644 index 0000000..c79a88d --- /dev/null +++ b/Lab_01_4/Lab_01_4/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab_01_4 Project Overview +======================================================================== + +AppWizard has created this Lab_01_4 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab_01_4 application. + + +Lab_01_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. + +Lab_01_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). + +Lab_01_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 Lab_01_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/Lab_01_4/Lab_01_4/stdafx.cpp b/Lab_01_4/Lab_01_4/stdafx.cpp new file mode 100644 index 0000000..6d07e72 --- /dev/null +++ b/Lab_01_4/Lab_01_4/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab_01_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/Lab_01_4/Lab_01_4/stdafx.h b/Lab_01_4/Lab_01_4/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab_01_4/Lab_01_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/Lab_01_4/Lab_01_4/targetver.h b/Lab_01_4/Lab_01_4/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab_01_4/Lab_01_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/Lab_01_4/ipch/lab_01_4-e0555d35/lab_01_4-783d0f6e.ipch b/Lab_01_4/ipch/lab_01_4-e0555d35/lab_01_4-783d0f6e.ipch new file mode 100644 index 0000000..d100696 Binary files /dev/null and b/Lab_01_4/ipch/lab_01_4-e0555d35/lab_01_4-783d0f6e.ipch differ