diff --git a/Lab02_1/Debug/Lab02_1.exe b/Lab02_1/Debug/Lab02_1.exe new file mode 100644 index 0000000..4f7d917 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..d54a4bc 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..95760e6 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..7a26f06 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..1882d9e --- /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", "{BBA45318-45AD-4569-ACC1-E6C841A0339D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BBA45318-45AD-4569-ACC1-E6C841A0339D}.Debug|Win32.ActiveCfg = Debug|Win32 + {BBA45318-45AD-4569-ACC1-E6C841A0339D}.Debug|Win32.Build.0 = Debug|Win32 + {BBA45318-45AD-4569-ACC1-E6C841A0339D}.Release|Win32.ActiveCfg = Release|Win32 + {BBA45318-45AD-4569-ACC1-E6C841A0339D}.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..964637d 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..6188214 --- /dev/null +++ b/Lab02_1/Lab02_1/Debug/Lab02_1.log @@ -0,0 +1,17 @@ +Build started 3/5/2015 4:35:34 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 /Yc"stdafx.h" /Fp"Debug\Lab02_1.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_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(18): 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:03.64 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..91d0b5f 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..fcc80b8 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..972fa22 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..fc45772 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..56d8b40 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..7d5698e 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..22353e7 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.cpp @@ -0,0 +1,36 @@ + + +#include "stdafx.h" +#include +#include +#include + + + using namespace std; + + +int main(){ + + int coinToss = 0; + int coin = 0; + int heads = 0; + int tails = 0; + srand(time(NULL)); + + while (coinToss < 100){ + coin = rand() % 2; + if (coin == 1){ + heads++; + } + else{ + tails++; + } + coinToss++; + } + cout << "Result: " << endl; + cout << heads << " heads and " << tails << " tails." << endl; + + getchar(); + return 0; + +} \ No newline at end of file diff --git a/Lab02_1/Lab02_1/Lab02_1.vcxproj b/Lab02_1/Lab02_1/Lab02_1.vcxproj new file mode 100644 index 0000000..7ad2123 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {BBA45318-45AD-4569-ACC1-E6C841A0339D} + 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..baf1cb6 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..0d29f9a 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..efae6ba 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..b97c7fb 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..abe4c4d 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..c63cefe --- /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", "{DD1217FC-524C-4E0E-A675-B131AAB61717}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DD1217FC-524C-4E0E-A675-B131AAB61717}.Debug|Win32.ActiveCfg = Debug|Win32 + {DD1217FC-524C-4E0E-A675-B131AAB61717}.Debug|Win32.Build.0 = Debug|Win32 + {DD1217FC-524C-4E0E-A675-B131AAB61717}.Release|Win32.ActiveCfg = Release|Win32 + {DD1217FC-524C-4E0E-A675-B131AAB61717}.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..275b5f7 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..4c63e0c --- /dev/null +++ b/Lab02_2/Lab02_2/Debug/Lab02_2.log @@ -0,0 +1,14 @@ +Build started 3/5/2015 4:53:58 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 +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:02.75 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..af3e80a 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..0d77cc5 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..fa66c69 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..9af01f6 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..991dba9 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..b2a56a4 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..73ef801 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..daf07c4 --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.cpp @@ -0,0 +1,41 @@ +// Lab02_2.cpp : Defines the entry point for the console application. + + #include "stdafx.h" + #include + #include + #include + using namespace std; + + + +int main(){ + int Random_Number = 0; + int Guess = 0; + Random_Number = rand() % 100 + 1; + cout << "Welcome to Guess my Number!" << endl; + cout << "This is a game where I guess a random number between 1 to 100." << endl; + cout << "And you get to guess it!" << endl; + while (Guess != Random_Number) + { + cout << "Guess: "; + cin >> Guess; + if (Guess > Random_Number){ + cout << "Too High! Please Guess again!" << endl; + + } + else if (Guess < Random_Number){ + cout << "Too Low! Please Guess again!" << endl; + + } + else{ + cout << "You got It!" << endl; + + } + } + cout << "You got it the number was " << Random_Number << endl; + cout << "Please press enter to exit."; + getchar(); + getchar(); + return 0; + +} \ No newline at end of file diff --git a/Lab02_2/Lab02_2/Lab02_2.vcxproj b/Lab02_2/Lab02_2/Lab02_2.vcxproj new file mode 100644 index 0000000..e6c3e0f --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {DD1217FC-524C-4E0E-A675-B131AAB61717} + 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..e205ebd 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..362c276 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..0350264 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..e130a89 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..8151014 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..50f9a57 --- /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", "{DB05861C-1F91-4C88-B54B-8C068181F229}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DB05861C-1F91-4C88-B54B-8C068181F229}.Debug|Win32.ActiveCfg = Debug|Win32 + {DB05861C-1F91-4C88-B54B-8C068181F229}.Debug|Win32.Build.0 = Debug|Win32 + {DB05861C-1F91-4C88-B54B-8C068181F229}.Release|Win32.ActiveCfg = Release|Win32 + {DB05861C-1F91-4C88-B54B-8C068181F229}.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..8a6aa50 Binary files /dev/null and b/Lab02_3/Lab02_3.v12.suo differ 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..b6d5c54 --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.log @@ -0,0 +1,18 @@ +Build started 3/5/2015 5:53:48 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_3\Lab02_3\Lab02_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 /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(28): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\lab02_3.cpp(40): warning C4390: ';' : empty controlled statement found; is this the intent? +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" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.72 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..96cc9a2 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..b89592c 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..db1278a 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..412acc0 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..a6b7e42 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..48d173c 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..b3ad4d2 --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.cpp @@ -0,0 +1,58 @@ +// Lab02_3.cpp : Defines the entry point for the console application. +#include "stdafx.h" + #include + #include + #include + #include + using namespace std; + +int main() +{ + cout << "WELCOME to " << endl; + cout << "Die -Roller!" << endl; + cout << "*" << endl; + cout << "Instructions: *" << endl; + cout << "To roll, type the number of dice, then the number *" << endl; + cout << "of sides then any modifiers, all separated by *" << endl; + cout << "spaces. *" << endl; + cout << "*" << endl; + cout << "like this: 3 6 -1 *" << endl; + cout << "that would mean: *" << endl; + cout << "Roll 3 6-sided dice, and subtract 1 from each die *" << endl; + cout << "*" << endl; + cout << "To exit, enter: 1 1 1 *" << endl; + cout << "ENJOY! ********************************************************" << endl; + cout << endl; + //_____________________________________________________________________________________ + + srand(time(0)); + int dieNum = 0; + int dieSide = 0; + int dieMod = 0; + int sideRoll = 0; + int roll = 0; + int TotalRoll = 0; + + while (TotalRoll != 3){ + cout << "Your Roll: "; + cin >> dieNum >> dieSide >> dieMod; + TotalRoll = dieNum + dieSide + dieMod; + if (TotalRoll > 3); { + for (int count = 0; count < dieNum; count++){ + sideRoll = rand() % dieSide + 1; + + roll = roll + (sideRoll + dieMod); + } + cout << "You rolled " << dieNum << " " << dieSide << "-sided dice. " << dieMod << " was modified for each roll." << endl; + cout << "Total roll: " << TotalRoll << 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..7c1ab3f --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {DB05861C-1F91-4C88-B54B-8C068181F229} + 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..c7e1d80 Binary files /dev/null and b/Lab02_3/ipch/lab02_3-4b004499/lab02_3-e3c18e0f.ipch differ