diff --git a/Lab02_1/Debug/Lab02_1.exe b/Lab02_1/Debug/Lab02_1.exe new file mode 100644 index 0000000..24847ee Binary files /dev/null and b/Lab02_1/Debug/Lab02_1.exe differ diff --git a/Lab02_1/Debug/Lab02_1.ilk b/Lab02_1/Debug/Lab02_1.ilk new file mode 100644 index 0000000..2a8c5a6 Binary files /dev/null and b/Lab02_1/Debug/Lab02_1.ilk differ diff --git a/Lab02_1/Debug/Lab02_1.pdb b/Lab02_1/Debug/Lab02_1.pdb new file mode 100644 index 0000000..c0f1620 Binary files /dev/null and b/Lab02_1/Debug/Lab02_1.pdb differ diff --git a/Lab02_1/Lab02_1.sdf b/Lab02_1/Lab02_1.sdf new file mode 100644 index 0000000..c2dc203 Binary files /dev/null and b/Lab02_1/Lab02_1.sdf differ diff --git a/Lab02_1/Lab02_1.sln b/Lab02_1/Lab02_1.sln new file mode 100644 index 0000000..999cfff --- /dev/null +++ b/Lab02_1/Lab02_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}") = "Lab02_1", "Lab02_1\Lab02_1.vcxproj", "{C8C2AE9B-5BA6-4FA4-9311-76FBBC6E47B6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C8C2AE9B-5BA6-4FA4-9311-76FBBC6E47B6}.Debug|Win32.ActiveCfg = Debug|Win32 + {C8C2AE9B-5BA6-4FA4-9311-76FBBC6E47B6}.Debug|Win32.Build.0 = Debug|Win32 + {C8C2AE9B-5BA6-4FA4-9311-76FBBC6E47B6}.Release|Win32.ActiveCfg = Release|Win32 + {C8C2AE9B-5BA6-4FA4-9311-76FBBC6E47B6}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab02_1/Lab02_1.v12.suo b/Lab02_1/Lab02_1.v12.suo new file mode 100644 index 0000000..f80a71c Binary files /dev/null and b/Lab02_1/Lab02_1.v12.suo differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.log b/Lab02_1/Lab02_1/Debug/Lab02_1.log new file mode 100644 index 0000000..a49401c --- /dev/null +++ b/Lab02_1/Lab02_1/Debug/Lab02_1.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 9:44:07 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Lab02_1\Lab02_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\Lab02_1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_1.cpp + Lab02_1.cpp +c:\users\ieuser\cpp_lab_02\lab02_1\lab02_1\lab02_1.cpp(19): 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_02\Lab02_1\Debug\Lab02_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_02\Lab02_1\Debug\Lab02_1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Debug\Lab02_1.lib" /MACHINE:X86 Debug\Lab02_1.obj + Debug\stdafx.obj + Lab02_1.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Debug\Lab02_1.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Lab02_1\Lab02_1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.17 diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.obj b/Lab02_1/Lab02_1/Debug/Lab02_1.obj new file mode 100644 index 0000000..7008193 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.obj differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.pch b/Lab02_1/Lab02_1/Debug/Lab02_1.pch new file mode 100644 index 0000000..44dbda2 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.pch differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.read.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..ecf5c70 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.read.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..72c02dd Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate new file mode 100644 index 0000000..bf781df --- /dev/null +++ b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab02_1\| diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..ba765d1 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog new file mode 100644 index 0000000..57f9c66 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog new file mode 100644 index 0000000..ac6ee31 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog new file mode 100644 index 0000000..3481a89 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/stdafx.obj b/Lab02_1/Lab02_1/Debug/stdafx.obj new file mode 100644 index 0000000..f1077ed Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/stdafx.obj differ diff --git a/Lab02_1/Lab02_1/Debug/vc120.idb b/Lab02_1/Lab02_1/Debug/vc120.idb new file mode 100644 index 0000000..75489e6 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/vc120.idb differ diff --git a/Lab02_1/Lab02_1/Debug/vc120.pdb b/Lab02_1/Lab02_1/Debug/vc120.pdb new file mode 100644 index 0000000..a7c1237 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/vc120.pdb differ diff --git a/Lab02_1/Lab02_1/Lab02_1.cpp b/Lab02_1/Lab02_1/Lab02_1.cpp new file mode 100644 index 0000000..ff90dd5 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.cpp @@ -0,0 +1,36 @@ +// Lab02_1.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +#include +using namespace std; + +int main() +{ + int flip; + int total; + int heads; + int tails; + heads = 0; + tails = 0; + total = 0; + srand(time(0)); + while (total != 100) { + flip = 3; + flip = rand() % 2; + if (flip == 0){ + heads = heads + 1; + total = total + 1; + } + else if (flip == 1){ + tails = tails + 1; + total = total + 1; + } + } + cout << "Heads " << heads << endl; + cout << "Tails " << tails; + getchar(); + return 0; +} diff --git a/Lab02_1/Lab02_1/Lab02_1.vcxproj b/Lab02_1/Lab02_1/Lab02_1.vcxproj new file mode 100644 index 0000000..21c5127 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {C8C2AE9B-5BA6-4FA4-9311-76FBBC6E47B6} + Win32Proj + Lab02_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/Lab02_1/Lab02_1/Lab02_1.vcxproj.filters b/Lab02_1/Lab02_1/Lab02_1.vcxproj.filters new file mode 100644 index 0000000..b7527b6 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_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/Lab02_1/Lab02_1/ReadMe.txt b/Lab02_1/Lab02_1/ReadMe.txt new file mode 100644 index 0000000..e37dae6 --- /dev/null +++ b/Lab02_1/Lab02_1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab02_1 Project Overview +======================================================================== + +AppWizard has created this Lab02_1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab02_1 application. + + +Lab02_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. + +Lab02_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). + +Lab02_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 Lab02_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/Lab02_1/Lab02_1/stdafx.cpp b/Lab02_1/Lab02_1/stdafx.cpp new file mode 100644 index 0000000..8e24dcc --- /dev/null +++ b/Lab02_1/Lab02_1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab02_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/Lab02_1/Lab02_1/stdafx.h b/Lab02_1/Lab02_1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab02_1/Lab02_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/Lab02_1/Lab02_1/targetver.h b/Lab02_1/Lab02_1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab02_1/Lab02_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/Lab02_1/ipch/lab02_1-e422f893/lab02_1-e39d5d0d.ipch b/Lab02_1/ipch/lab02_1-e422f893/lab02_1-e39d5d0d.ipch new file mode 100644 index 0000000..6df4e49 Binary files /dev/null and b/Lab02_1/ipch/lab02_1-e422f893/lab02_1-e39d5d0d.ipch differ diff --git a/Lab02_2/Debug/Lab02_2.exe b/Lab02_2/Debug/Lab02_2.exe new file mode 100644 index 0000000..6c2bce0 Binary files /dev/null and b/Lab02_2/Debug/Lab02_2.exe differ diff --git a/Lab02_2/Debug/Lab02_2.ilk b/Lab02_2/Debug/Lab02_2.ilk new file mode 100644 index 0000000..355e197 Binary files /dev/null and b/Lab02_2/Debug/Lab02_2.ilk differ diff --git a/Lab02_2/Debug/Lab02_2.pdb b/Lab02_2/Debug/Lab02_2.pdb new file mode 100644 index 0000000..73a1d55 Binary files /dev/null and b/Lab02_2/Debug/Lab02_2.pdb differ diff --git a/Lab02_2/Lab02_2.sdf b/Lab02_2/Lab02_2.sdf new file mode 100644 index 0000000..6d2f7b2 Binary files /dev/null and b/Lab02_2/Lab02_2.sdf differ diff --git a/Lab02_2/Lab02_2.sln b/Lab02_2/Lab02_2.sln new file mode 100644 index 0000000..1083c00 --- /dev/null +++ b/Lab02_2/Lab02_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}") = "Lab02_2", "Lab02_2\Lab02_2.vcxproj", "{64A5A645-1C94-4B95-A757-8CF15A3AEF23}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {64A5A645-1C94-4B95-A757-8CF15A3AEF23}.Debug|Win32.ActiveCfg = Debug|Win32 + {64A5A645-1C94-4B95-A757-8CF15A3AEF23}.Debug|Win32.Build.0 = Debug|Win32 + {64A5A645-1C94-4B95-A757-8CF15A3AEF23}.Release|Win32.ActiveCfg = Release|Win32 + {64A5A645-1C94-4B95-A757-8CF15A3AEF23}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab02_2/Lab02_2.v12.suo b/Lab02_2/Lab02_2.v12.suo new file mode 100644 index 0000000..7f1fc87 Binary files /dev/null and b/Lab02_2/Lab02_2.v12.suo differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.log b/Lab02_2/Lab02_2/Debug/Lab02_2.log new file mode 100644 index 0000000..8c44a40 --- /dev/null +++ b/Lab02_2/Lab02_2/Debug/Lab02_2.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 10:18:44 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Lab02_2\Lab02_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\Lab02_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_2.cpp + Lab02_2.cpp +c:\users\ieuser\cpp_lab_02\lab02_2\lab02_2\lab02_2.cpp(17): 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_02\Lab02_2\Debug\Lab02_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_02\Lab02_2\Debug\Lab02_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.lib" /MACHINE:X86 Debug\Lab02_2.obj + Debug\stdafx.obj + Lab02_2.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Lab02_2\Lab02_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.23 diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.obj b/Lab02_2/Lab02_2/Debug/Lab02_2.obj new file mode 100644 index 0000000..5c9fd04 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.obj differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.pch b/Lab02_2/Lab02_2/Debug/Lab02_2.pch new file mode 100644 index 0000000..9f346da Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.pch differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.read.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..775a1ce Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.read.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.write.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..c8033c7 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.write.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/Lab02_2.lastbuildstate b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/Lab02_2.lastbuildstate new file mode 100644 index 0000000..45f7cda --- /dev/null +++ b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/Lab02_2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab02_2\| diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/cl.command.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..24d7d38 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/cl.command.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.command.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.command.1.tlog new file mode 100644 index 0000000..1988b7e Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.command.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.read.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.read.1.tlog new file mode 100644 index 0000000..37d4bdb Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.read.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.write.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.write.1.tlog new file mode 100644 index 0000000..cf04787 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.write.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/stdafx.obj b/Lab02_2/Lab02_2/Debug/stdafx.obj new file mode 100644 index 0000000..8794b95 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/stdafx.obj differ diff --git a/Lab02_2/Lab02_2/Debug/vc120.idb b/Lab02_2/Lab02_2/Debug/vc120.idb new file mode 100644 index 0000000..0483072 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/vc120.idb differ diff --git a/Lab02_2/Lab02_2/Debug/vc120.pdb b/Lab02_2/Lab02_2/Debug/vc120.pdb new file mode 100644 index 0000000..24af705 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/vc120.pdb differ diff --git a/Lab02_2/Lab02_2/Lab02_2.cpp b/Lab02_2/Lab02_2/Lab02_2.cpp new file mode 100644 index 0000000..ca1ff8d --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.cpp @@ -0,0 +1,36 @@ +// Lab02_2.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +#include + +using namespace std; + + +int main() +{ + int number; + int guess; + guess = -1; + srand(time(0)); + number = rand() % 101; + cout << "Guess a number between 0 and 100: "; + cin >> guess; + while (guess != number){ + if (guess > number){ + cout << "Lower: "; + cin >> guess; + } + else if (guess < number){ + cout << "Higher: "; + cin >> guess; + } + } + cout << "Correct, the number was " << number << "." << endl; + + getchar(); + return 0; +} + diff --git a/Lab02_2/Lab02_2/Lab02_2.vcxproj b/Lab02_2/Lab02_2/Lab02_2.vcxproj new file mode 100644 index 0000000..2d84547 --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {64A5A645-1C94-4B95-A757-8CF15A3AEF23} + Win32Proj + Lab02_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/Lab02_2/Lab02_2/Lab02_2.vcxproj.filters b/Lab02_2/Lab02_2/Lab02_2.vcxproj.filters new file mode 100644 index 0000000..cce239d --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_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/Lab02_2/Lab02_2/ReadMe.txt b/Lab02_2/Lab02_2/ReadMe.txt new file mode 100644 index 0000000..367b068 --- /dev/null +++ b/Lab02_2/Lab02_2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab02_2 Project Overview +======================================================================== + +AppWizard has created this Lab02_2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab02_2 application. + + +Lab02_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. + +Lab02_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). + +Lab02_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 Lab02_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/Lab02_2/Lab02_2/stdafx.cpp b/Lab02_2/Lab02_2/stdafx.cpp new file mode 100644 index 0000000..6e725e2 --- /dev/null +++ b/Lab02_2/Lab02_2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab02_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/Lab02_2/Lab02_2/stdafx.h b/Lab02_2/Lab02_2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab02_2/Lab02_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/Lab02_2/Lab02_2/targetver.h b/Lab02_2/Lab02_2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab02_2/Lab02_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/Lab02_2/ipch/lab02_2-97919e96/lab02_2-e3af758e.ipch b/Lab02_2/ipch/lab02_2-97919e96/lab02_2-e3af758e.ipch new file mode 100644 index 0000000..da55e2d Binary files /dev/null and b/Lab02_2/ipch/lab02_2-97919e96/lab02_2-e3af758e.ipch differ diff --git a/Lab02_3/Debug/Lab02_3.exe b/Lab02_3/Debug/Lab02_3.exe new file mode 100644 index 0000000..b84cc9e Binary files /dev/null and b/Lab02_3/Debug/Lab02_3.exe differ diff --git a/Lab02_3/Debug/Lab02_3.ilk b/Lab02_3/Debug/Lab02_3.ilk new file mode 100644 index 0000000..8d74c0b Binary files /dev/null and b/Lab02_3/Debug/Lab02_3.ilk differ diff --git a/Lab02_3/Debug/Lab02_3.pdb b/Lab02_3/Debug/Lab02_3.pdb new file mode 100644 index 0000000..39869fb Binary files /dev/null and b/Lab02_3/Debug/Lab02_3.pdb differ diff --git a/Lab02_3/Lab02_3.sdf b/Lab02_3/Lab02_3.sdf new file mode 100644 index 0000000..d3ae42f Binary files /dev/null and b/Lab02_3/Lab02_3.sdf differ diff --git a/Lab02_3/Lab02_3.sln b/Lab02_3/Lab02_3.sln new file mode 100644 index 0000000..b51d468 --- /dev/null +++ b/Lab02_3/Lab02_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}") = "Lab02_3", "Lab02_3\Lab02_3.vcxproj", "{6225211D-8019-408E-9988-E8781C96E149}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6225211D-8019-408E-9988-E8781C96E149}.Debug|Win32.ActiveCfg = Debug|Win32 + {6225211D-8019-408E-9988-E8781C96E149}.Debug|Win32.Build.0 = Debug|Win32 + {6225211D-8019-408E-9988-E8781C96E149}.Release|Win32.ActiveCfg = Release|Win32 + {6225211D-8019-408E-9988-E8781C96E149}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab02_3/Lab02_3.v12.suo b/Lab02_3/Lab02_3.v12.suo new file mode 100644 index 0000000..1d3053c Binary files /dev/null and b/Lab02_3/Lab02_3.v12.suo differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.Build.CppClean.log b/Lab02_3/Lab02_3/Debug/Lab02_3.Build.CppClean.log new file mode 100644 index 0000000..4b9d3d8 --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.Build.CppClean.log @@ -0,0 +1,12 @@ +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.pch +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\vc120.pdb +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\vc120.idb +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\stdafx.obj +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.obj +c:\users\ieuser\cpp_lab_02\lab02_3\debug\lab02_3.exe +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\cl.command.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\cl.read.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\cl.write.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\link.command.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\link.read.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\link.write.1.tlog diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.log b/Lab02_3/Lab02_3/Debug/Lab02_3.log new file mode 100644 index 0000000..a1aeac3 --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.log @@ -0,0 +1,17 @@ +Build started 1/23/2015 11:43:30 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_3\Lab02_3\Lab02_3.vcxproj" on node 2 (Rebuild 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 /Yc"stdafx.h" /Fp"Debug\Lab02_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt stdafx.cpp + stdafx.cpp + 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\Lab02_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_3.cpp + Lab02_3.cpp +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\lab02_3.cpp(21): 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_02\Lab02_3\Debug\Lab02_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_02\Lab02_3\Debug\Lab02_3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab02_3\Debug\Lab02_3.lib" /MACHINE:X86 Debug\Lab02_3.obj + Debug\stdafx.obj + Lab02_3.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab02_3\Debug\Lab02_3.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_3\Lab02_3\Lab02_3.vcxproj" (Rebuild target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.68 diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.obj b/Lab02_3/Lab02_3/Debug/Lab02_3.obj new file mode 100644 index 0000000..f1d06c3 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.obj differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.pch b/Lab02_3/Lab02_3/Debug/Lab02_3.pch new file mode 100644 index 0000000..8ff9450 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.pch differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.read.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..3c233cc Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.read.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.write.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..66de9cc Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.write.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate new file mode 100644 index 0000000..972d52e --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab02_3\| diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..576d682 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog new file mode 100644 index 0000000..e19157c Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog new file mode 100644 index 0000000..9ae9df6 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog new file mode 100644 index 0000000..78fc7aa Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/stdafx.obj b/Lab02_3/Lab02_3/Debug/stdafx.obj new file mode 100644 index 0000000..76022ee Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/stdafx.obj differ diff --git a/Lab02_3/Lab02_3/Debug/vc120.idb b/Lab02_3/Lab02_3/Debug/vc120.idb new file mode 100644 index 0000000..bf5b6a9 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/vc120.idb differ diff --git a/Lab02_3/Lab02_3/Debug/vc120.pdb b/Lab02_3/Lab02_3/Debug/vc120.pdb new file mode 100644 index 0000000..8848f98 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/vc120.pdb differ diff --git a/Lab02_3/Lab02_3/Lab02_3.cpp b/Lab02_3/Lab02_3/Lab02_3.cpp new file mode 100644 index 0000000..acce066 --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.cpp @@ -0,0 +1,47 @@ +// Lab02_3.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +#include +using namespace std; + + +int main() +{ + int dice=0; + int side=0; + int mod=0; + int count; + int total; + int roll; + bool again = true; + + srand(time(0)); + cout << "WELCOME to" << endl << "Die-Roller!" << endl << endl; + cout << "Instructions: " << endl << "To roll, type the number of dice, then the number" << endl << "of sides then any modifiers, all seperated by" << endl << "spaces." << endl << endl; + cout << "Like this : 3 6 -1" << endl << "That would mean" << endl << "Roll 3 6-sided dice, and subtract 1 from each die" << endl << endl; + cout << "To exit enter 1 1 1" << endl << "ENJOY!" << endl; + while (again==true){ + cin >> dice >> side >> mod; + total = 0; + count = 0; + if (dice == 1 && side == 1 && mod == 1){ + again = false; + } + cout << dice << side << mod << endl; + cout << "Results: "; + while (count != dice){ + count = count + 1; + roll = rand() % side + 1 + mod; + cout << roll << " "; + total += roll; + + } + cout << endl << "Total: " << total << endl; + } + getchar(); + return 0; +} + diff --git a/Lab02_3/Lab02_3/Lab02_3.vcxproj b/Lab02_3/Lab02_3/Lab02_3.vcxproj new file mode 100644 index 0000000..b4e7796 --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {6225211D-8019-408E-9988-E8781C96E149} + Win32Proj + Lab02_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/Lab02_3/Lab02_3/Lab02_3.vcxproj.filters b/Lab02_3/Lab02_3/Lab02_3.vcxproj.filters new file mode 100644 index 0000000..9cc0dec --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_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/Lab02_3/Lab02_3/ReadMe.txt b/Lab02_3/Lab02_3/ReadMe.txt new file mode 100644 index 0000000..0d0dacd --- /dev/null +++ b/Lab02_3/Lab02_3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab02_3 Project Overview +======================================================================== + +AppWizard has created this Lab02_3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab02_3 application. + + +Lab02_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. + +Lab02_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). + +Lab02_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 Lab02_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/Lab02_3/Lab02_3/stdafx.cpp b/Lab02_3/Lab02_3/stdafx.cpp new file mode 100644 index 0000000..985f418 --- /dev/null +++ b/Lab02_3/Lab02_3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab02_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/Lab02_3/Lab02_3/stdafx.h b/Lab02_3/Lab02_3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab02_3/Lab02_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/Lab02_3/Lab02_3/targetver.h b/Lab02_3/Lab02_3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab02_3/Lab02_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/Lab02_3/ipch/lab02_3-4b004499/lab02_3-e3c18e0f.ipch b/Lab02_3/ipch/lab02_3-4b004499/lab02_3-e3c18e0f.ipch new file mode 100644 index 0000000..e7816c5 Binary files /dev/null and b/Lab02_3/ipch/lab02_3-4b004499/lab02_3-e3c18e0f.ipch differ