diff --git a/Lab02_1/Debug/Lab02_1.exe b/Lab02_1/Debug/Lab02_1.exe new file mode 100644 index 0000000..5603982 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..5a1ed1f 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..bc961be Binary files /dev/null and b/Lab02_1/Debug/Lab02_1.pdb differ diff --git a/Lab02_1/Lab02_1.opensdf b/Lab02_1/Lab02_1.opensdf new file mode 100644 index 0000000..3c46626 Binary files /dev/null and b/Lab02_1/Lab02_1.opensdf differ diff --git a/Lab02_1/Lab02_1.sdf b/Lab02_1/Lab02_1.sdf new file mode 100644 index 0000000..67d62e2 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..7bf5803 --- /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", "{F409C7CE-D1BC-4463-AAFF-98EBABE1A341}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F409C7CE-D1BC-4463-AAFF-98EBABE1A341}.Debug|Win32.ActiveCfg = Debug|Win32 + {F409C7CE-D1BC-4463-AAFF-98EBABE1A341}.Debug|Win32.Build.0 = Debug|Win32 + {F409C7CE-D1BC-4463-AAFF-98EBABE1A341}.Release|Win32.ActiveCfg = Release|Win32 + {F409C7CE-D1BC-4463-AAFF-98EBABE1A341}.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..d8511be Binary files /dev/null and b/Lab02_1/Lab02_1.v12.suo differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.log b/Lab02_1/Lab02_1/Debug/Lab02_1.log new file mode 100644 index 0000000..4e59f8f --- /dev/null +++ b/Lab02_1/Lab02_1/Debug/Lab02_1.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 9:42:50 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Lab02_1\Lab02_1.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Lab02_1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_1.cpp + Lab02_1.cpp +c:\users\ieuser\cpp_lab_02\lab02_1\lab02_1\lab02_1.cpp(24): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Debug\Lab02_1.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Debug\Lab02_1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Debug\Lab02_1.lib" /MACHINE:X86 Debug\Lab02_1.obj + Debug\stdafx.obj + Lab02_1.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Debug\Lab02_1.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_1\Lab02_1\Lab02_1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:02.28 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..c4b3002 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..af371b7 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..1f0385c Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.read.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..72c02dd Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/CL.write.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate new file mode 100644 index 0000000..bf781df --- /dev/null +++ b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/Lab02_1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab02_1\| diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..ba765d1 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/cl.command.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog new file mode 100644 index 0000000..57f9c66 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.command.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog new file mode 100644 index 0000000..ac6ee31 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.read.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog new file mode 100644 index 0000000..3481a89 Binary files /dev/null and b/Lab02_1/Lab02_1/Debug/Lab02_1.tlog/link.write.1.tlog differ diff --git a/Lab02_1/Lab02_1/Debug/stdafx.obj b/Lab02_1/Lab02_1/Debug/stdafx.obj new file mode 100644 index 0000000..e63b4a2 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..018920f 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..68ea8ea 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..5e6dcfd --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.cpp @@ -0,0 +1,63 @@ +// Lab02_2.cpp : +// Andrew Hecky | 01-23-2015 +/********************************************************************* +* 1. Write a program that flips a coin 100 times and then tells you * +* the number of heads and tails. * +*********************************************************************/ + +#include "stdafx.h" +#include +#include +#include +using namespace std; + + +int _tmain(int argc, _TCHAR* argv[]) +{ + //Initial Values + int headCount = 0, tailCount = 0, flipCount = 0; + string cfCar; + + //Program Open + cout << "Press enter to start flipping the coin. "; + getchar(); + srand(time(NULL)); + cout << endl; + + //Coin Flip Loop + while (flipCount < 100) + { + + int coinFace = rand() % 2; // Flipping Coin + + flipCount = flipCount + 1; // Addding to Flip Count + + // If Coin Lands on Heads + if (coinFace == 1) + { + headCount = headCount + 1; + cfCar = "Heads"; + } + + // If Coin Lands on Tails + else + { + tailCount = tailCount + 1; + cfCar = "Tails"; + } + cout << "The " << flipCount << " flip landed on, " << cfCar << "!" << endl; + } + + //Program Close + cout << endl; + cout << endl; + cout << "We have flipped the coin 100 times. " << "Here Are The Results! " << endl; + cout << "- The Coin landed on Heads, " << headCount << " times! " << endl; + cout << "- The Coin landed on Tails, " << tailCount << " times! " << endl; + cout << endl; + cout << endl; + cout << " "; + 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..ad2aa83 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {F409C7CE-D1BC-4463-AAFF-98EBABE1A341} + Win32Proj + Lab02_1 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/Lab02_1/Lab02_1/Lab02_1.vcxproj.filters b/Lab02_1/Lab02_1/Lab02_1.vcxproj.filters new file mode 100644 index 0000000..b7527b6 --- /dev/null +++ b/Lab02_1/Lab02_1/Lab02_1.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Lab02_1/Lab02_1/ReadMe.txt b/Lab02_1/Lab02_1/ReadMe.txt new file mode 100644 index 0000000..e37dae6 --- /dev/null +++ b/Lab02_1/Lab02_1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab02_1 Project Overview +======================================================================== + +AppWizard has created this Lab02_1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab02_1 application. + + +Lab02_1.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Lab02_1.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Lab02_1.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Lab02_1.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Lab02_1/Lab02_1/stdafx.cpp b/Lab02_1/Lab02_1/stdafx.cpp new file mode 100644 index 0000000..8e24dcc --- /dev/null +++ b/Lab02_1/Lab02_1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab02_1.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Lab02_1/Lab02_1/stdafx.h b/Lab02_1/Lab02_1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab02_1/Lab02_1/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Lab02_1/Lab02_1/targetver.h b/Lab02_1/Lab02_1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab02_1/Lab02_1/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Lab02_1/ipch/lab02_1-e422f893/lab02_1-e39d5d0d.ipch b/Lab02_1/ipch/lab02_1-e422f893/lab02_1-e39d5d0d.ipch new file mode 100644 index 0000000..58380bf Binary files /dev/null and b/Lab02_1/ipch/lab02_1-e422f893/lab02_1-e39d5d0d.ipch differ diff --git a/Lab02_2/Debug/Lab02_2.exe b/Lab02_2/Debug/Lab02_2.exe new file mode 100644 index 0000000..387c9f0 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..acbf51f 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..242b820 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..77b9147 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..ba0eec9 --- /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", "{6F3D34E6-E0CD-41ED-B37F-E9256F32D37E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6F3D34E6-E0CD-41ED-B37F-E9256F32D37E}.Debug|Win32.ActiveCfg = Debug|Win32 + {6F3D34E6-E0CD-41ED-B37F-E9256F32D37E}.Debug|Win32.Build.0 = Debug|Win32 + {6F3D34E6-E0CD-41ED-B37F-E9256F32D37E}.Release|Win32.ActiveCfg = Release|Win32 + {6F3D34E6-E0CD-41ED-B37F-E9256F32D37E}.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..c2c2928 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..95e715c --- /dev/null +++ b/Lab02_2/Lab02_2/Debug/Lab02_2.log @@ -0,0 +1,15 @@ +Build started 1/23/2015 10:23:48 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Lab02_2\Lab02_2.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Lab02_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_2.cpp + Lab02_2.cpp +c:\users\ieuser\cpp_lab_02\lab02_2\lab02_2\lab02_2.cpp(28): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.lib" /MACHINE:X86 Debug\Lab02_2.obj + Debug\stdafx.obj + Lab02_2.vcxproj -> C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Debug\Lab02_2.exe +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_2\Lab02_2\Lab02_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.56 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..08159ff 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..1d4753d Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.pch differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.read.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..fa66c69 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.read.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.write.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..c8033c7 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/CL.write.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/Lab02_2.lastbuildstate b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/Lab02_2.lastbuildstate new file mode 100644 index 0000000..45f7cda --- /dev/null +++ b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/Lab02_2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab02_2\| diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/cl.command.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..24d7d38 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/cl.command.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.command.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.command.1.tlog new file mode 100644 index 0000000..1988b7e Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.command.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.read.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.read.1.tlog new file mode 100644 index 0000000..b865e64 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.read.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.write.1.tlog b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.write.1.tlog new file mode 100644 index 0000000..cf04787 Binary files /dev/null and b/Lab02_2/Lab02_2/Debug/Lab02_2.tlog/link.write.1.tlog differ diff --git a/Lab02_2/Lab02_2/Debug/stdafx.obj b/Lab02_2/Lab02_2/Debug/stdafx.obj new file mode 100644 index 0000000..64521fd 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..f9052af 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..406d8cb 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..89f93ca --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.cpp @@ -0,0 +1,63 @@ +// Lab02_2.cpp : +// Andrew Hecky | 01-234-2015 +/********************************************************************* +* 2. Translate the Guess My Number game from our book into a * +* working C++ program. * +********************************************************************** +* Guess My Number * +*====================================================================* +* The computer picks a random number between 1 and 100 The player * +* tries to guess it and the computer lets the player know if the * +* guess is too high, too low or right on the money * +*********************************************************************/ + + +#include "stdafx.h" +#include +#include +#include +using namespace std; + + +int _tmain(int argc, _TCHAR* argv[]) +{ + // Program Open + cout << "\tWelcome to 'Guess My Number'!" << endl; + cout << "\nI'm Thinking of a number between 1 and 100. " << endl; + cout << "Try to guess it in as few attempts as possible. " << endl; + srand(time(NULL)); + + // Setting Initial Values + int the_number = rand() % 101; + int guess = 0; + int tries = 0; + + // OPEN Guessing Loop + while (guess != the_number) + { + cout << endl; + cout << "Take A Guess: "; // Input Prompt + cin >> guess; // User Guess + cin.sync(); + tries = tries + 1; + + // If The_Number is Smaller than the Guess + if (guess > the_number){ + cout << "Lower... ";} + + // If The_Number is Larger than the Guess + if (guess < the_number){ + cout << "Higher... ";} + } // CLOSE Guessing Loop + + // Program Close + cout << "You Guessed it! The number was " << the_number << endl; + cout << "And it only took you " << tries << " tries!\n" << endl; + cout << endl; + cout << endl; + cout << "Press the enter key to exit. "; + getchar(); + + 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..9b82d34 --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {6F3D34E6-E0CD-41ED-B37F-E9256F32D37E} + Win32Proj + Lab02_2 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/Lab02_2/Lab02_2/Lab02_2.vcxproj.filters b/Lab02_2/Lab02_2/Lab02_2.vcxproj.filters new file mode 100644 index 0000000..cce239d --- /dev/null +++ b/Lab02_2/Lab02_2/Lab02_2.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Lab02_2/Lab02_2/ReadMe.txt b/Lab02_2/Lab02_2/ReadMe.txt new file mode 100644 index 0000000..367b068 --- /dev/null +++ b/Lab02_2/Lab02_2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab02_2 Project Overview +======================================================================== + +AppWizard has created this Lab02_2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab02_2 application. + + +Lab02_2.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Lab02_2.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Lab02_2.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Lab02_2.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Lab02_2/Lab02_2/stdafx.cpp b/Lab02_2/Lab02_2/stdafx.cpp new file mode 100644 index 0000000..6e725e2 --- /dev/null +++ b/Lab02_2/Lab02_2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab02_2.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Lab02_2/Lab02_2/stdafx.h b/Lab02_2/Lab02_2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab02_2/Lab02_2/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Lab02_2/Lab02_2/targetver.h b/Lab02_2/Lab02_2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab02_2/Lab02_2/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Lab02_2/ipch/lab02_2-97919e96/lab02_2-e3af758e.ipch b/Lab02_2/ipch/lab02_2-97919e96/lab02_2-e3af758e.ipch new file mode 100644 index 0000000..2ff33e1 Binary files /dev/null and b/Lab02_2/ipch/lab02_2-97919e96/lab02_2-e3af758e.ipch differ diff --git a/Lab02_3/Debug/Lab02_3.exe b/Lab02_3/Debug/Lab02_3.exe new file mode 100644 index 0000000..7acab86 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..cc3d243 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..471a0c4 Binary files /dev/null and b/Lab02_3/Debug/Lab02_3.pdb differ diff --git a/Lab02_3/Lab02_3.opensdf b/Lab02_3/Lab02_3.opensdf new file mode 100644 index 0000000..3c46626 Binary files /dev/null and b/Lab02_3/Lab02_3.opensdf differ diff --git a/Lab02_3/Lab02_3.sdf b/Lab02_3/Lab02_3.sdf new file mode 100644 index 0000000..3e3241b 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..031cf19 --- /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", "{11AC0066-71A4-4B75-ADEA-5F9F2CD9946F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {11AC0066-71A4-4B75-ADEA-5F9F2CD9946F}.Debug|Win32.ActiveCfg = Debug|Win32 + {11AC0066-71A4-4B75-ADEA-5F9F2CD9946F}.Debug|Win32.Build.0 = Debug|Win32 + {11AC0066-71A4-4B75-ADEA-5F9F2CD9946F}.Release|Win32.ActiveCfg = Release|Win32 + {11AC0066-71A4-4B75-ADEA-5F9F2CD9946F}.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..9bc1743 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..e2fce0d --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.Build.CppClean.log @@ -0,0 +1,14 @@ +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.pch +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\vc120.pdb +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\vc120.idb +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\stdafx.obj +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.obj +c:\users\ieuser\cpp_lab_02\lab02_3\debug\lab02_3.ilk +c:\users\ieuser\cpp_lab_02\lab02_3\debug\lab02_3.exe +c:\users\ieuser\cpp_lab_02\lab02_3\debug\lab02_3.pdb +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\cl.command.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\cl.read.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\cl.write.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\link.command.1.tlog +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\debug\lab02_3.tlog\link.read.1.tlog +c:\users\ieuser\cpp_lab_02\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..6056810 --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.log @@ -0,0 +1,11 @@ +Build started 1/23/2015 11:27:48 AM. +Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_3\Lab02_3\Lab02_3.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\Lab02_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Lab02_3.cpp + Lab02_3.cpp +c:\users\ieuser\cpp_lab_02\lab02_3\lab02_3\lab02_3.cpp(47): error C2065: 'die' : undeclared identifier +Done Building Project "C:\Users\IEUser\Cpp_Lab_02\Lab02_3\Lab02_3\Lab02_3.vcxproj" (Build target(s)) -- FAILED. + +Build FAILED. + +Time Elapsed 00:00:01.26 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..39ae5dd 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..e33c3d2 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..edf7e13 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/CL.write.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate new file mode 100644 index 0000000..972d52e --- /dev/null +++ b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/Lab02_3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Cpp_Lab_02\Lab02_3\| diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..576d682 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/cl.command.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog new file mode 100644 index 0000000..e19157c Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.command.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog new file mode 100644 index 0000000..b79d1c4 Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.read.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog new file mode 100644 index 0000000..78fc7aa Binary files /dev/null and b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/link.write.1.tlog differ diff --git a/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/unsuccessfulbuild b/Lab02_3/Lab02_3/Debug/Lab02_3.tlog/unsuccessfulbuild new file mode 100644 index 0000000..e69de29 diff --git a/Lab02_3/Lab02_3/Debug/stdafx.obj b/Lab02_3/Lab02_3/Debug/stdafx.obj new file mode 100644 index 0000000..be4ef89 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..ba70085 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..6378cac 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..7699334 --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.cpp @@ -0,0 +1,56 @@ +// Lab02_3.cpp : +// Andrew Hecky | 01-23-2015 +/********************************************************************* +* 3. Create a simple die rolling app. Below is a sample of how the * +* program should run. * +*********************************************************************/ + + +#include "stdafx.h" +#include +#include +#include +using namespace std; + + +int _tmain(int argc, _TCHAR* argv[]) +{ + // Initial Values + int numDice = 0, sideDice = 0, diceMod = 0; + + // Program Open + 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; + + cout << "Roll Info: "; + // User Inputs Roll Info + cin >> numDice >> sideDice >> diceMod; + cin.sync(); + + //Roll Loop + while (numDice != 1 || sideDice != 1 || diceMod != 1) + { + for (; numDice;){ cout << die; } + cout << "in loop"; + + } + + cout << "out of loop"; + 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..088b3d0 --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {11AC0066-71A4-4B75-ADEA-5F9F2CD9946F} + 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/Lab02_3.vcxproj.user b/Lab02_3/Lab02_3/Lab02_3.vcxproj.user new file mode 100644 index 0000000..55563ed --- /dev/null +++ b/Lab02_3/Lab02_3/Lab02_3.vcxproj.user @@ -0,0 +1,6 @@ + + + + WindowsLocalDebugger + + \ No newline at end of file diff --git a/Lab02_3/Lab02_3/ReadMe.txt b/Lab02_3/Lab02_3/ReadMe.txt new file mode 100644 index 0000000..0d0dacd --- /dev/null +++ b/Lab02_3/Lab02_3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Lab02_3 Project Overview +======================================================================== + +AppWizard has created this Lab02_3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Lab02_3 application. + + +Lab02_3.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +Lab02_3.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +Lab02_3.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named Lab02_3.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/Lab02_3/Lab02_3/stdafx.cpp b/Lab02_3/Lab02_3/stdafx.cpp new file mode 100644 index 0000000..985f418 --- /dev/null +++ b/Lab02_3/Lab02_3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Lab02_3.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/Lab02_3/Lab02_3/stdafx.h b/Lab02_3/Lab02_3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab02_3/Lab02_3/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/Lab02_3/Lab02_3/targetver.h b/Lab02_3/Lab02_3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab02_3/Lab02_3/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/Lab02_3/ipch/lab02_3-4b004499/lab02_3-e3c18e0f.ipch b/Lab02_3/ipch/lab02_3-4b004499/lab02_3-e3c18e0f.ipch new file mode 100644 index 0000000..02e36d5 Binary files /dev/null and b/Lab02_3/ipch/lab02_3-4b004499/lab02_3-e3c18e0f.ipch differ