diff --git a/Lab_02_1.lnk b/Lab_02_1.lnk new file mode 100644 index 0000000..9a8faf4 Binary files /dev/null and b/Lab_02_1.lnk differ diff --git a/Lab_02_1/Debug/Lab_02_1.exe b/Lab_02_1/Debug/Lab_02_1.exe new file mode 100644 index 0000000..5c7aba2 Binary files /dev/null and b/Lab_02_1/Debug/Lab_02_1.exe differ diff --git a/Lab_02_1/Debug/Lab_02_1.ilk b/Lab_02_1/Debug/Lab_02_1.ilk new file mode 100644 index 0000000..378191e Binary files /dev/null and b/Lab_02_1/Debug/Lab_02_1.ilk differ diff --git a/Lab_02_1/Debug/Lab_02_1.pdb b/Lab_02_1/Debug/Lab_02_1.pdb new file mode 100644 index 0000000..098a055 Binary files /dev/null and b/Lab_02_1/Debug/Lab_02_1.pdb differ diff --git a/Lab_02_1/Lab_02_1.sdf b/Lab_02_1/Lab_02_1.sdf new file mode 100644 index 0000000..0e03df7 Binary files /dev/null and b/Lab_02_1/Lab_02_1.sdf differ diff --git a/Lab_02_1/Lab_02_1.sln b/Lab_02_1/Lab_02_1.sln new file mode 100644 index 0000000..c3483cd --- /dev/null +++ b/Lab_02_1/Lab_02_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_02_1", "Lab_02_1\Lab_02_1.vcxproj", "{A952D02A-A8F2-49EB-AB45-8FF63BAD4746}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A952D02A-A8F2-49EB-AB45-8FF63BAD4746}.Debug|Win32.ActiveCfg = Debug|Win32 + {A952D02A-A8F2-49EB-AB45-8FF63BAD4746}.Debug|Win32.Build.0 = Debug|Win32 + {A952D02A-A8F2-49EB-AB45-8FF63BAD4746}.Release|Win32.ActiveCfg = Release|Win32 + {A952D02A-A8F2-49EB-AB45-8FF63BAD4746}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab_02_1/Lab_02_1.v12.suo b/Lab_02_1/Lab_02_1.v12.suo new file mode 100644 index 0000000..52f609f Binary files /dev/null and b/Lab_02_1/Lab_02_1.v12.suo differ diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.log b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.log new file mode 100644 index 0000000..b1ddd65 --- /dev/null +++ b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.log @@ -0,0 +1,16 @@ +Build started 1/23/2015 11:29:47 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab_02_1\Lab_02_1\Lab_02_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\Lab_02_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\Lab_02_1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab_02_1.cpp + Lab_02_1.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_02\Lab_02_1\Debug\Lab_02_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\Lab_02_1\Debug\Lab_02_1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab_02_1\Debug\Lab_02_1.lib" /MACHINE:X86 Debug\Lab_02_1.obj + Debug\stdafx.obj + Lab_02_1.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab_02_1\Debug\Lab_02_1.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab_02_1\Lab_02_1\Lab_02_1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.22 diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.obj b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.obj new file mode 100644 index 0000000..5a8912c Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.obj differ diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.pch b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.pch new file mode 100644 index 0000000..7b5b609 Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.pch differ diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/CL.read.1.tlog b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..63e7648 Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/CL.read.1.tlog differ diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/CL.write.1.tlog b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..53c845f Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/CL.write.1.tlog differ diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/Lab_02_1.lastbuildstate b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/Lab_02_1.lastbuildstate new file mode 100644 index 0000000..381d19e --- /dev/null +++ b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/Lab_02_1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab_02_1\| diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/cl.command.1.tlog b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..6702cbf Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/cl.command.1.tlog differ diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.command.1.tlog b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.command.1.tlog new file mode 100644 index 0000000..ad300c0 Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.command.1.tlog differ diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.read.1.tlog b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.read.1.tlog new file mode 100644 index 0000000..5179db6 Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.read.1.tlog differ diff --git a/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.write.1.tlog b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.write.1.tlog new file mode 100644 index 0000000..7dbe955 Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/Lab_02_1.tlog/link.write.1.tlog differ diff --git a/Lab_02_1/Lab_02_1/Debug/stdafx.obj b/Lab_02_1/Lab_02_1/Debug/stdafx.obj new file mode 100644 index 0000000..034598a Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/stdafx.obj differ diff --git a/Lab_02_1/Lab_02_1/Debug/vc120.idb b/Lab_02_1/Lab_02_1/Debug/vc120.idb new file mode 100644 index 0000000..4f8854d Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/vc120.idb differ diff --git a/Lab_02_1/Lab_02_1/Debug/vc120.pdb b/Lab_02_1/Lab_02_1/Debug/vc120.pdb new file mode 100644 index 0000000..a15f9b1 Binary files /dev/null and b/Lab_02_1/Lab_02_1/Debug/vc120.pdb differ diff --git a/Lab_02_1/Lab_02_1/Lab_02_1.cpp b/Lab_02_1/Lab_02_1/Lab_02_1.cpp new file mode 100644 index 0000000..a72310d --- /dev/null +++ b/Lab_02_1/Lab_02_1/Lab_02_1.cpp @@ -0,0 +1,44 @@ +#include "stdafx.h" +#include +#include +#include +#include + +#include +#include +#include +using namespace std; + +int flip(); + +int main() +{ + int coin, counter, tails = 0, heads = 0; + for (counter = 1; counter <= 100; counter++) + { + coin = flip(); + + if (coin == 0) + { + cout << "T "; + tails = tails + 1; + } + else if (coin == 1) + { + cout << "H "; + heads = heads + 1; + } + } + + cout << endl; + cout << "Tails was tossed " << tails << " times" << endl; + cout << "Heads was tossed " << heads << " times" << endl; + + _getch(); +} +int flip() +{ + return rand() % 2; + _getch(); + +} \ No newline at end of file diff --git a/Lab_02_1/Lab_02_1/Lab_02_1.vcxproj b/Lab_02_1/Lab_02_1/Lab_02_1.vcxproj new file mode 100644 index 0000000..83aa372 --- /dev/null +++ b/Lab_02_1/Lab_02_1/Lab_02_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {A952D02A-A8F2-49EB-AB45-8FF63BAD4746} + Win32Proj + Lab_02_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_02_1/Lab_02_1/Lab_02_1.vcxproj.filters b/Lab_02_1/Lab_02_1/Lab_02_1.vcxproj.filters new file mode 100644 index 0000000..4515fe1 --- /dev/null +++ b/Lab_02_1/Lab_02_1/Lab_02_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_02_1/Lab_02_1/ReadMe.txt b/Lab_02_1/Lab_02_1/ReadMe.txt new file mode 100644 index 0000000..f5e31db --- /dev/null +++ b/Lab_02_1/Lab_02_1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab_02_1 Project Overview +======================================================================== + +AppWizard has created this Lab_02_1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab_02_1 application. + + +Lab_02_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_02_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_02_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_02_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_02_1/Lab_02_1/stdafx.cpp b/Lab_02_1/Lab_02_1/stdafx.cpp new file mode 100644 index 0000000..353650d --- /dev/null +++ b/Lab_02_1/Lab_02_1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab_02_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_02_1/Lab_02_1/stdafx.h b/Lab_02_1/Lab_02_1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab_02_1/Lab_02_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_02_1/Lab_02_1/targetver.h b/Lab_02_1/Lab_02_1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab_02_1/Lab_02_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_02_1/ipch/lab_02_1-ab23fd90/lab_02_1-c50102ac.ipch b/Lab_02_1/ipch/lab_02_1-ab23fd90/lab_02_1-c50102ac.ipch new file mode 100644 index 0000000..5b942ac Binary files /dev/null and b/Lab_02_1/ipch/lab_02_1-ab23fd90/lab_02_1-c50102ac.ipch differ diff --git a/Lab_02_2/Debug/Lab_02_2.exe b/Lab_02_2/Debug/Lab_02_2.exe new file mode 100644 index 0000000..67578af Binary files /dev/null and b/Lab_02_2/Debug/Lab_02_2.exe differ diff --git a/Lab_02_2/Debug/Lab_02_2.ilk b/Lab_02_2/Debug/Lab_02_2.ilk new file mode 100644 index 0000000..5090b13 Binary files /dev/null and b/Lab_02_2/Debug/Lab_02_2.ilk differ diff --git a/Lab_02_2/Debug/Lab_02_2.pdb b/Lab_02_2/Debug/Lab_02_2.pdb new file mode 100644 index 0000000..44d338e Binary files /dev/null and b/Lab_02_2/Debug/Lab_02_2.pdb differ diff --git a/Lab_02_2/Lab_02_2.sdf b/Lab_02_2/Lab_02_2.sdf new file mode 100644 index 0000000..acd23a7 Binary files /dev/null and b/Lab_02_2/Lab_02_2.sdf differ diff --git a/Lab_02_2/Lab_02_2.sln b/Lab_02_2/Lab_02_2.sln new file mode 100644 index 0000000..b6a54f5 --- /dev/null +++ b/Lab_02_2/Lab_02_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_02_2", "Lab_02_2\Lab_02_2.vcxproj", "{42AB53F5-0223-48B5-9459-EBF57AAC5DA8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {42AB53F5-0223-48B5-9459-EBF57AAC5DA8}.Debug|Win32.ActiveCfg = Debug|Win32 + {42AB53F5-0223-48B5-9459-EBF57AAC5DA8}.Debug|Win32.Build.0 = Debug|Win32 + {42AB53F5-0223-48B5-9459-EBF57AAC5DA8}.Release|Win32.ActiveCfg = Release|Win32 + {42AB53F5-0223-48B5-9459-EBF57AAC5DA8}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab_02_2/Lab_02_2.v12.suo b/Lab_02_2/Lab_02_2.v12.suo new file mode 100644 index 0000000..dd2be84 Binary files /dev/null and b/Lab_02_2/Lab_02_2.v12.suo differ diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.log b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.log new file mode 100644 index 0000000..cc66688 --- /dev/null +++ b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 9:51:03 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab_02_2\Lab_02_2\Lab_02_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_02_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab_02_2.cpp + Lab_02_2.cpp +c:\users\ieuser\cpp_lab_02\lab_02_2\lab_02_2\lab_02_2.cpp(11): 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\Lab_02_2\Debug\Lab_02_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\Lab_02_2\Debug\Lab_02_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab_02_2\Debug\Lab_02_2.lib" /MACHINE:X86 Debug\Lab_02_2.obj + Debug\stdafx.obj + Lab_02_2.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab_02_2\Debug\Lab_02_2.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab_02_2\Lab_02_2\Lab_02_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.23 diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.obj b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.obj new file mode 100644 index 0000000..d11a35a Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.obj differ diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.pch b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.pch new file mode 100644 index 0000000..d47679f Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.pch differ diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/CL.read.1.tlog b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..1933870 Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/CL.read.1.tlog differ diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/CL.write.1.tlog b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..6ecce04 Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/CL.write.1.tlog differ diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/Lab_02_2.lastbuildstate b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/Lab_02_2.lastbuildstate new file mode 100644 index 0000000..1237cdb --- /dev/null +++ b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/Lab_02_2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab_02_2\| diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/cl.command.1.tlog b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..932b8a6 Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/cl.command.1.tlog differ diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.command.1.tlog b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.command.1.tlog new file mode 100644 index 0000000..4b06900 Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.command.1.tlog differ diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.read.1.tlog b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.read.1.tlog new file mode 100644 index 0000000..a054112 Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.read.1.tlog differ diff --git a/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.write.1.tlog b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.write.1.tlog new file mode 100644 index 0000000..31ace79 Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/Lab_02_2.tlog/link.write.1.tlog differ diff --git a/Lab_02_2/Lab_02_2/Debug/stdafx.obj b/Lab_02_2/Lab_02_2/Debug/stdafx.obj new file mode 100644 index 0000000..41b38e2 Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/stdafx.obj differ diff --git a/Lab_02_2/Lab_02_2/Debug/vc120.idb b/Lab_02_2/Lab_02_2/Debug/vc120.idb new file mode 100644 index 0000000..e1ee1a2 Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/vc120.idb differ diff --git a/Lab_02_2/Lab_02_2/Debug/vc120.pdb b/Lab_02_2/Lab_02_2/Debug/vc120.pdb new file mode 100644 index 0000000..855ce8b Binary files /dev/null and b/Lab_02_2/Lab_02_2/Debug/vc120.pdb differ diff --git a/Lab_02_2/Lab_02_2/Lab_02_2.cpp b/Lab_02_2/Lab_02_2/Lab_02_2.cpp new file mode 100644 index 0000000..99e5aef --- /dev/null +++ b/Lab_02_2/Lab_02_2/Lab_02_2.cpp @@ -0,0 +1,54 @@ +#include "stdafx.h" +#include +#include +#include +#include + +using namespace std; + +int _tmain(int argc, _TCHAR* argv[]) +{ + srand(time(NULL)); + + int tries = 0; + int num1; + int UpLim = 100; + int LowLim = 1; + int num2; + + cout << "\tWelcome to Guess My Number\n\n"; + cout << "in this version, the computer tries to guess YOUR number\n\n\n"; + + cout << "Enter a number: "; + cin >> num1; + + do + { + num2 = rand() % (UpLim - LowLim) + LowLim; + + cout << "\nComputer's guess: "; + cout << num2; + ++tries; + + getchar(); + + if (num1 > num2) + { + cout << "\nYou're too low!\n"; + LowLim = num2 + 1; + } + else if (num1 < num2) + { + cout << "\nToo high!\n"; + UpLim = num2 - 1; + } + else if (num1 == num2) + { + cout << "\nYou got my number, You're the man!\n\nYou guessed the number in just " << tries << " tries!"; + } + + } while (num1 != num2); + + getchar(); + return 0; +} diff --git a/Lab_02_2/Lab_02_2/Lab_02_2.vcxproj b/Lab_02_2/Lab_02_2/Lab_02_2.vcxproj new file mode 100644 index 0000000..1abdc71 --- /dev/null +++ b/Lab_02_2/Lab_02_2/Lab_02_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {42AB53F5-0223-48B5-9459-EBF57AAC5DA8} + Win32Proj + Lab_02_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_02_2/Lab_02_2/Lab_02_2.vcxproj.filters b/Lab_02_2/Lab_02_2/Lab_02_2.vcxproj.filters new file mode 100644 index 0000000..376e8cb --- /dev/null +++ b/Lab_02_2/Lab_02_2/Lab_02_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_02_2/Lab_02_2/ReadMe.txt b/Lab_02_2/Lab_02_2/ReadMe.txt new file mode 100644 index 0000000..8085bcd --- /dev/null +++ b/Lab_02_2/Lab_02_2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab_02_2 Project Overview +======================================================================== + +AppWizard has created this Lab_02_2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab_02_2 application. + + +Lab_02_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_02_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_02_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_02_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_02_2/Lab_02_2/stdafx.cpp b/Lab_02_2/Lab_02_2/stdafx.cpp new file mode 100644 index 0000000..7f9ef23 --- /dev/null +++ b/Lab_02_2/Lab_02_2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab_02_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_02_2/Lab_02_2/stdafx.h b/Lab_02_2/Lab_02_2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab_02_2/Lab_02_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_02_2/Lab_02_2/targetver.h b/Lab_02_2/Lab_02_2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab_02_2/Lab_02_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_02_2/ipch/lab_02_2-212fa7f3/lab_02_2-c5131b2d.ipch b/Lab_02_2/ipch/lab_02_2-212fa7f3/lab_02_2-c5131b2d.ipch new file mode 100644 index 0000000..f258b23 Binary files /dev/null and b/Lab_02_2/ipch/lab_02_2-212fa7f3/lab_02_2-c5131b2d.ipch differ diff --git a/Lab_02_3/Debug/Lab_02_3.exe b/Lab_02_3/Debug/Lab_02_3.exe new file mode 100644 index 0000000..51f6d4a Binary files /dev/null and b/Lab_02_3/Debug/Lab_02_3.exe differ diff --git a/Lab_02_3/Debug/Lab_02_3.ilk b/Lab_02_3/Debug/Lab_02_3.ilk new file mode 100644 index 0000000..c874d33 Binary files /dev/null and b/Lab_02_3/Debug/Lab_02_3.ilk differ diff --git a/Lab_02_3/Debug/Lab_02_3.pdb b/Lab_02_3/Debug/Lab_02_3.pdb new file mode 100644 index 0000000..cf5c194 Binary files /dev/null and b/Lab_02_3/Debug/Lab_02_3.pdb differ diff --git a/Lab_02_3/Lab_02_3.sdf b/Lab_02_3/Lab_02_3.sdf new file mode 100644 index 0000000..6993e3d Binary files /dev/null and b/Lab_02_3/Lab_02_3.sdf differ diff --git a/Lab_02_3/Lab_02_3.sln b/Lab_02_3/Lab_02_3.sln new file mode 100644 index 0000000..3a4469a --- /dev/null +++ b/Lab_02_3/Lab_02_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_02_3", "Lab_02_3\Lab_02_3.vcxproj", "{06A46F8A-3ABF-4FC0-93FC-3D74C89033B4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {06A46F8A-3ABF-4FC0-93FC-3D74C89033B4}.Debug|Win32.ActiveCfg = Debug|Win32 + {06A46F8A-3ABF-4FC0-93FC-3D74C89033B4}.Debug|Win32.Build.0 = Debug|Win32 + {06A46F8A-3ABF-4FC0-93FC-3D74C89033B4}.Release|Win32.ActiveCfg = Release|Win32 + {06A46F8A-3ABF-4FC0-93FC-3D74C89033B4}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab_02_3/Lab_02_3.v12.suo b/Lab_02_3/Lab_02_3.v12.suo new file mode 100644 index 0000000..bca91eb Binary files /dev/null and b/Lab_02_3/Lab_02_3.v12.suo differ diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.log b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.log new file mode 100644 index 0000000..232333f --- /dev/null +++ b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.log @@ -0,0 +1,14 @@ +Build started 1/23/2015 11:24:19 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab_02_3\Lab_02_3\Lab_02_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_02_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab_02_3.cpp + Lab_02_3.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_02\Lab_02_3\Debug\Lab_02_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\Lab_02_3\Debug\Lab_02_3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab_02_3\Debug\Lab_02_3.lib" /MACHINE:X86 Debug\Lab_02_3.obj + Debug\stdafx.obj + Lab_02_3.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab_02_3\Debug\Lab_02_3.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab_02_3\Lab_02_3\Lab_02_3.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.03 diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.obj b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.obj new file mode 100644 index 0000000..d1057dd Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.obj differ diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.pch b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.pch new file mode 100644 index 0000000..9571f08 Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.pch differ diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/CL.read.1.tlog b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..039c68e Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/CL.read.1.tlog differ diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/CL.write.1.tlog b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..d7963d2 Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/CL.write.1.tlog differ diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/Lab_02_3.lastbuildstate b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/Lab_02_3.lastbuildstate new file mode 100644 index 0000000..a495759 --- /dev/null +++ b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/Lab_02_3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab_02_3\| diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/cl.command.1.tlog b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..921de44 Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/cl.command.1.tlog differ diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.command.1.tlog b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.command.1.tlog new file mode 100644 index 0000000..7facdd5 Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.command.1.tlog differ diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.read.1.tlog b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.read.1.tlog new file mode 100644 index 0000000..38c87b3 Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.read.1.tlog differ diff --git a/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.write.1.tlog b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.write.1.tlog new file mode 100644 index 0000000..b78b8ac Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/Lab_02_3.tlog/link.write.1.tlog differ diff --git a/Lab_02_3/Lab_02_3/Debug/stdafx.obj b/Lab_02_3/Lab_02_3/Debug/stdafx.obj new file mode 100644 index 0000000..e01966f Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/stdafx.obj differ diff --git a/Lab_02_3/Lab_02_3/Debug/vc120.idb b/Lab_02_3/Lab_02_3/Debug/vc120.idb new file mode 100644 index 0000000..2ba5beb Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/vc120.idb differ diff --git a/Lab_02_3/Lab_02_3/Debug/vc120.pdb b/Lab_02_3/Lab_02_3/Debug/vc120.pdb new file mode 100644 index 0000000..882a8a8 Binary files /dev/null and b/Lab_02_3/Lab_02_3/Debug/vc120.pdb differ diff --git a/Lab_02_3/Lab_02_3/Lab_02_3.cpp b/Lab_02_3/Lab_02_3/Lab_02_3.cpp new file mode 100644 index 0000000..bfa422f --- /dev/null +++ b/Lab_02_3/Lab_02_3/Lab_02_3.cpp @@ -0,0 +1,34 @@ +#include "stdafx.h" +#include +#include +#include +#include + +using namespace std; + +int main(){ + cout << "\nWELCOME to\nDie-Roller!\n\nIntructions:\nTo roll, type the number of dice, then the number\nof sides then any modifiers, all seperated by\nspaces.\n\nlike this: 3 6 -1\nthat woul mean:\nRoll 3 5-sided dice, and subtract 1 from each die\n\nTo exit, enter: 111\nEnjoy! * *******************************\n"; + string ExitWord = ""; + string YourRoll = ""; + int NumberOfDices = 0; + int SideNumber = 0; + int Modifier = 0; + + cout << "Your Roll: "; + + while (ExitWord != "1 1 1"){ + + cin >> YourRoll; + if (YourRoll == ExitWord){ + cout << "Press to Exit." << endl; + getchar();} + else{ + NumberOfDices = YourRoll[0]; + cout << NumberOfDices; + } + + } + + getchar(); //pause the screen. + return 0; +} diff --git a/Lab_02_3/Lab_02_3/Lab_02_3.vcxproj b/Lab_02_3/Lab_02_3/Lab_02_3.vcxproj new file mode 100644 index 0000000..d5f46a6 --- /dev/null +++ b/Lab_02_3/Lab_02_3/Lab_02_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {06A46F8A-3ABF-4FC0-93FC-3D74C89033B4} + Win32Proj + Lab_02_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_02_3/Lab_02_3/Lab_02_3.vcxproj.filters b/Lab_02_3/Lab_02_3/Lab_02_3.vcxproj.filters new file mode 100644 index 0000000..cbb8f8c --- /dev/null +++ b/Lab_02_3/Lab_02_3/Lab_02_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_02_3/Lab_02_3/ReadMe.txt b/Lab_02_3/Lab_02_3/ReadMe.txt new file mode 100644 index 0000000..8d55e43 --- /dev/null +++ b/Lab_02_3/Lab_02_3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab_02_3 Project Overview +======================================================================== + +AppWizard has created this Lab_02_3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab_02_3 application. + + +Lab_02_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_02_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_02_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_02_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_02_3/Lab_02_3/stdafx.cpp b/Lab_02_3/Lab_02_3/stdafx.cpp new file mode 100644 index 0000000..58c9e37 --- /dev/null +++ b/Lab_02_3/Lab_02_3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab_02_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_02_3/Lab_02_3/stdafx.h b/Lab_02_3/Lab_02_3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab_02_3/Lab_02_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_02_3/Lab_02_3/targetver.h b/Lab_02_3/Lab_02_3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab_02_3/Lab_02_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_02_3/ipch/lab_02_3-973b5256/lab_02_3-c52533ae.ipch b/Lab_02_3/ipch/lab_02_3-973b5256/lab_02_3-c52533ae.ipch new file mode 100644 index 0000000..65d9e98 Binary files /dev/null and b/Lab_02_3/ipch/lab_02_3-973b5256/lab_02_3-c52533ae.ipch differ