diff --git a/Lab2_01/Debug/Lab2_01.exe b/Lab2_01/Debug/Lab2_01.exe new file mode 100644 index 0000000..dabe0dc Binary files /dev/null and b/Lab2_01/Debug/Lab2_01.exe differ diff --git a/Lab2_01/Debug/Lab2_01.ilk b/Lab2_01/Debug/Lab2_01.ilk new file mode 100644 index 0000000..c7bd7ca Binary files /dev/null and b/Lab2_01/Debug/Lab2_01.ilk differ diff --git a/Lab2_01/Debug/Lab2_01.pdb b/Lab2_01/Debug/Lab2_01.pdb new file mode 100644 index 0000000..c153425 Binary files /dev/null and b/Lab2_01/Debug/Lab2_01.pdb differ diff --git a/Lab2_01/Lab2_01.sdf b/Lab2_01/Lab2_01.sdf new file mode 100644 index 0000000..0e99a19 Binary files /dev/null and b/Lab2_01/Lab2_01.sdf differ diff --git a/Lab2_01/Lab2_01.sln b/Lab2_01/Lab2_01.sln new file mode 100644 index 0000000..b85d82b --- /dev/null +++ b/Lab2_01/Lab2_01.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_01", "Lab2_01\Lab2_01.vcxproj", "{70E30008-1D3B-47A5-A823-61FE7C2C0A46}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {70E30008-1D3B-47A5-A823-61FE7C2C0A46}.Debug|Win32.ActiveCfg = Debug|Win32 + {70E30008-1D3B-47A5-A823-61FE7C2C0A46}.Debug|Win32.Build.0 = Debug|Win32 + {70E30008-1D3B-47A5-A823-61FE7C2C0A46}.Release|Win32.ActiveCfg = Release|Win32 + {70E30008-1D3B-47A5-A823-61FE7C2C0A46}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab2_01/Lab2_01.v12.suo b/Lab2_01/Lab2_01.v12.suo new file mode 100644 index 0000000..67d1c50 Binary files /dev/null and b/Lab2_01/Lab2_01.v12.suo differ diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.Build.CppClean.log b/Lab2_01/Lab2_01/Debug/Lab2_01.Build.CppClean.log new file mode 100644 index 0000000..9c9dd25 --- /dev/null +++ b/Lab2_01/Lab2_01/Debug/Lab2_01.Build.CppClean.log @@ -0,0 +1,14 @@ +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\lab2_01.pch +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\vc120.pdb +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\vc120.idb +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\stdafx.obj +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\lab2_01.obj +c:\users\ieuser\cpp_lab_02\lab2_01\debug\lab2_01.ilk +c:\users\ieuser\cpp_lab_02\lab2_01\debug\lab2_01.exe +c:\users\ieuser\cpp_lab_02\lab2_01\debug\lab2_01.pdb +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\lab2_01.tlog\cl.command.1.tlog +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\lab2_01.tlog\cl.read.1.tlog +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\lab2_01.tlog\cl.write.1.tlog +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\lab2_01.tlog\link.command.1.tlog +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\lab2_01.tlog\link.read.1.tlog +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\debug\lab2_01.tlog\link.write.1.tlog diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.log b/Lab2_01/Lab2_01/Debug/Lab2_01.log new file mode 100644 index 0000000..0345668 --- /dev/null +++ b/Lab2_01/Lab2_01/Debug/Lab2_01.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 5:12:57 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab2_01\Lab2_01\Lab2_01.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_01.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab2_01.cpp + Lab2_01.cpp +c:\users\ieuser\cpp_lab_02\lab2_01\lab2_01\lab2_01.cpp(19): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_02\Lab2_01\Debug\Lab2_01.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\Lab2_01\Debug\Lab2_01.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab2_01\Debug\Lab2_01.lib" /MACHINE:X86 Debug\Lab2_01.obj + Debug\stdafx.obj + Lab2_01.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab2_01\Debug\Lab2_01.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab2_01\Lab2_01\Lab2_01.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.59 diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.obj b/Lab2_01/Lab2_01/Debug/Lab2_01.obj new file mode 100644 index 0000000..89f2e9d Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/Lab2_01.obj differ diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.pch b/Lab2_01/Lab2_01/Debug/Lab2_01.pch new file mode 100644 index 0000000..5d3fc6a Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/Lab2_01.pch differ diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/CL.read.1.tlog b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/CL.read.1.tlog new file mode 100644 index 0000000..e5f53e4 Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/CL.read.1.tlog differ diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/CL.write.1.tlog b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/CL.write.1.tlog new file mode 100644 index 0000000..ee1d718 Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/CL.write.1.tlog differ diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/Lab2_01.lastbuildstate b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/Lab2_01.lastbuildstate new file mode 100644 index 0000000..35a2dfe --- /dev/null +++ b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/Lab2_01.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab2_01\| diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/cl.command.1.tlog b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/cl.command.1.tlog new file mode 100644 index 0000000..b7ba1a4 Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/cl.command.1.tlog differ diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.command.1.tlog b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.command.1.tlog new file mode 100644 index 0000000..dbebb1e Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.command.1.tlog differ diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.read.1.tlog b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.read.1.tlog new file mode 100644 index 0000000..7dc0d6f Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.read.1.tlog differ diff --git a/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.write.1.tlog b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.write.1.tlog new file mode 100644 index 0000000..2d622eb Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/Lab2_01.tlog/link.write.1.tlog differ diff --git a/Lab2_01/Lab2_01/Debug/stdafx.obj b/Lab2_01/Lab2_01/Debug/stdafx.obj new file mode 100644 index 0000000..3c1590a Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/stdafx.obj differ diff --git a/Lab2_01/Lab2_01/Debug/vc120.idb b/Lab2_01/Lab2_01/Debug/vc120.idb new file mode 100644 index 0000000..79bde6f Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/vc120.idb differ diff --git a/Lab2_01/Lab2_01/Debug/vc120.pdb b/Lab2_01/Lab2_01/Debug/vc120.pdb new file mode 100644 index 0000000..b78cb68 Binary files /dev/null and b/Lab2_01/Lab2_01/Debug/vc120.pdb differ diff --git a/Lab2_01/Lab2_01/Lab2_01.cpp b/Lab2_01/Lab2_01/Lab2_01.cpp new file mode 100644 index 0000000..12297ad --- /dev/null +++ b/Lab2_01/Lab2_01/Lab2_01.cpp @@ -0,0 +1,31 @@ +// Lab2_01.cpp : Flips a coin 100 times and reports # of heads and tails. +//Author: Thomas Morrissey +//Date: 1-23-2015 + + +#include "stdafx.h" +#include +#include +#include +using namespace std; + + +int main() +{ + int CoinFlip = 0; + int Heads = 0; + int Tails = 0; + int Number = 0; + srand(time(NULL)); + while (CoinFlip <= 99){ + Number = rand() % 2; + if (Number == 1){ + Heads++; } + else{ + Tails++;} + CoinFlip++;} + cout << "The Results of the coin toss is " << Heads << " heads and " << Tails << " tails."; + getchar(); + return 0; +} + diff --git a/Lab2_01/Lab2_01/Lab2_01.vcxproj b/Lab2_01/Lab2_01/Lab2_01.vcxproj new file mode 100644 index 0000000..57be88a --- /dev/null +++ b/Lab2_01/Lab2_01/Lab2_01.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {70E30008-1D3B-47A5-A823-61FE7C2C0A46} + Win32Proj + Lab2_01 + + + + 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_01/Lab2_01/Lab2_01.vcxproj.filters b/Lab2_01/Lab2_01/Lab2_01.vcxproj.filters new file mode 100644 index 0000000..14dcead --- /dev/null +++ b/Lab2_01/Lab2_01/Lab2_01.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_01/Lab2_01/ReadMe.txt b/Lab2_01/Lab2_01/ReadMe.txt new file mode 100644 index 0000000..d665ce3 --- /dev/null +++ b/Lab2_01/Lab2_01/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab2_01 Project Overview +======================================================================== + +AppWizard has created this Lab2_01 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab2_01 application. + + +Lab2_01.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_01.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_01.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_01.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_01/Lab2_01/stdafx.cpp b/Lab2_01/Lab2_01/stdafx.cpp new file mode 100644 index 0000000..340cc09 --- /dev/null +++ b/Lab2_01/Lab2_01/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab2_01.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_01/Lab2_01/stdafx.h b/Lab2_01/Lab2_01/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab2_01/Lab2_01/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_01/Lab2_01/targetver.h b/Lab2_01/Lab2_01/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab2_01/Lab2_01/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_01/ipch/lab2_01-bc292ef3/lab2_01-d67b3f2d.ipch b/Lab2_01/ipch/lab2_01-bc292ef3/lab2_01-d67b3f2d.ipch new file mode 100644 index 0000000..9010b72 Binary files /dev/null and b/Lab2_01/ipch/lab2_01-bc292ef3/lab2_01-d67b3f2d.ipch differ diff --git a/Lab2_03/Debug/Lab2_03.exe b/Lab2_03/Debug/Lab2_03.exe new file mode 100644 index 0000000..6cad56b 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..cde81ab 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..5c47220 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..2c0ca1d 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..d33d4d9 --- /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", "{E82164EC-A3D2-453A-BF9F-569CD78DCAC7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E82164EC-A3D2-453A-BF9F-569CD78DCAC7}.Debug|Win32.ActiveCfg = Debug|Win32 + {E82164EC-A3D2-453A-BF9F-569CD78DCAC7}.Debug|Win32.Build.0 = Debug|Win32 + {E82164EC-A3D2-453A-BF9F-569CD78DCAC7}.Release|Win32.ActiveCfg = Release|Win32 + {E82164EC-A3D2-453A-BF9F-569CD78DCAC7}.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..9c9394e 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..7b28c6d --- /dev/null +++ b/Lab2_03/Lab2_03/Debug/Lab2_03.log @@ -0,0 +1,15 @@ +Build started 1/27/2015 4:16:16 AM. +Project "C:\Users\IEUser\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 +c:\users\ieuser\cpp_lab_02\lab2_03\lab2_03\lab2_03.cpp(39): 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\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\Cpp_Lab_02\Lab2_03\Debug\Lab2_03.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab2_03\Debug\Lab2_03.lib" /MACHINE:X86 Debug\Lab2_03.obj + Debug\stdafx.obj + Lab2_03.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab2_03\Debug\Lab2_03.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab2_03\Lab2_03\Lab2_03.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.22 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..65a2883 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..ee5290a 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..33a309b 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..30d7a2e 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..78f07b8 --- /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\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..56f2128 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..7b650cb 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..8abcb65 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..4e05841 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..1336bd6 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..d0851a9 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..cac7017 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..fd5cc85 --- /dev/null +++ b/Lab2_03/Lab2_03/Lab2_03.cpp @@ -0,0 +1,54 @@ +// Lab2_03.cpp : This application acts as a dice machine. +// Contributted with Jacob Snipes. +// Author: Thomas Morrissey +// Date: 1-23-2015 + + +#include "stdafx.h" +#include +#include +#include +using namespace std; + + +int main(){ + int DiceNumber = 0; + int DiceSide = 0; + int Modifier = 0; + int TotalRoll = 4; + int Total = 0; + 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 seperated 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; + while (TotalRoll > 3){ + cout << "Your Roll: "; + cin >> DiceNumber >> DiceSide >> Modifier; + TotalRoll = DiceNumber + DiceSide + Modifier; + if (TotalRoll > 3){ + int count = 0; + int Dice = 0; + srand(time(NULL)); + while (count < DiceNumber){ + count++; + Dice = rand() % DiceSide + 1 + Modifier; + Total = Total + Dice; + } + cout << "From having " << DiceSide << "-" << DiceNumber << " dice and adding" << Modifier << " from each die." << endl; + cout << " Your total is " << Total << endl; + } + } + cout << "Press to Exit." << endl; + getchar(); + getchar(); + return 0; +} \ No newline at end of file diff --git a/Lab2_03/Lab2_03/Lab2_03.vcxproj b/Lab2_03/Lab2_03/Lab2_03.vcxproj new file mode 100644 index 0000000..9acb1d8 --- /dev/null +++ b/Lab2_03/Lab2_03/Lab2_03.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {E82164EC-A3D2-453A-BF9F-569CD78DCAC7} + 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-23067af9/lab2_03-d69f702f.ipch b/Lab2_03/ipch/lab2_03-23067af9/lab2_03-d69f702f.ipch new file mode 100644 index 0000000..2965971 Binary files /dev/null and b/Lab2_03/ipch/lab2_03-23067af9/lab2_03-d69f702f.ipch differ diff --git a/Lab2_2/Debug/Lab2_2.exe b/Lab2_2/Debug/Lab2_2.exe new file mode 100644 index 0000000..23a2ae0 Binary files /dev/null and b/Lab2_2/Debug/Lab2_2.exe differ diff --git a/Lab2_2/Debug/Lab2_2.ilk b/Lab2_2/Debug/Lab2_2.ilk new file mode 100644 index 0000000..9f4e90a Binary files /dev/null and b/Lab2_2/Debug/Lab2_2.ilk differ diff --git a/Lab2_2/Debug/Lab2_2.pdb b/Lab2_2/Debug/Lab2_2.pdb new file mode 100644 index 0000000..9e8a171 Binary files /dev/null and b/Lab2_2/Debug/Lab2_2.pdb differ diff --git a/Lab2_2/Lab2_2.sdf b/Lab2_2/Lab2_2.sdf new file mode 100644 index 0000000..bdf1ba3 Binary files /dev/null and b/Lab2_2/Lab2_2.sdf differ diff --git a/Lab2_2/Lab2_2.sln b/Lab2_2/Lab2_2.sln new file mode 100644 index 0000000..d1f78bf --- /dev/null +++ b/Lab2_2/Lab2_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}") = "Lab2_2", "Lab2_2\Lab2_2.vcxproj", "{BDD48D13-10F7-4122-B431-7EFB124FEC41}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BDD48D13-10F7-4122-B431-7EFB124FEC41}.Debug|Win32.ActiveCfg = Debug|Win32 + {BDD48D13-10F7-4122-B431-7EFB124FEC41}.Debug|Win32.Build.0 = Debug|Win32 + {BDD48D13-10F7-4122-B431-7EFB124FEC41}.Release|Win32.ActiveCfg = Release|Win32 + {BDD48D13-10F7-4122-B431-7EFB124FEC41}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab2_2/Lab2_2.v12.suo b/Lab2_2/Lab2_2.v12.suo new file mode 100644 index 0000000..2111717 Binary files /dev/null and b/Lab2_2/Lab2_2.v12.suo differ diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.log b/Lab2_2/Lab2_2/Debug/Lab2_2.log new file mode 100644 index 0000000..92271c0 --- /dev/null +++ b/Lab2_2/Lab2_2/Debug/Lab2_2.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 5:33:45 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab2_2\Lab2_2\Lab2_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\Lab2_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab2_2.cpp + Lab2_2.cpp +c:\users\ieuser\cpp_lab_02\lab2_2\lab2_2\lab2_2.cpp(21): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_02\Lab2_2\Debug\Lab2_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\Lab2_2\Debug\Lab2_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab2_2\Debug\Lab2_2.lib" /MACHINE:X86 Debug\Lab2_2.obj + Debug\stdafx.obj + Lab2_2.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab2_2\Debug\Lab2_2.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab2_2\Lab2_2\Lab2_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.83 diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.obj b/Lab2_2/Lab2_2/Debug/Lab2_2.obj new file mode 100644 index 0000000..7bf446e Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/Lab2_2.obj differ diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.pch b/Lab2_2/Lab2_2/Debug/Lab2_2.pch new file mode 100644 index 0000000..3ec7a87 Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/Lab2_2.pch differ diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/CL.read.1.tlog b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..8b5af9d Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/CL.read.1.tlog differ diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/CL.write.1.tlog b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..f923c8b Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/CL.write.1.tlog differ diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/Lab2_2.lastbuildstate b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/Lab2_2.lastbuildstate new file mode 100644 index 0000000..9ec0b63 --- /dev/null +++ b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/Lab2_2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab2_2\| diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/cl.command.1.tlog b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..2d95dde Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/cl.command.1.tlog differ diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.command.1.tlog b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.command.1.tlog new file mode 100644 index 0000000..678c247 Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.command.1.tlog differ diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.read.1.tlog b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.read.1.tlog new file mode 100644 index 0000000..5c8d1e2 Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.read.1.tlog differ diff --git a/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.write.1.tlog b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.write.1.tlog new file mode 100644 index 0000000..437399a Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/Lab2_2.tlog/link.write.1.tlog differ diff --git a/Lab2_2/Lab2_2/Debug/stdafx.obj b/Lab2_2/Lab2_2/Debug/stdafx.obj new file mode 100644 index 0000000..2400844 Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/stdafx.obj differ diff --git a/Lab2_2/Lab2_2/Debug/vc120.idb b/Lab2_2/Lab2_2/Debug/vc120.idb new file mode 100644 index 0000000..c44208e Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/vc120.idb differ diff --git a/Lab2_2/Lab2_2/Debug/vc120.pdb b/Lab2_2/Lab2_2/Debug/vc120.pdb new file mode 100644 index 0000000..8353349 Binary files /dev/null and b/Lab2_2/Lab2_2/Debug/vc120.pdb differ diff --git a/Lab2_2/Lab2_2/Lab2_2.cpp b/Lab2_2/Lab2_2/Lab2_2.cpp new file mode 100644 index 0000000..e99c5b7 --- /dev/null +++ b/Lab2_2/Lab2_2/Lab2_2.cpp @@ -0,0 +1,41 @@ +// Lab2_2.cpp : Recreate guess my number in C++ +//Author: Thomas Morrissey +//Date: 1-23-2015 + + +#include "stdafx.h" +#include +#include +#include +using namespace std; + + +int main() +{ + cout << "Welcome to Guess my Number!" << endl; + cout << "I'm think of a number between 1 and 100." << endl; + cout << "Try to guess it in as few attempts as possible." << endl; + int Number = 0; + int Guess = 0; + int Attempts = 0; + srand(time(NULL)); + Number = rand() % 100 + 1; + while (Number != Guess){ + cout << "What is your guess: "; + cin >> Guess; + if (Number > Guess){ + cout << "Higher" << endl; + } + else if (Number < Guess){ + cout << "Lower" << endl; + } + else{ + cout << "You got it!" << endl; + } + } + cout << "Press to Exit." << endl; + getchar(); + getchar(); + return 0; +} + diff --git a/Lab2_2/Lab2_2/Lab2_2.vcxproj b/Lab2_2/Lab2_2/Lab2_2.vcxproj new file mode 100644 index 0000000..f14d600 --- /dev/null +++ b/Lab2_2/Lab2_2/Lab2_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {BDD48D13-10F7-4122-B431-7EFB124FEC41} + Win32Proj + Lab2_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/Lab2_2/Lab2_2/Lab2_2.vcxproj.filters b/Lab2_2/Lab2_2/Lab2_2.vcxproj.filters new file mode 100644 index 0000000..bf4f4cc --- /dev/null +++ b/Lab2_2/Lab2_2/Lab2_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/Lab2_2/Lab2_2/ReadMe.txt b/Lab2_2/Lab2_2/ReadMe.txt new file mode 100644 index 0000000..050b236 --- /dev/null +++ b/Lab2_2/Lab2_2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab2_2 Project Overview +======================================================================== + +AppWizard has created this Lab2_2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab2_2 application. + + +Lab2_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. + +Lab2_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). + +Lab2_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 Lab2_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/Lab2_2/Lab2_2/stdafx.cpp b/Lab2_2/Lab2_2/stdafx.cpp new file mode 100644 index 0000000..cbe9971 --- /dev/null +++ b/Lab2_2/Lab2_2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab2_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/Lab2_2/Lab2_2/stdafx.h b/Lab2_2/Lab2_2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab2_2/Lab2_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/Lab2_2/Lab2_2/targetver.h b/Lab2_2/Lab2_2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab2_2/Lab2_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/Lab2_2/ipch/lab2_2-6d32cde6/lab2_2-f71f9d1e.ipch b/Lab2_2/ipch/lab2_2-6d32cde6/lab2_2-f71f9d1e.ipch new file mode 100644 index 0000000..c625ff7 Binary files /dev/null and b/Lab2_2/ipch/lab2_2-6d32cde6/lab2_2-f71f9d1e.ipch differ