diff --git a/Lab02_2/Debug/Lab02_2.exe b/Lab02_2/Debug/Lab02_2.exe new file mode 100644 index 0000000..60ea572 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..d34ff16 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..8416724 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..79eedf5 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..9815cef --- /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", "{17A7DE6D-D7C9-4F45-ADE5-188CE0C87F28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {17A7DE6D-D7C9-4F45-ADE5-188CE0C87F28}.Debug|Win32.ActiveCfg = Debug|Win32 + {17A7DE6D-D7C9-4F45-ADE5-188CE0C87F28}.Debug|Win32.Build.0 = Debug|Win32 + {17A7DE6D-D7C9-4F45-ADE5-188CE0C87F28}.Release|Win32.ActiveCfg = Release|Win32 + {17A7DE6D-D7C9-4F45-ADE5-188CE0C87F28}.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..79d0eeb 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..4a482dc --- /dev/null +++ b/Lab02_2/Lab02_2/Debug/Lab02_2.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 6:05:26 AM. +Project "C:\Users\IEUser\Desktop\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\desktop\cpp_lab_02\lab02_2\lab02_2\lab02_2.cpp(16): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Desktop\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\Desktop\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.lib" /MACHINE:X86 Debug\Lab02_2.obj + Debug\stdafx.obj + Lab02_2.vcxproj -> C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.exe +Done Building Project "C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab02_2\Lab02_2\Lab02_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.10 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..52b74ac 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..13c0dff 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..cee6f2f 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..0ac7735 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..637db7d --- /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\Desktop\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..9e3f8b8 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..ea60844 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..58da0db 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..dd7e87f 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..52c8282 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..bfe62c9 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..a1cd7ea 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..8d1b5e4 --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.cpp @@ -0,0 +1,47 @@ +// Lab02_2.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include + +using namespace std; + + +int _tmain(int argc, _TCHAR* argv[]) +{ + cout << "Welcome to 'Guess My Number'!" << endl + << "I'm thinking of a number between 1 and 100." << endl + << "Try to guess it in as few attempts as possible." << endl; + srand(time(NULL)); + int theNumber = rand() % (100 + 1); + int tries = 0; + int guess; + + cout << "Take a guess: "; + cin >> guess; + + while (guess != theNumber) + { + if (guess < theNumber) + { + cout << "Higher..." << endl; + tries++; + } + else + { + cout << "Lower..." << endl; + tries++; + } + cout << "Take a guess: "; + cin >> guess; + } + cout << "You guess it! The number was " << theNumber << endl; + cin.ignore(); + cout << "And it only took you " << tries << " tries!" << endl; + cout << " to Exit"; + cin.ignore(); + + 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..e63e65c --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {17A7DE6D-D7C9-4F45-ADE5-188CE0C87F28} + 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-960d434c/lab02_2-e3af758e.ipch b/Lab02_2/ipch/lab02_2-960d434c/lab02_2-e3af758e.ipch new file mode 100644 index 0000000..06d0c34 Binary files /dev/null and b/Lab02_2/ipch/lab02_2-960d434c/lab02_2-e3af758e.ipch differ diff --git a/Lab2_03/Debug/Lab2_03.exe b/Lab2_03/Debug/Lab2_03.exe new file mode 100644 index 0000000..e2e7d2c Binary files /dev/null and b/Lab2_03/Debug/Lab2_03.exe differ diff --git a/Lab2_03/Debug/Lab2_03.ilk b/Lab2_03/Debug/Lab2_03.ilk new file mode 100644 index 0000000..3d2f1db Binary files /dev/null and b/Lab2_03/Debug/Lab2_03.ilk differ diff --git a/Lab2_03/Debug/Lab2_03.pdb b/Lab2_03/Debug/Lab2_03.pdb new file mode 100644 index 0000000..8f77f78 Binary files /dev/null and b/Lab2_03/Debug/Lab2_03.pdb differ diff --git a/Lab2_03/Lab2_03.sdf b/Lab2_03/Lab2_03.sdf new file mode 100644 index 0000000..da8e8bc Binary files /dev/null and b/Lab2_03/Lab2_03.sdf differ diff --git a/Lab2_03/Lab2_03.sln b/Lab2_03/Lab2_03.sln new file mode 100644 index 0000000..e4785df --- /dev/null +++ b/Lab2_03/Lab2_03.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}") = "Lab2_03", "Lab2_03\Lab2_03.vcxproj", "{BCC8DBA5-A1F9-4D2E-A5E4-C09B5A44C7DE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BCC8DBA5-A1F9-4D2E-A5E4-C09B5A44C7DE}.Debug|Win32.ActiveCfg = Debug|Win32 + {BCC8DBA5-A1F9-4D2E-A5E4-C09B5A44C7DE}.Debug|Win32.Build.0 = Debug|Win32 + {BCC8DBA5-A1F9-4D2E-A5E4-C09B5A44C7DE}.Release|Win32.ActiveCfg = Release|Win32 + {BCC8DBA5-A1F9-4D2E-A5E4-C09B5A44C7DE}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab2_03/Lab2_03.v12.suo b/Lab2_03/Lab2_03.v12.suo new file mode 100644 index 0000000..7bfad15 Binary files /dev/null and b/Lab2_03/Lab2_03.v12.suo differ diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.log b/Lab2_03/Lab2_03/Debug/Lab2_03.log new file mode 100644 index 0000000..16b93f2 --- /dev/null +++ b/Lab2_03/Lab2_03/Debug/Lab2_03.log @@ -0,0 +1,14 @@ +Build started 1/23/2015 6:15:54 AM. +Project "C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_03\Lab2_03\Lab2_03.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\Lab2_03.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab2_03.cpp + Lab2_03.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_03\Debug\Lab2_03.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\Desktop\Cpp_Lab_02\Lab2_03\Debug\Lab2_03.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_03\Debug\Lab2_03.lib" /MACHINE:X86 Debug\Lab2_03.obj + Debug\stdafx.obj + Lab2_03.vcxproj -> C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_03\Debug\Lab2_03.exe +Done Building Project "C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_03\Lab2_03\Lab2_03.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.46 diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.obj b/Lab2_03/Lab2_03/Debug/Lab2_03.obj new file mode 100644 index 0000000..55cf478 Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/Lab2_03.obj differ diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.pch b/Lab2_03/Lab2_03/Debug/Lab2_03.pch new file mode 100644 index 0000000..1058a20 Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/Lab2_03.pch differ diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/CL.read.1.tlog b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/CL.read.1.tlog new file mode 100644 index 0000000..61d9f44 Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/CL.read.1.tlog differ diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/CL.write.1.tlog b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/CL.write.1.tlog new file mode 100644 index 0000000..5181a1c Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/CL.write.1.tlog differ diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/Lab2_03.lastbuildstate b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/Lab2_03.lastbuildstate new file mode 100644 index 0000000..802932f --- /dev/null +++ b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/Lab2_03.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_03\| diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/cl.command.1.tlog b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/cl.command.1.tlog new file mode 100644 index 0000000..a7553f6 Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/cl.command.1.tlog differ diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.command.1.tlog b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.command.1.tlog new file mode 100644 index 0000000..7f8643c Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.command.1.tlog differ diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.read.1.tlog b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.read.1.tlog new file mode 100644 index 0000000..510b7c0 Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.read.1.tlog differ diff --git a/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.write.1.tlog b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.write.1.tlog new file mode 100644 index 0000000..8fcdc4e Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/Lab2_03.tlog/link.write.1.tlog differ diff --git a/Lab2_03/Lab2_03/Debug/stdafx.obj b/Lab2_03/Lab2_03/Debug/stdafx.obj new file mode 100644 index 0000000..15a8a68 Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/stdafx.obj differ diff --git a/Lab2_03/Lab2_03/Debug/vc120.idb b/Lab2_03/Lab2_03/Debug/vc120.idb new file mode 100644 index 0000000..eb4957d Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/vc120.idb differ diff --git a/Lab2_03/Lab2_03/Debug/vc120.pdb b/Lab2_03/Lab2_03/Debug/vc120.pdb new file mode 100644 index 0000000..717cb2b Binary files /dev/null and b/Lab2_03/Lab2_03/Debug/vc120.pdb differ diff --git a/Lab2_03/Lab2_03/Lab2_03.cpp b/Lab2_03/Lab2_03/Lab2_03.cpp new file mode 100644 index 0000000..c32fcbd --- /dev/null +++ b/Lab2_03/Lab2_03/Lab2_03.cpp @@ -0,0 +1,48 @@ +// Lab2_03.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include + + +using namespace std; + +int _tmain(int argc, _TCHAR* argv[]) +{ + cout << "*******************************************************" << endl; + 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(NULL)); + int dice, sides, modifier = 0; + int i; + int total; + cout << "Your roll: "; + cin >> dice >> sides >> modifier; + + while (dice != 1 && sides != 1 && modifier != 1) + { + for (i = dice; i > 0; i--;) + { + + } + + } + + return 0; +} + diff --git a/Lab2_03/Lab2_03/Lab2_03.vcxproj b/Lab2_03/Lab2_03/Lab2_03.vcxproj new file mode 100644 index 0000000..28cf9d3 --- /dev/null +++ b/Lab2_03/Lab2_03/Lab2_03.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {BCC8DBA5-A1F9-4D2E-A5E4-C09B5A44C7DE} + Win32Proj + Lab2_03 + + + + 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/Lab2_03/Lab2_03/Lab2_03.vcxproj.filters b/Lab2_03/Lab2_03/Lab2_03.vcxproj.filters new file mode 100644 index 0000000..4334475 --- /dev/null +++ b/Lab2_03/Lab2_03/Lab2_03.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/Lab2_03/Lab2_03/ReadMe.txt b/Lab2_03/Lab2_03/ReadMe.txt new file mode 100644 index 0000000..c350629 --- /dev/null +++ b/Lab2_03/Lab2_03/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab2_03 Project Overview +======================================================================== + +AppWizard has created this Lab2_03 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab2_03 application. + + +Lab2_03.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. + +Lab2_03.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). + +Lab2_03.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 Lab2_03.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/Lab2_03/Lab2_03/stdafx.cpp b/Lab2_03/Lab2_03/stdafx.cpp new file mode 100644 index 0000000..9141983 --- /dev/null +++ b/Lab2_03/Lab2_03/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab2_03.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/Lab2_03/Lab2_03/stdafx.h b/Lab2_03/Lab2_03/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab2_03/Lab2_03/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/Lab2_03/Lab2_03/targetver.h b/Lab2_03/Lab2_03/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab2_03/Lab2_03/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/Lab2_03/ipch/lab2_03-21821faf/lab2_03-d69f702f.ipch b/Lab2_03/ipch/lab2_03-21821faf/lab2_03-d69f702f.ipch new file mode 100644 index 0000000..777d2b5 Binary files /dev/null and b/Lab2_03/ipch/lab2_03-21821faf/lab2_03-d69f702f.ipch differ diff --git a/Lab2_1/Debug/Lab2_1.exe b/Lab2_1/Debug/Lab2_1.exe new file mode 100644 index 0000000..450fe44 Binary files /dev/null and b/Lab2_1/Debug/Lab2_1.exe differ diff --git a/Lab2_1/Debug/Lab2_1.ilk b/Lab2_1/Debug/Lab2_1.ilk new file mode 100644 index 0000000..4c7235f Binary files /dev/null and b/Lab2_1/Debug/Lab2_1.ilk differ diff --git a/Lab2_1/Debug/Lab2_1.pdb b/Lab2_1/Debug/Lab2_1.pdb new file mode 100644 index 0000000..85d86df Binary files /dev/null and b/Lab2_1/Debug/Lab2_1.pdb differ diff --git a/Lab2_1/Lab2_1.sdf b/Lab2_1/Lab2_1.sdf new file mode 100644 index 0000000..c30dadf Binary files /dev/null and b/Lab2_1/Lab2_1.sdf differ diff --git a/Lab2_1/Lab2_1.sln b/Lab2_1/Lab2_1.sln new file mode 100644 index 0000000..c50cd47 --- /dev/null +++ b/Lab2_1/Lab2_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}") = "Lab2_1", "Lab2_1\Lab2_1.vcxproj", "{FAF58E36-6EF8-4626-B89D-803474520A99}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FAF58E36-6EF8-4626-B89D-803474520A99}.Debug|Win32.ActiveCfg = Debug|Win32 + {FAF58E36-6EF8-4626-B89D-803474520A99}.Debug|Win32.Build.0 = Debug|Win32 + {FAF58E36-6EF8-4626-B89D-803474520A99}.Release|Win32.ActiveCfg = Release|Win32 + {FAF58E36-6EF8-4626-B89D-803474520A99}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab2_1/Lab2_1.v12.suo b/Lab2_1/Lab2_1.v12.suo new file mode 100644 index 0000000..222d218 Binary files /dev/null and b/Lab2_1/Lab2_1.v12.suo differ diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.log b/Lab2_1/Lab2_1/Debug/Lab2_1.log new file mode 100644 index 0000000..a783a61 --- /dev/null +++ b/Lab2_1/Lab2_1/Debug/Lab2_1.log @@ -0,0 +1,17 @@ +Build started 1/23/2015 5:48:33 AM. +Project "C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_1\Lab2_1\Lab2_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\Lab2_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\Lab2_1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab2_1.cpp + Lab2_1.cpp +c:\users\ieuser\desktop\cpp_lab_02\lab2_1\lab2_1\lab2_1.cpp(13): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_1\Debug\Lab2_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\Desktop\Cpp_Lab_02\Lab2_1\Debug\Lab2_1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_1\Debug\Lab2_1.lib" /MACHINE:X86 Debug\Lab2_1.obj + Debug\stdafx.obj + Lab2_1.vcxproj -> C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_1\Debug\Lab2_1.exe +Done Building Project "C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_1\Lab2_1\Lab2_1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:02.23 diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.obj b/Lab2_1/Lab2_1/Debug/Lab2_1.obj new file mode 100644 index 0000000..93d7fb6 Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/Lab2_1.obj differ diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.pch b/Lab2_1/Lab2_1/Debug/Lab2_1.pch new file mode 100644 index 0000000..a8091ef Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/Lab2_1.pch differ diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/CL.read.1.tlog b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..6944260 Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/CL.read.1.tlog differ diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/CL.write.1.tlog b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..c296b94 Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/CL.write.1.tlog differ diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/Lab2_1.lastbuildstate b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/Lab2_1.lastbuildstate new file mode 100644 index 0000000..12648cf --- /dev/null +++ b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/Lab2_1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Desktop\Cpp_Lab_02\Lab2_1\| diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/cl.command.1.tlog b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..e41b832 Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/cl.command.1.tlog differ diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.command.1.tlog b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.command.1.tlog new file mode 100644 index 0000000..1df15bd Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.command.1.tlog differ diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.read.1.tlog b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.read.1.tlog new file mode 100644 index 0000000..71ce7d7 Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.read.1.tlog differ diff --git a/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.write.1.tlog b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.write.1.tlog new file mode 100644 index 0000000..802f0cf Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/Lab2_1.tlog/link.write.1.tlog differ diff --git a/Lab2_1/Lab2_1/Debug/stdafx.obj b/Lab2_1/Lab2_1/Debug/stdafx.obj new file mode 100644 index 0000000..b57c858 Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/stdafx.obj differ diff --git a/Lab2_1/Lab2_1/Debug/vc120.idb b/Lab2_1/Lab2_1/Debug/vc120.idb new file mode 100644 index 0000000..ae9251b Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/vc120.idb differ diff --git a/Lab2_1/Lab2_1/Debug/vc120.pdb b/Lab2_1/Lab2_1/Debug/vc120.pdb new file mode 100644 index 0000000..eeecc0c Binary files /dev/null and b/Lab2_1/Lab2_1/Debug/vc120.pdb differ diff --git a/Lab2_1/Lab2_1/Lab2_1.cpp b/Lab2_1/Lab2_1/Lab2_1.cpp new file mode 100644 index 0000000..735690b --- /dev/null +++ b/Lab2_1/Lab2_1/Lab2_1.cpp @@ -0,0 +1,36 @@ +// Lab2_1.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include + +using namespace std; + + +int _tmain(int argc, _TCHAR* argv[]) +{ + srand(time(NULL)); + int i = 0; + int heads = 0; + int tails = 0; + + for (i = 0; i < 100; i++) + { + int x = rand() % (2); + if (x == 0) + { + heads++; + } + else if (x == 1) + { + tails++; + } + } + cout << "Tails: " << tails << endl; + cout << "Heads: " << heads << endl; + cin.ignore(); + + return 0; +} + diff --git a/Lab2_1/Lab2_1/Lab2_1.vcxproj b/Lab2_1/Lab2_1/Lab2_1.vcxproj new file mode 100644 index 0000000..7696e4c --- /dev/null +++ b/Lab2_1/Lab2_1/Lab2_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {FAF58E36-6EF8-4626-B89D-803474520A99} + Win32Proj + Lab2_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/Lab2_1/Lab2_1/Lab2_1.vcxproj.filters b/Lab2_1/Lab2_1/Lab2_1.vcxproj.filters new file mode 100644 index 0000000..0439c00 --- /dev/null +++ b/Lab2_1/Lab2_1/Lab2_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/Lab2_1/Lab2_1/ReadMe.txt b/Lab2_1/Lab2_1/ReadMe.txt new file mode 100644 index 0000000..20eb6af --- /dev/null +++ b/Lab2_1/Lab2_1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab2_1 Project Overview +======================================================================== + +AppWizard has created this Lab2_1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab2_1 application. + + +Lab2_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. + +Lab2_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). + +Lab2_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 Lab2_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/Lab2_1/Lab2_1/stdafx.cpp b/Lab2_1/Lab2_1/stdafx.cpp new file mode 100644 index 0000000..29ffd9e --- /dev/null +++ b/Lab2_1/Lab2_1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab2_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/Lab2_1/Lab2_1/stdafx.h b/Lab2_1/Lab2_1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab2_1/Lab2_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/Lab2_1/Lab2_1/targetver.h b/Lab2_1/Lab2_1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab2_1/Lab2_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/Lab2_1/ipch/lab2_1-a2ec88b9/lab2_1-f70d849d.ipch b/Lab2_1/ipch/lab2_1-a2ec88b9/lab2_1-f70d849d.ipch new file mode 100644 index 0000000..0dcd6bb Binary files /dev/null and b/Lab2_1/ipch/lab2_1-a2ec88b9/lab2_1-f70d849d.ipch differ