diff --git a/Lab02_1/Debug/Lab02_1.exe b/Lab02_1/Debug/Lab02_1.exe new file mode 100644 index 0000000..2e2444a Binary files /dev/null and b/Lab02_1/Debug/Lab02_1.exe differ diff --git a/Lab02_1/Debug/Lab02_1.ilk b/Lab02_1/Debug/Lab02_1.ilk new file mode 100644 index 0000000..c912a29 Binary files /dev/null and b/Lab02_1/Debug/Lab02_1.ilk differ diff --git a/Lab02_1/Debug/Lab02_1.pdb b/Lab02_1/Debug/Lab02_1.pdb new file mode 100644 index 0000000..9f7684a Binary files /dev/null and b/Lab02_1/Debug/Lab02_1.pdb differ diff --git a/Lab02_1/Lab02_1.sdf b/Lab02_1/Lab02_1.sdf new file mode 100644 index 0000000..e879ff7 Binary files /dev/null and b/Lab02_1/Lab02_1.sdf differ diff --git a/Lab02_1/Lab02_1.sln b/Lab02_1/Lab02_1.sln new file mode 100644 index 0000000..7fa94f1 --- /dev/null +++ b/Lab02_1/Lab02_1.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lab02_1", "Lab02_1\Lab02_1.vcxproj", "{DE8043D0-78E9-4F02-8385-16AE9522DE79}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DE8043D0-78E9-4F02-8385-16AE9522DE79}.Debug|Win32.ActiveCfg = Debug|Win32 + {DE8043D0-78E9-4F02-8385-16AE9522DE79}.Debug|Win32.Build.0 = Debug|Win32 + {DE8043D0-78E9-4F02-8385-16AE9522DE79}.Release|Win32.ActiveCfg = Release|Win32 + {DE8043D0-78E9-4F02-8385-16AE9522DE79}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab02_1/Lab02_1.v12.suo b/Lab02_1/Lab02_1.v12.suo new file mode 100644 index 0000000..89be903 Binary files /dev/null and b/Lab02_1/Lab02_1.v12.suo differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.Build.CppClean.log b/Lab02_1/Lab02_1/Debug/Lab02_1.Build.CppClean.log new file mode 100644 index 0000000..7df6394 --- /dev/null +++ b/Lab02_1/Lab02_1/Debug/Lab02_1.Build.CppClean.log @@ -0,0 +1,7 @@ +c:\users\ieuser\documents\labs\lab02_1\lab02_1\debug\lab02_1.pch +c:\users\ieuser\documents\labs\lab02_1\lab02_1\debug\vc120.pdb +c:\users\ieuser\documents\labs\lab02_1\lab02_1\debug\vc120.idb +c:\users\ieuser\documents\labs\lab02_1\lab02_1\debug\stdafx.obj +c:\users\ieuser\documents\labs\lab02_1\lab02_1\debug\lab02_1.tlog\cl.command.1.tlog +c:\users\ieuser\documents\labs\lab02_1\lab02_1\debug\lab02_1.tlog\cl.read.1.tlog +c:\users\ieuser\documents\labs\lab02_1\lab02_1\debug\lab02_1.tlog\cl.write.1.tlog diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.log b/Lab02_1/Lab02_1/Debug/Lab02_1.log new file mode 100644 index 0000000..e348657 --- /dev/null +++ b/Lab02_1/Lab02_1/Debug/Lab02_1.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 1:34:44 AM. +Project "C:\Users\IEUser\Documents\Labs\Lab02_1\Lab02_1\Lab02_1.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Lab02_1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_1.cpp + Lab02_1.cpp +c:\users\ieuser\documents\labs\lab02_1\lab02_1\lab02_1.cpp(12): 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\Documents\Labs\Lab02_1\Debug\Lab02_1.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\IEUser\Documents\Labs\Lab02_1\Debug\Lab02_1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\Labs\Lab02_1\Debug\Lab02_1.lib" /MACHINE:X86 Debug\Lab02_1.obj + Debug\stdafx.obj + Lab02_1.vcxproj -> C:\Users\IEUser\Documents\Labs\Lab02_1\Debug\Lab02_1.exe +Done Building Project "C:\Users\IEUser\Documents\Labs\Lab02_1\Lab02_1\Lab02_1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.61 diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.obj b/Lab02_1/Lab02_1/Debug/Lab02_1.obj new file mode 100644 index 0000000..2220c3a Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.obj differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.pch b/Lab02_1/Lab02_1/Debug/Lab02_1.pch new file mode 100644 index 0000000..d001177 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.pch differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.read.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..1c45b8d Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.read.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..89531bd Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate new file mode 100644 index 0000000..ec6fe3a --- /dev/null +++ b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Documents\Labs\Lab02_1\| diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..4d7898f Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog new file mode 100644 index 0000000..55ff78f Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog new file mode 100644 index 0000000..90b82fd Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog new file mode 100644 index 0000000..8d5d004 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/stdafx.obj b/Lab02_1/Lab02_1/Debug/stdafx.obj new file mode 100644 index 0000000..0efeb39 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/stdafx.obj differ diff --git a/Lab02_1/Lab02_1/Debug/vc120.idb b/Lab02_1/Lab02_1/Debug/vc120.idb new file mode 100644 index 0000000..c878696 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/vc120.idb differ diff --git a/Lab02_1/Lab02_1/Debug/vc120.pdb b/Lab02_1/Lab02_1/Debug/vc120.pdb new file mode 100644 index 0000000..98b02d5 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/vc120.pdb differ diff --git a/Lab02_1/Lab02_1/Lab02_1.cpp b/Lab02_1/Lab02_1/Lab02_1.cpp new file mode 100644 index 0000000..2998b86 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.cpp @@ -0,0 +1,35 @@ +// Matt Jones Lab02_01 100 flips wiht random distribution +#include "stdafx.h" +#include +#include +#include +#include +using namespace std; + +int main(void) +{ + srand (time(NULL)); + + int coin = rand() % 2; + int heads = 0; + int tails = 0; + for (int flips = 100; flips--;) + { + coin = rand() % 2; + if (coin == 0) + { + ++heads; + } + else + { + ++tails; + } + + } + cout << heads << "Heads" << endl << tails << "Tails" << endl; + cin.ignore(); + cout << "Press the enter key to exit."; + getchar(); + return 0; +} + diff --git a/Lab02_1/Lab02_1/Lab02_1.vcxproj b/Lab02_1/Lab02_1/Lab02_1.vcxproj new file mode 100644 index 0000000..dc0a308 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {DE8043D0-78E9-4F02-8385-16AE9522DE79} + Win32Proj + Lab02_1 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/Lab02_1/Lab02_1/Lab02_1.vcxproj.filters b/Lab02_1/Lab02_1/Lab02_1.vcxproj.filters new file mode 100644 index 0000000..6e273f2 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Lab02_1/Lab02_1/ReadMe.txt b/Lab02_1/Lab02_1/ReadMe.txt new file mode 100644 index 0000000..e37dae6 --- /dev/null +++ b/Lab02_1/Lab02_1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab02_1 Project Overview +======================================================================== + +AppWizard has created this Lab02_1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab02_1 application. + + +Lab02_1.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Lab02_1.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Lab02_1.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Lab02_1.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Lab02_1/Lab02_1/stdafx.cpp b/Lab02_1/Lab02_1/stdafx.cpp new file mode 100644 index 0000000..8e24dcc --- /dev/null +++ b/Lab02_1/Lab02_1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab02_1.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Lab02_1/Lab02_1/stdafx.h b/Lab02_1/Lab02_1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab02_1/Lab02_1/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Lab02_1/Lab02_1/targetver.h b/Lab02_1/Lab02_1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab02_1/Lab02_1/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Lab02_1/ipch/lab02_1-2a14acd1/lab02_1-e39d5d0d.ipch b/Lab02_1/ipch/lab02_1-2a14acd1/lab02_1-e39d5d0d.ipch new file mode 100644 index 0000000..456479f Binary files /dev/null and b/Lab02_1/ipch/lab02_1-2a14acd1/lab02_1-e39d5d0d.ipch differ diff --git a/Lab02_2/Debug/Lab02_2.exe b/Lab02_2/Debug/Lab02_2.exe new file mode 100644 index 0000000..6bf6fb6 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..a3d3f3e 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..f0ef1ea 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..7b06f77 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..45b90b0 --- /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", "{15163CC9-9A73-4887-82A8-1CA19638CFB7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {15163CC9-9A73-4887-82A8-1CA19638CFB7}.Debug|Win32.ActiveCfg = Debug|Win32 + {15163CC9-9A73-4887-82A8-1CA19638CFB7}.Debug|Win32.Build.0 = Debug|Win32 + {15163CC9-9A73-4887-82A8-1CA19638CFB7}.Release|Win32.ActiveCfg = Release|Win32 + {15163CC9-9A73-4887-82A8-1CA19638CFB7}.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..513ff00 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..ab5c2f6 --- /dev/null +++ b/Lab02_2/Lab02_2/Debug/Lab02_2.log @@ -0,0 +1,16 @@ +Build started 1/23/2015 1:45:08 AM. +Project "C:\Users\IEUser\Documents\Labs\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 /Yc"stdafx.h" /Fp"Debug\Lab02_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt stdafx.cpp + stdafx.cpp + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Lab02_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_2.cpp + Lab02_2.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Documents\Labs\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\Documents\Labs\Lab02_2\Debug\Lab02_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\Labs\Lab02_2\Debug\Lab02_2.lib" /MACHINE:X86 Debug\Lab02_2.obj + Debug\stdafx.obj + Lab02_2.vcxproj -> C:\Users\IEUser\Documents\Labs\Lab02_2\Debug\Lab02_2.exe +Done Building Project "C:\Users\IEUser\Documents\Labs\Lab02_2\Lab02_2\Lab02_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:02.00 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..f9cf9b7 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..d27693e 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..4221caf 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..75d0676 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..1bb9d86 --- /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\Documents\Labs\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..494381a 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..0df917f 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..25fe9b2 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..8fc28a0 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..1fdcde2 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..c757048 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..a799563 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..4a2a512 --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.cpp @@ -0,0 +1,35 @@ +// Lab02_2.cpp : Guess my number from a python book imported into C++ code +//Matt Jones - 1/23/15 +#include "stdafx.h" +#include +#include +#include +#include +using namespace std; + + +int main(void) +{ + int number = rand() % 100; + int guess = 0; + while (guess != number) + { + cout << "Guess my Number!." << endl; + cin >> guess; + if (guess > number){ + cout << "Lower." << endl; + } + else if (guess < number){ + cout << "Higher." << endl; + } + else if (guess == number){ + cout << "Good Job." << endl; + } + + } + + cin.ignore(); + cout << "Press the enter key to exit."; + getchar(); + return 0; +} \ No newline at end of file diff --git a/Lab02_2/Lab02_2/Lab02_2.vcxproj b/Lab02_2/Lab02_2/Lab02_2.vcxproj new file mode 100644 index 0000000..8c8de86 --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {15163CC9-9A73-4887-82A8-1CA19638CFB7} + 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-dd8352d4/lab02_2-e3af758e.ipch b/Lab02_2/ipch/lab02_2-dd8352d4/lab02_2-e3af758e.ipch new file mode 100644 index 0000000..dfcccf7 Binary files /dev/null and b/Lab02_2/ipch/lab02_2-dd8352d4/lab02_2-e3af758e.ipch differ diff --git a/Lab02_3/Debug/Lab02_3.exe b/Lab02_3/Debug/Lab02_3.exe new file mode 100644 index 0000000..2069978 Binary files /dev/null and b/Lab02_3/Debug/Lab02_3.exe differ diff --git a/Lab02_3/Debug/Lab02_3.ilk b/Lab02_3/Debug/Lab02_3.ilk new file mode 100644 index 0000000..c99b2a2 Binary files /dev/null and b/Lab02_3/Debug/Lab02_3.ilk differ diff --git a/Lab02_3/Debug/Lab02_3.pdb b/Lab02_3/Debug/Lab02_3.pdb new file mode 100644 index 0000000..60f804c Binary files /dev/null and b/Lab02_3/Debug/Lab02_3.pdb differ diff --git a/Lab02_3/Lab02_3.sdf b/Lab02_3/Lab02_3.sdf new file mode 100644 index 0000000..9ef115d Binary files /dev/null and b/Lab02_3/Lab02_3.sdf differ diff --git a/Lab02_3/Lab02_3.sln b/Lab02_3/Lab02_3.sln new file mode 100644 index 0000000..3e8e7b3 --- /dev/null +++ b/Lab02_3/Lab02_3.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lab02_3", "Lab02_3\Lab02_3.vcxproj", "{145C96C5-F0B5-4EAD-8BE8-0497F2C5E57C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {145C96C5-F0B5-4EAD-8BE8-0497F2C5E57C}.Debug|Win32.ActiveCfg = Debug|Win32 + {145C96C5-F0B5-4EAD-8BE8-0497F2C5E57C}.Debug|Win32.Build.0 = Debug|Win32 + {145C96C5-F0B5-4EAD-8BE8-0497F2C5E57C}.Release|Win32.ActiveCfg = Release|Win32 + {145C96C5-F0B5-4EAD-8BE8-0497F2C5E57C}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab02_3/Lab02_3.v12.suo b/Lab02_3/Lab02_3.v12.suo new file mode 100644 index 0000000..490a9e9 Binary files /dev/null and b/Lab02_3/Lab02_3.v12.suo differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.Build.CppClean.log b/Lab02_3/Lab02_3/Debug/Lab02_3.Build.CppClean.log new file mode 100644 index 0000000..64eef29 --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.Build.CppClean.log @@ -0,0 +1,14 @@ +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\lab02_3.pch +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\vc120.pdb +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\vc120.idb +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\stdafx.obj +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\lab02_3.obj +c:\users\ieuser\documents\labs\lab02_3\debug\lab02_3.ilk +c:\users\ieuser\documents\labs\lab02_3\debug\lab02_3.exe +c:\users\ieuser\documents\labs\lab02_3\debug\lab02_3.pdb +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\lab02_3.tlog\cl.command.1.tlog +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\lab02_3.tlog\cl.read.1.tlog +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\lab02_3.tlog\cl.write.1.tlog +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\lab02_3.tlog\link.command.1.tlog +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\lab02_3.tlog\link.read.1.tlog +c:\users\ieuser\documents\labs\lab02_3\lab02_3\debug\lab02_3.tlog\link.write.1.tlog diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.log b/Lab02_3/Lab02_3/Debug/Lab02_3.log new file mode 100644 index 0000000..62b059a --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.log @@ -0,0 +1,17 @@ +Build started 1/23/2015 3:13:48 AM. +Project "C:\Users\IEUser\Documents\Labs\Lab02_3\Lab02_3\Lab02_3.vcxproj" on node 2 (Rebuild target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yc"stdafx.h" /Fp"Debug\Lab02_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt stdafx.cpp + stdafx.cpp + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Lab02_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_3.cpp + Lab02_3.cpp +c:\users\ieuser\documents\labs\lab02_3\lab02_3\lab02_3.cpp(15): 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\Documents\Labs\Lab02_3\Debug\Lab02_3.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\IEUser\Documents\Labs\Lab02_3\Debug\Lab02_3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\Labs\Lab02_3\Debug\Lab02_3.lib" /MACHINE:X86 Debug\Lab02_3.obj + Debug\stdafx.obj + Lab02_3.vcxproj -> C:\Users\IEUser\Documents\Labs\Lab02_3\Debug\Lab02_3.exe +Done Building Project "C:\Users\IEUser\Documents\Labs\Lab02_3\Lab02_3\Lab02_3.vcxproj" (Rebuild target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.86 diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.obj b/Lab02_3/Lab02_3/Debug/Lab02_3.obj new file mode 100644 index 0000000..5534165 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.obj differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.pch b/Lab02_3/Lab02_3/Debug/Lab02_3.pch new file mode 100644 index 0000000..ba84719 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.pch differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.read.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..d604b18 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.read.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.write.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..7d10e03 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.write.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate new file mode 100644 index 0000000..593cad8 --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Documents\Labs\Lab02_3\| diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..d694bbc Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog new file mode 100644 index 0000000..8f7947b Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog new file mode 100644 index 0000000..6efd7a6 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog new file mode 100644 index 0000000..d53a1bd Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/stdafx.obj b/Lab02_3/Lab02_3/Debug/stdafx.obj new file mode 100644 index 0000000..8ef2f03 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/stdafx.obj differ diff --git a/Lab02_3/Lab02_3/Debug/vc120.idb b/Lab02_3/Lab02_3/Debug/vc120.idb new file mode 100644 index 0000000..17d9476 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/vc120.idb differ diff --git a/Lab02_3/Lab02_3/Debug/vc120.pdb b/Lab02_3/Lab02_3/Debug/vc120.pdb new file mode 100644 index 0000000..d338803 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/vc120.pdb differ diff --git a/Lab02_3/Lab02_3/Lab02_3.cpp b/Lab02_3/Lab02_3/Lab02_3.cpp new file mode 100644 index 0000000..ba1ed56 --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.cpp @@ -0,0 +1,44 @@ +// Lab02_3 die roller with modifiers. +// Made by Matt Jones 1/23/15. + +#include "stdafx.h" +#include +#include +#include +#include +using namespace std; + + + +int main(void) +{ + srand(time(NULL)); + int total = 0; + int rolls = 0; + int numOfDice = 0; + int numOfSides = 0; + int modifier = 0; + int roll = (rand() % numOfSides) + modifier; + while (numOfDice != 1, numOfSides != 1, modifier != 1){ + /*all variables must be inputed with 1's to leave.*/ + cout << "How Many Dice are you rolling?" << endl; + cin >> numOfDice; + cout << "How many Sides are there?" << endl; + cin >> numOfSides; + cout << "Type a modifier if any ex(-1 or 1)"; + cin >> modifier; + cout << roll; + while (rolls <= numOfDice) + { + total = total + roll; + ++rolls; + } + cout << "Total: " << total << endl; + } + cin.ignore(); + cout << "Press the enter key to exit."; + getchar(); + return 0; + +} + diff --git a/Lab02_3/Lab02_3/Lab02_3.vcxproj b/Lab02_3/Lab02_3/Lab02_3.vcxproj new file mode 100644 index 0000000..f9d63fa --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {145C96C5-F0B5-4EAD-8BE8-0497F2C5E57C} + Win32Proj + Lab02_3 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/Lab02_3/Lab02_3/Lab02_3.vcxproj.filters b/Lab02_3/Lab02_3/Lab02_3.vcxproj.filters new file mode 100644 index 0000000..9cc0dec --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Lab02_3/Lab02_3/ReadMe.txt b/Lab02_3/Lab02_3/ReadMe.txt new file mode 100644 index 0000000..0d0dacd --- /dev/null +++ b/Lab02_3/Lab02_3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab02_3 Project Overview +======================================================================== + +AppWizard has created this Lab02_3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab02_3 application. + + +Lab02_3.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Lab02_3.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Lab02_3.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Lab02_3.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Lab02_3/Lab02_3/stdafx.cpp b/Lab02_3/Lab02_3/stdafx.cpp new file mode 100644 index 0000000..985f418 --- /dev/null +++ b/Lab02_3/Lab02_3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab02_3.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Lab02_3/Lab02_3/stdafx.h b/Lab02_3/Lab02_3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab02_3/Lab02_3/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Lab02_3/Lab02_3/targetver.h b/Lab02_3/Lab02_3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab02_3/Lab02_3/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Lab02_3/ipch/lab02_3-90f1f8d7/lab02_3-e3c18e0f.ipch b/Lab02_3/ipch/lab02_3-90f1f8d7/lab02_3-e3c18e0f.ipch new file mode 100644 index 0000000..ae38b75 Binary files /dev/null and b/Lab02_3/ipch/lab02_3-90f1f8d7/lab02_3-e3c18e0f.ipch differ