diff --git a/lab1/lab01_1/Debug/lab01_1.exe b/lab1/lab01_1/Debug/lab01_1.exe new file mode 100644 index 0000000..43f10e2 Binary files /dev/null and b/lab1/lab01_1/Debug/lab01_1.exe differ diff --git a/lab1/lab01_1/Debug/lab01_1.ilk b/lab1/lab01_1/Debug/lab01_1.ilk new file mode 100644 index 0000000..6dcd106 Binary files /dev/null and b/lab1/lab01_1/Debug/lab01_1.ilk differ diff --git a/lab1/lab01_1/Debug/lab01_1.pdb b/lab1/lab01_1/Debug/lab01_1.pdb new file mode 100644 index 0000000..fd4aaec Binary files /dev/null and b/lab1/lab01_1/Debug/lab01_1.pdb differ diff --git a/lab1/lab01_1/ipch/lab01_1-b6928364/lab01_1-96a3204c.ipch b/lab1/lab01_1/ipch/lab01_1-b6928364/lab01_1-96a3204c.ipch new file mode 100644 index 0000000..755cb6e Binary files /dev/null and b/lab1/lab01_1/ipch/lab01_1-b6928364/lab01_1-96a3204c.ipch differ diff --git a/lab1/lab01_1/lab01_1.sdf b/lab1/lab01_1/lab01_1.sdf new file mode 100644 index 0000000..036ba0b Binary files /dev/null and b/lab1/lab01_1/lab01_1.sdf differ diff --git a/lab1/lab01_1/lab01_1.sln b/lab1/lab01_1/lab01_1.sln new file mode 100644 index 0000000..9232a67 --- /dev/null +++ b/lab1/lab01_1/lab01_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}") = "lab01_1", "lab01_1\lab01_1.vcxproj", "{3C91531C-7FCC-4207-9440-4A3C091C6D6A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3C91531C-7FCC-4207-9440-4A3C091C6D6A}.Debug|Win32.ActiveCfg = Debug|Win32 + {3C91531C-7FCC-4207-9440-4A3C091C6D6A}.Debug|Win32.Build.0 = Debug|Win32 + {3C91531C-7FCC-4207-9440-4A3C091C6D6A}.Release|Win32.ActiveCfg = Release|Win32 + {3C91531C-7FCC-4207-9440-4A3C091C6D6A}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab1/lab01_1/lab01_1.v12.suo b/lab1/lab01_1/lab01_1.v12.suo new file mode 100644 index 0000000..0d1ccb0 Binary files /dev/null and b/lab1/lab01_1/lab01_1.v12.suo differ diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.log b/lab1/lab01_1/lab01_1/Debug/lab01_1.log new file mode 100644 index 0000000..1890823 --- /dev/null +++ b/lab1/lab01_1/lab01_1/Debug/lab01_1.log @@ -0,0 +1,14 @@ +Build started 1/20/2015 11:57:31 PM. +Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\lab01_1\lab01_1\lab01_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\lab01_1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt lab01_1.cpp + lab01_1.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Documents\Visual Studio 2013\Projects\lab01_1\Debug\lab01_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\Visual Studio 2013\Projects\lab01_1\Debug\lab01_1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\Visual Studio 2013\Projects\lab01_1\Debug\lab01_1.lib" /MACHINE:X86 Debug\lab01_1.obj + Debug\stdafx.obj + lab01_1.vcxproj -> C:\Users\IEUser\Documents\Visual Studio 2013\Projects\lab01_1\Debug\lab01_1.exe +Done Building Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\lab01_1\lab01_1\lab01_1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.17 diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.obj b/lab1/lab01_1/lab01_1/Debug/lab01_1.obj new file mode 100644 index 0000000..8f4638f Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/lab01_1.obj differ diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.pch b/lab1/lab01_1/lab01_1/Debug/lab01_1.pch new file mode 100644 index 0000000..2cf7e79 Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/lab01_1.pch differ diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/CL.read.1.tlog b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..a8f6ec7 Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/CL.read.1.tlog differ diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/CL.write.1.tlog b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..3864fa7 Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/CL.write.1.tlog differ diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/cl.command.1.tlog b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..314d383 Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/cl.command.1.tlog differ diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/lab01_1.lastbuildstate b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/lab01_1.lastbuildstate new file mode 100644 index 0000000..6700943 --- /dev/null +++ b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/lab01_1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Documents\Visual Studio 2013\Projects\lab01_1\| diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.command.1.tlog b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.command.1.tlog new file mode 100644 index 0000000..55d6785 Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.command.1.tlog differ diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.read.1.tlog b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.read.1.tlog new file mode 100644 index 0000000..66b53df Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.read.1.tlog differ diff --git a/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.write.1.tlog b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.write.1.tlog new file mode 100644 index 0000000..c5d669b Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/lab01_1.tlog/link.write.1.tlog differ diff --git a/lab1/lab01_1/lab01_1/Debug/stdafx.obj b/lab1/lab01_1/lab01_1/Debug/stdafx.obj new file mode 100644 index 0000000..9c7dbaf Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/stdafx.obj differ diff --git a/lab1/lab01_1/lab01_1/Debug/vc120.idb b/lab1/lab01_1/lab01_1/Debug/vc120.idb new file mode 100644 index 0000000..bd59721 Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/vc120.idb differ diff --git a/lab1/lab01_1/lab01_1/Debug/vc120.pdb b/lab1/lab01_1/lab01_1/Debug/vc120.pdb new file mode 100644 index 0000000..7be13a2 Binary files /dev/null and b/lab1/lab01_1/lab01_1/Debug/vc120.pdb differ diff --git a/lab1/lab01_1/lab01_1/ReadMe.txt b/lab1/lab01_1/lab01_1/ReadMe.txt new file mode 100644 index 0000000..08f9bce --- /dev/null +++ b/lab1/lab01_1/lab01_1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : lab01_1 Project Overview +======================================================================== + +AppWizard has created this lab01_1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your lab01_1 application. + + +lab01_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. + +lab01_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). + +lab01_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 lab01_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/lab1/lab01_1/lab01_1/lab01_1.cpp b/lab1/lab01_1/lab01_1/lab01_1.cpp new file mode 100644 index 0000000..28cbf65 --- /dev/null +++ b/lab1/lab01_1/lab01_1/lab01_1.cpp @@ -0,0 +1,24 @@ +// lab01_1.cpp +// Jason Nguyen +// 1/21/15 + +#include "stdafx.h" +#include +#include + +using namespace std; + +int _tmain(int argc, _TCHAR* argv[]) +{ + string favfood_1; + string favfood_2; + cout << "Enter your first favorite food: "; + cin >> favfood_1; + cout << "Enter your second favorite food: "; + cin >> favfood_2; + cout << "Your new favorite food is: " << favfood_1 + favfood_2; + getchar(); + + return 0; +} + diff --git a/lab1/lab01_1/lab01_1/lab01_1.vcxproj b/lab1/lab01_1/lab01_1/lab01_1.vcxproj new file mode 100644 index 0000000..937c784 --- /dev/null +++ b/lab1/lab01_1/lab01_1/lab01_1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {3C91531C-7FCC-4207-9440-4A3C091C6D6A} + Win32Proj + lab01_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/lab1/lab01_1/lab01_1/lab01_1.vcxproj.filters b/lab1/lab01_1/lab01_1/lab01_1.vcxproj.filters new file mode 100644 index 0000000..a76be77 --- /dev/null +++ b/lab1/lab01_1/lab01_1/lab01_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/lab1/lab01_1/lab01_1/stdafx.cpp b/lab1/lab01_1/lab01_1/stdafx.cpp new file mode 100644 index 0000000..ed0d357 --- /dev/null +++ b/lab1/lab01_1/lab01_1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// lab01_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/lab1/lab01_1/lab01_1/stdafx.h b/lab1/lab01_1/lab01_1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab1/lab01_1/lab01_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/lab1/lab01_1/lab01_1/targetver.h b/lab1/lab01_1/lab01_1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab1/lab01_1/lab01_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/lab1/lab01_2/Debug/lab01_2.exe b/lab1/lab01_2/Debug/lab01_2.exe new file mode 100644 index 0000000..4e700c1 Binary files /dev/null and b/lab1/lab01_2/Debug/lab01_2.exe differ diff --git a/lab1/lab01_2/Debug/lab01_2.ilk b/lab1/lab01_2/Debug/lab01_2.ilk new file mode 100644 index 0000000..e6d48ed Binary files /dev/null and b/lab1/lab01_2/Debug/lab01_2.ilk differ diff --git a/lab1/lab01_2/Debug/lab01_2.pdb b/lab1/lab01_2/Debug/lab01_2.pdb new file mode 100644 index 0000000..588fc8e Binary files /dev/null and b/lab1/lab01_2/Debug/lab01_2.pdb differ diff --git a/lab1/lab01_2/ipch/lab01_2-6a012967/lab01_2-96b538cd.ipch b/lab1/lab01_2/ipch/lab01_2-6a012967/lab01_2-96b538cd.ipch new file mode 100644 index 0000000..ea945e0 Binary files /dev/null and b/lab1/lab01_2/ipch/lab01_2-6a012967/lab01_2-96b538cd.ipch differ diff --git a/lab1/lab01_2/lab01_2.sdf b/lab1/lab01_2/lab01_2.sdf new file mode 100644 index 0000000..a173009 Binary files /dev/null and b/lab1/lab01_2/lab01_2.sdf differ diff --git a/lab1/lab01_2/lab01_2.sln b/lab1/lab01_2/lab01_2.sln new file mode 100644 index 0000000..ddf3d1d --- /dev/null +++ b/lab1/lab01_2/lab01_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}") = "lab01_2", "lab01_2\lab01_2.vcxproj", "{BCB90E9B-5EC9-4EC7-A9B6-AECA7B3CDB4A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BCB90E9B-5EC9-4EC7-A9B6-AECA7B3CDB4A}.Debug|Win32.ActiveCfg = Debug|Win32 + {BCB90E9B-5EC9-4EC7-A9B6-AECA7B3CDB4A}.Debug|Win32.Build.0 = Debug|Win32 + {BCB90E9B-5EC9-4EC7-A9B6-AECA7B3CDB4A}.Release|Win32.ActiveCfg = Release|Win32 + {BCB90E9B-5EC9-4EC7-A9B6-AECA7B3CDB4A}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab1/lab01_2/lab01_2.v12.suo b/lab1/lab01_2/lab01_2.v12.suo new file mode 100644 index 0000000..5b0c343 Binary files /dev/null and b/lab1/lab01_2/lab01_2.v12.suo differ diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.log b/lab1/lab01_2/lab01_2/Debug/lab01_2.log new file mode 100644 index 0000000..b44a7b8 --- /dev/null +++ b/lab1/lab01_2/lab01_2/Debug/lab01_2.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 12:03:04 AM. +Project "c:\Users\IEUser\documents\visual studio 2013\Projects\lab01_2\lab01_2\lab01_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\lab01_2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt lab01_2.cpp + lab01_2.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"c:\users\ieuser\documents\visual studio 2013\Projects\lab01_2\Debug\lab01_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\visual studio 2013\Projects\lab01_2\Debug\lab01_2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"c:\users\ieuser\documents\visual studio 2013\Projects\lab01_2\Debug\lab01_2.lib" /MACHINE:X86 Debug\lab01_2.obj + Debug\stdafx.obj + lab01_2.vcxproj -> c:\users\ieuser\documents\visual studio 2013\Projects\lab01_2\Debug\lab01_2.exe +Done Building Project "c:\Users\IEUser\documents\visual studio 2013\Projects\lab01_2\lab01_2\lab01_2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.58 diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.obj b/lab1/lab01_2/lab01_2/Debug/lab01_2.obj new file mode 100644 index 0000000..1dc7ae3 Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/lab01_2.obj differ diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.pch b/lab1/lab01_2/lab01_2/Debug/lab01_2.pch new file mode 100644 index 0000000..83cec02 Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/lab01_2.pch differ diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/CL.read.1.tlog b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..7b79aae Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/CL.read.1.tlog differ diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/CL.write.1.tlog b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..423d217 Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/CL.write.1.tlog differ diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/cl.command.1.tlog b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..ce509c1 Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/cl.command.1.tlog differ diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/lab01_2.lastbuildstate b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/lab01_2.lastbuildstate new file mode 100644 index 0000000..32aaa14 --- /dev/null +++ b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/lab01_2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|c:\users\ieuser\documents\visual studio 2013\Projects\lab01_2\| diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.command.1.tlog b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.command.1.tlog new file mode 100644 index 0000000..3b9d49e Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.command.1.tlog differ diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.read.1.tlog b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.read.1.tlog new file mode 100644 index 0000000..718887d Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.read.1.tlog differ diff --git a/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.write.1.tlog b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.write.1.tlog new file mode 100644 index 0000000..28e95ee Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/lab01_2.tlog/link.write.1.tlog differ diff --git a/lab1/lab01_2/lab01_2/Debug/stdafx.obj b/lab1/lab01_2/lab01_2/Debug/stdafx.obj new file mode 100644 index 0000000..40ef190 Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/stdafx.obj differ diff --git a/lab1/lab01_2/lab01_2/Debug/vc120.idb b/lab1/lab01_2/lab01_2/Debug/vc120.idb new file mode 100644 index 0000000..518a4db Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/vc120.idb differ diff --git a/lab1/lab01_2/lab01_2/Debug/vc120.pdb b/lab1/lab01_2/lab01_2/Debug/vc120.pdb new file mode 100644 index 0000000..c3d788b Binary files /dev/null and b/lab1/lab01_2/lab01_2/Debug/vc120.pdb differ diff --git a/lab1/lab01_2/lab01_2/ReadMe.txt b/lab1/lab01_2/lab01_2/ReadMe.txt new file mode 100644 index 0000000..1c195cc --- /dev/null +++ b/lab1/lab01_2/lab01_2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : lab01_2 Project Overview +======================================================================== + +AppWizard has created this lab01_2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your lab01_2 application. + + +lab01_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. + +lab01_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). + +lab01_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 lab01_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/lab1/lab01_2/lab01_2/lab01_2.cpp b/lab1/lab01_2/lab01_2/lab01_2.cpp new file mode 100644 index 0000000..1ca9531 --- /dev/null +++ b/lab1/lab01_2/lab01_2/lab01_2.cpp @@ -0,0 +1,22 @@ +// lab01_2.cpp +// Jason Nguyen +// 1/21/15 + +#include "stdafx.h" +#include + +using namespace std; + +int _tmain(int argc, _TCHAR* argv[]) +{ + double bill_total; + + cout << "Bill total: "; + cin >> bill_total; + + cout << "15 percent tip: " << bill_total * .15 << endl; + cout << "20 percent tip: " << bill_total * .2; + getchar(); + return 0; +} + diff --git a/lab1/lab01_2/lab01_2/lab01_2.vcxproj b/lab1/lab01_2/lab01_2/lab01_2.vcxproj new file mode 100644 index 0000000..73b5613 --- /dev/null +++ b/lab1/lab01_2/lab01_2/lab01_2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {BCB90E9B-5EC9-4EC7-A9B6-AECA7B3CDB4A} + Win32Proj + lab01_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/lab1/lab01_2/lab01_2/lab01_2.vcxproj.filters b/lab1/lab01_2/lab01_2/lab01_2.vcxproj.filters new file mode 100644 index 0000000..de379b5 --- /dev/null +++ b/lab1/lab01_2/lab01_2/lab01_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/lab1/lab01_2/lab01_2/stdafx.cpp b/lab1/lab01_2/lab01_2/stdafx.cpp new file mode 100644 index 0000000..f12c38a --- /dev/null +++ b/lab1/lab01_2/lab01_2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// lab01_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/lab1/lab01_2/lab01_2/stdafx.h b/lab1/lab01_2/lab01_2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab1/lab01_2/lab01_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/lab1/lab01_2/lab01_2/targetver.h b/lab1/lab01_2/lab01_2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab1/lab01_2/lab01_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/lab1/lab01_3/Debug/lab01_3.exe b/lab1/lab01_3/Debug/lab01_3.exe new file mode 100644 index 0000000..2450f17 Binary files /dev/null and b/lab1/lab01_3/Debug/lab01_3.exe differ diff --git a/lab1/lab01_3/Debug/lab01_3.ilk b/lab1/lab01_3/Debug/lab01_3.ilk new file mode 100644 index 0000000..b99cf36 Binary files /dev/null and b/lab1/lab01_3/Debug/lab01_3.ilk differ diff --git a/lab1/lab01_3/Debug/lab01_3.pdb b/lab1/lab01_3/Debug/lab01_3.pdb new file mode 100644 index 0000000..23008ea Binary files /dev/null and b/lab1/lab01_3/Debug/lab01_3.pdb differ diff --git a/lab1/lab01_3/ipch/lab01_3-1d6fcf6a/lab01_3-96c7514e.ipch b/lab1/lab01_3/ipch/lab01_3-1d6fcf6a/lab01_3-96c7514e.ipch new file mode 100644 index 0000000..0c7add6 Binary files /dev/null and b/lab1/lab01_3/ipch/lab01_3-1d6fcf6a/lab01_3-96c7514e.ipch differ diff --git a/lab1/lab01_3/lab01_3.sdf b/lab1/lab01_3/lab01_3.sdf new file mode 100644 index 0000000..d4f730d Binary files /dev/null and b/lab1/lab01_3/lab01_3.sdf differ diff --git a/lab1/lab01_3/lab01_3.sln b/lab1/lab01_3/lab01_3.sln new file mode 100644 index 0000000..118d9ac --- /dev/null +++ b/lab1/lab01_3/lab01_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}") = "lab01_3", "lab01_3\lab01_3.vcxproj", "{946432D5-C380-4968-A29A-5EE3EAB94A3B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {946432D5-C380-4968-A29A-5EE3EAB94A3B}.Debug|Win32.ActiveCfg = Debug|Win32 + {946432D5-C380-4968-A29A-5EE3EAB94A3B}.Debug|Win32.Build.0 = Debug|Win32 + {946432D5-C380-4968-A29A-5EE3EAB94A3B}.Release|Win32.ActiveCfg = Release|Win32 + {946432D5-C380-4968-A29A-5EE3EAB94A3B}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab1/lab01_3/lab01_3.v12.suo b/lab1/lab01_3/lab01_3.v12.suo new file mode 100644 index 0000000..4496c6a Binary files /dev/null and b/lab1/lab01_3/lab01_3.v12.suo differ diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.log b/lab1/lab01_3/lab01_3/Debug/lab01_3.log new file mode 100644 index 0000000..c5a25b6 --- /dev/null +++ b/lab1/lab01_3/lab01_3/Debug/lab01_3.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 12:11:27 AM. +Project "c:\Users\IEUser\documents\visual studio 2013\Projects\lab01_3\lab01_3\lab01_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\lab01_3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt lab01_3.cpp + lab01_3.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"c:\users\ieuser\documents\visual studio 2013\Projects\lab01_3\Debug\lab01_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\visual studio 2013\Projects\lab01_3\Debug\lab01_3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"c:\users\ieuser\documents\visual studio 2013\Projects\lab01_3\Debug\lab01_3.lib" /MACHINE:X86 Debug\lab01_3.obj + Debug\stdafx.obj + lab01_3.vcxproj -> c:\users\ieuser\documents\visual studio 2013\Projects\lab01_3\Debug\lab01_3.exe +Done Building Project "c:\Users\IEUser\documents\visual studio 2013\Projects\lab01_3\lab01_3\lab01_3.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.24 diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.obj b/lab1/lab01_3/lab01_3/Debug/lab01_3.obj new file mode 100644 index 0000000..584b3db Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/lab01_3.obj differ diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.pch b/lab1/lab01_3/lab01_3/Debug/lab01_3.pch new file mode 100644 index 0000000..eee4626 Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/lab01_3.pch differ diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/CL.read.1.tlog b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..533df4e Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/CL.read.1.tlog differ diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/CL.write.1.tlog b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..143af06 Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/CL.write.1.tlog differ diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/cl.command.1.tlog b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..b2d2401 Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/cl.command.1.tlog differ diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/lab01_3.lastbuildstate b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/lab01_3.lastbuildstate new file mode 100644 index 0000000..7019bb4 --- /dev/null +++ b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/lab01_3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|c:\users\ieuser\documents\visual studio 2013\Projects\lab01_3\| diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.command.1.tlog b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.command.1.tlog new file mode 100644 index 0000000..23d9d08 Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.command.1.tlog differ diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.read.1.tlog b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.read.1.tlog new file mode 100644 index 0000000..23cc0e8 Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.read.1.tlog differ diff --git a/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.write.1.tlog b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.write.1.tlog new file mode 100644 index 0000000..f4413a8 Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/lab01_3.tlog/link.write.1.tlog differ diff --git a/lab1/lab01_3/lab01_3/Debug/stdafx.obj b/lab1/lab01_3/lab01_3/Debug/stdafx.obj new file mode 100644 index 0000000..43adf76 Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/stdafx.obj differ diff --git a/lab1/lab01_3/lab01_3/Debug/vc120.idb b/lab1/lab01_3/lab01_3/Debug/vc120.idb new file mode 100644 index 0000000..44b3eea Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/vc120.idb differ diff --git a/lab1/lab01_3/lab01_3/Debug/vc120.pdb b/lab1/lab01_3/lab01_3/Debug/vc120.pdb new file mode 100644 index 0000000..423b0c3 Binary files /dev/null and b/lab1/lab01_3/lab01_3/Debug/vc120.pdb differ diff --git a/lab1/lab01_3/lab01_3/ReadMe.txt b/lab1/lab01_3/lab01_3/ReadMe.txt new file mode 100644 index 0000000..de7881e --- /dev/null +++ b/lab1/lab01_3/lab01_3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : lab01_3 Project Overview +======================================================================== + +AppWizard has created this lab01_3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your lab01_3 application. + + +lab01_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. + +lab01_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). + +lab01_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 lab01_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/lab1/lab01_3/lab01_3/lab01_3.cpp b/lab1/lab01_3/lab01_3/lab01_3.cpp new file mode 100644 index 0000000..9f176ca --- /dev/null +++ b/lab1/lab01_3/lab01_3/lab01_3.cpp @@ -0,0 +1,31 @@ +// lab01_3.cpp +// Jason Nguyen +// 1/21/15 + +#include "stdafx.h" +#include +using namespace std; + + +int _tmain(int argc, _TCHAR* argv[]) +{ + double base_price; + double tax; + double license; + double dealer_prep = 15; + double des_charge = 190; + double actual_price; + cout << "Enter base price of car: "; + cin >> base_price; + tax = base_price * .1; + cout << "Tax: " << tax << endl; + license = base_price * .2; + cout << "License: " << license << endl; + cout << "Dealer prep: " << dealer_prep << endl; + cout << "Destination charge: " << des_charge << endl; + actual_price = base_price + tax + license + dealer_prep + des_charge; + cout << "\n\nAfter fees price: " << actual_price; + getchar(); + return 0; +} + diff --git a/lab1/lab01_3/lab01_3/lab01_3.vcxproj b/lab1/lab01_3/lab01_3/lab01_3.vcxproj new file mode 100644 index 0000000..66b1616 --- /dev/null +++ b/lab1/lab01_3/lab01_3/lab01_3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {946432D5-C380-4968-A29A-5EE3EAB94A3B} + Win32Proj + lab01_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/lab1/lab01_3/lab01_3/lab01_3.vcxproj.filters b/lab1/lab01_3/lab01_3/lab01_3.vcxproj.filters new file mode 100644 index 0000000..8b33604 --- /dev/null +++ b/lab1/lab01_3/lab01_3/lab01_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/lab1/lab01_3/lab01_3/stdafx.cpp b/lab1/lab01_3/lab01_3/stdafx.cpp new file mode 100644 index 0000000..be155eb --- /dev/null +++ b/lab1/lab01_3/lab01_3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// lab01_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/lab1/lab01_3/lab01_3/stdafx.h b/lab1/lab01_3/lab01_3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab1/lab01_3/lab01_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/lab1/lab01_3/lab01_3/targetver.h b/lab1/lab01_3/lab01_3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab1/lab01_3/lab01_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/lab1/lab01_4/Debug/lab01_4.exe b/lab1/lab01_4/Debug/lab01_4.exe new file mode 100644 index 0000000..c04b966 Binary files /dev/null and b/lab1/lab01_4/Debug/lab01_4.exe differ diff --git a/lab1/lab01_4/Debug/lab01_4.ilk b/lab1/lab01_4/Debug/lab01_4.ilk new file mode 100644 index 0000000..40c51b3 Binary files /dev/null and b/lab1/lab01_4/Debug/lab01_4.ilk differ diff --git a/lab1/lab01_4/Debug/lab01_4.pdb b/lab1/lab01_4/Debug/lab01_4.pdb new file mode 100644 index 0000000..1710f98 Binary files /dev/null and b/lab1/lab01_4/Debug/lab01_4.pdb differ diff --git a/lab1/lab01_4/ipch/lab01_4-d0de756d/lab01_4-96d969cf.ipch b/lab1/lab01_4/ipch/lab01_4-d0de756d/lab01_4-96d969cf.ipch new file mode 100644 index 0000000..480b0ee Binary files /dev/null and b/lab1/lab01_4/ipch/lab01_4-d0de756d/lab01_4-96d969cf.ipch differ diff --git a/lab1/lab01_4/lab01_4.sdf b/lab1/lab01_4/lab01_4.sdf new file mode 100644 index 0000000..802599f Binary files /dev/null and b/lab1/lab01_4/lab01_4.sdf differ diff --git a/lab1/lab01_4/lab01_4.sln b/lab1/lab01_4/lab01_4.sln new file mode 100644 index 0000000..d8b27b5 --- /dev/null +++ b/lab1/lab01_4/lab01_4.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}") = "lab01_4", "lab01_4\lab01_4.vcxproj", "{B9966711-3E8D-4F19-A6AA-0D06457531FE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B9966711-3E8D-4F19-A6AA-0D06457531FE}.Debug|Win32.ActiveCfg = Debug|Win32 + {B9966711-3E8D-4F19-A6AA-0D06457531FE}.Debug|Win32.Build.0 = Debug|Win32 + {B9966711-3E8D-4F19-A6AA-0D06457531FE}.Release|Win32.ActiveCfg = Release|Win32 + {B9966711-3E8D-4F19-A6AA-0D06457531FE}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab1/lab01_4/lab01_4.v12.suo b/lab1/lab01_4/lab01_4.v12.suo new file mode 100644 index 0000000..9e7df4d Binary files /dev/null and b/lab1/lab01_4/lab01_4.v12.suo differ diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.log b/lab1/lab01_4/lab01_4/Debug/lab01_4.log new file mode 100644 index 0000000..1d8039a --- /dev/null +++ b/lab1/lab01_4/lab01_4/Debug/lab01_4.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 12:31:38 AM. +Project "c:\Users\IEUser\documents\visual studio 2013\Projects\lab01_4\lab01_4\lab01_4.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\lab01_4.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt lab01_4.cpp + lab01_4.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"c:\users\ieuser\documents\visual studio 2013\Projects\lab01_4\Debug\lab01_4.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\visual studio 2013\Projects\lab01_4\Debug\lab01_4.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"c:\users\ieuser\documents\visual studio 2013\Projects\lab01_4\Debug\lab01_4.lib" /MACHINE:X86 Debug\lab01_4.obj + Debug\stdafx.obj + lab01_4.vcxproj -> c:\users\ieuser\documents\visual studio 2013\Projects\lab01_4\Debug\lab01_4.exe +Done Building Project "c:\Users\IEUser\documents\visual studio 2013\Projects\lab01_4\lab01_4\lab01_4.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.50 diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.obj b/lab1/lab01_4/lab01_4/Debug/lab01_4.obj new file mode 100644 index 0000000..d7e1d5f Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/lab01_4.obj differ diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.pch b/lab1/lab01_4/lab01_4/Debug/lab01_4.pch new file mode 100644 index 0000000..45a5e0d Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/lab01_4.pch differ diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/CL.read.1.tlog b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/CL.read.1.tlog new file mode 100644 index 0000000..51eacef Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/CL.read.1.tlog differ diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/CL.write.1.tlog b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/CL.write.1.tlog new file mode 100644 index 0000000..5f6c5bc Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/CL.write.1.tlog differ diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/cl.command.1.tlog b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/cl.command.1.tlog new file mode 100644 index 0000000..0c374d9 Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/cl.command.1.tlog differ diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/lab01_4.lastbuildstate b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/lab01_4.lastbuildstate new file mode 100644 index 0000000..6b44c9a --- /dev/null +++ b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/lab01_4.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|c:\users\ieuser\documents\visual studio 2013\Projects\lab01_4\| diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.command.1.tlog b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.command.1.tlog new file mode 100644 index 0000000..9811747 Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.command.1.tlog differ diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.read.1.tlog b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.read.1.tlog new file mode 100644 index 0000000..ba67f97 Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.read.1.tlog differ diff --git a/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.write.1.tlog b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.write.1.tlog new file mode 100644 index 0000000..b58e903 Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/lab01_4.tlog/link.write.1.tlog differ diff --git a/lab1/lab01_4/lab01_4/Debug/stdafx.obj b/lab1/lab01_4/lab01_4/Debug/stdafx.obj new file mode 100644 index 0000000..a3df839 Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/stdafx.obj differ diff --git a/lab1/lab01_4/lab01_4/Debug/vc120.idb b/lab1/lab01_4/lab01_4/Debug/vc120.idb new file mode 100644 index 0000000..60debdf Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/vc120.idb differ diff --git a/lab1/lab01_4/lab01_4/Debug/vc120.pdb b/lab1/lab01_4/lab01_4/Debug/vc120.pdb new file mode 100644 index 0000000..36556b4 Binary files /dev/null and b/lab1/lab01_4/lab01_4/Debug/vc120.pdb differ diff --git a/lab1/lab01_4/lab01_4/ReadMe.txt b/lab1/lab01_4/lab01_4/ReadMe.txt new file mode 100644 index 0000000..e6591f3 --- /dev/null +++ b/lab1/lab01_4/lab01_4/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : lab01_4 Project Overview +======================================================================== + +AppWizard has created this lab01_4 application for you. + +This file contains a summary of what you will find in each of the files that +make up your lab01_4 application. + + +lab01_4.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. + +lab01_4.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). + +lab01_4.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 lab01_4.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/lab1/lab01_4/lab01_4/lab01_4.cpp b/lab1/lab01_4/lab01_4/lab01_4.cpp new file mode 100644 index 0000000..a67009e --- /dev/null +++ b/lab1/lab01_4/lab01_4/lab01_4.cpp @@ -0,0 +1,23 @@ +// lab01_4.cpp +// Jason Nguyen +// 1/21/15 + +#include "stdafx.h" +#include +#include +#include +#include +using namespace std; + + +int _tmain(int argc, _TCHAR* argv[]) +{ + string fortunes[5] = { "Fortune 1", "Fortune 2", "Fortune 3", "Fortune 4", "Fortune 5" }; + srand((unsigned)time(0)); + int random_int; + random_int = (rand() % 5) + 1; + cout << fortunes[random_int]; + getchar(); + return 0; +} + diff --git a/lab1/lab01_4/lab01_4/lab01_4.vcxproj b/lab1/lab01_4/lab01_4/lab01_4.vcxproj new file mode 100644 index 0000000..5098fe5 --- /dev/null +++ b/lab1/lab01_4/lab01_4/lab01_4.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {B9966711-3E8D-4F19-A6AA-0D06457531FE} + Win32Proj + lab01_4 + + + + 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/lab1/lab01_4/lab01_4/lab01_4.vcxproj.filters b/lab1/lab01_4/lab01_4/lab01_4.vcxproj.filters new file mode 100644 index 0000000..176354b --- /dev/null +++ b/lab1/lab01_4/lab01_4/lab01_4.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/lab1/lab01_4/lab01_4/stdafx.cpp b/lab1/lab01_4/lab01_4/stdafx.cpp new file mode 100644 index 0000000..67e49fd --- /dev/null +++ b/lab1/lab01_4/lab01_4/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// lab01_4.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/lab1/lab01_4/lab01_4/stdafx.h b/lab1/lab01_4/lab01_4/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab1/lab01_4/lab01_4/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/lab1/lab01_4/lab01_4/targetver.h b/lab1/lab01_4/lab01_4/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab1/lab01_4/lab01_4/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