diff --git a/Lab 1/Lab01_1/Debug/Problem One.exe b/Lab 1/Lab01_1/Debug/Problem One.exe new file mode 100644 index 0000000..017ee71 Binary files /dev/null and b/Lab 1/Lab01_1/Debug/Problem One.exe differ diff --git a/Lab 1/Lab01_1/Debug/Problem One.ilk b/Lab 1/Lab01_1/Debug/Problem One.ilk new file mode 100644 index 0000000..a8668c6 Binary files /dev/null and b/Lab 1/Lab01_1/Debug/Problem One.ilk differ diff --git a/Lab 1/Lab01_1/Debug/Problem One.pdb b/Lab 1/Lab01_1/Debug/Problem One.pdb new file mode 100644 index 0000000..8549b9d Binary files /dev/null and b/Lab 1/Lab01_1/Debug/Problem One.pdb differ diff --git a/Lab 1/Lab01_1/Problem One.sdf b/Lab 1/Lab01_1/Problem One.sdf new file mode 100644 index 0000000..8982ae5 Binary files /dev/null and b/Lab 1/Lab01_1/Problem One.sdf differ diff --git a/Lab 1/Lab01_1/Problem One.sln b/Lab 1/Lab01_1/Problem One.sln new file mode 100644 index 0000000..3344af9 --- /dev/null +++ b/Lab 1/Lab01_1/Problem One.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}") = "Problem One", "Problem One\Problem One.vcxproj", "{4654F20A-C3C7-480A-A2FE-B56E7DE7C43E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4654F20A-C3C7-480A-A2FE-B56E7DE7C43E}.Debug|Win32.ActiveCfg = Debug|Win32 + {4654F20A-C3C7-480A-A2FE-B56E7DE7C43E}.Debug|Win32.Build.0 = Debug|Win32 + {4654F20A-C3C7-480A-A2FE-B56E7DE7C43E}.Release|Win32.ActiveCfg = Release|Win32 + {4654F20A-C3C7-480A-A2FE-B56E7DE7C43E}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab 1/Lab01_1/Problem One.v12.suo b/Lab 1/Lab01_1/Problem One.v12.suo new file mode 100644 index 0000000..ef11240 Binary files /dev/null and b/Lab 1/Lab01_1/Problem One.v12.suo differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.log b/Lab 1/Lab01_1/Problem One/Debug/Problem One.log new file mode 100644 index 0000000..32d826d --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/Debug/Problem One.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 5:24:33 AM. +Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem One\Problem One\Problem One.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\Problem One.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt "Problem One.cpp" + Problem One.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\Lab 1\Problem One\Debug\Problem One.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\Lab 1\Problem One\Debug\Problem One.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem One\Debug\Problem One.lib" /MACHINE:X86 "Debug\Problem One.obj" + Debug\stdafx.obj + Problem One.vcxproj -> C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem One\Debug\Problem One.exe +Done Building Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem One\Problem One\Problem One.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.59 diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.obj b/Lab 1/Lab01_1/Problem One/Debug/Problem One.obj new file mode 100644 index 0000000..369901d Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/Problem One.obj differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.pch b/Lab 1/Lab01_1/Problem One/Debug/Problem One.pch new file mode 100644 index 0000000..9c119bc Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/Problem One.pch differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/CL.read.1.tlog b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/CL.read.1.tlog new file mode 100644 index 0000000..927bf35 Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/CL.read.1.tlog differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/CL.write.1.tlog b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/CL.write.1.tlog new file mode 100644 index 0000000..421fc8f Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/CL.write.1.tlog differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/Problem One.lastbuildstate b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/Problem One.lastbuildstate new file mode 100644 index 0000000..43440d6 --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/Problem One.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem One\| diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/cl.command.1.tlog b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/cl.command.1.tlog new file mode 100644 index 0000000..00d48b4 Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/cl.command.1.tlog differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.command.1.tlog b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.command.1.tlog new file mode 100644 index 0000000..ed0173e Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.command.1.tlog differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.read.1.tlog b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.read.1.tlog new file mode 100644 index 0000000..d62802d Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.read.1.tlog differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.write.1.tlog b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.write.1.tlog new file mode 100644 index 0000000..ebaad9c Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/Problem One.tlog/link.write.1.tlog differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/stdafx.obj b/Lab 1/Lab01_1/Problem One/Debug/stdafx.obj new file mode 100644 index 0000000..4832817 Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/stdafx.obj differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/vc120.idb b/Lab 1/Lab01_1/Problem One/Debug/vc120.idb new file mode 100644 index 0000000..ffbfb5b Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/vc120.idb differ diff --git a/Lab 1/Lab01_1/Problem One/Debug/vc120.pdb b/Lab 1/Lab01_1/Problem One/Debug/vc120.pdb new file mode 100644 index 0000000..c9f0f09 Binary files /dev/null and b/Lab 1/Lab01_1/Problem One/Debug/vc120.pdb differ diff --git a/Lab 1/Lab01_1/Problem One/Problem One.cpp b/Lab 1/Lab01_1/Problem One/Problem One.cpp new file mode 100644 index 0000000..f7ebefb --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/Problem One.cpp @@ -0,0 +1,24 @@ +// Problem One.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +using namespace std; + + +int main() +{ + char* favFood1 = ""; + char* favFood2 = ""; + cout << "What are your favorite foods? " << endl; + cout << "First favorite food: " << endl; + cin >> favFood1 >> endl; + cout << "Second favorite food? " << endl; + cin >> favFood2 >> endl; + cout << "Your favorite foods are" << favFood1 << "And" << favFood2; + + getchar(); + getchar(); + return 0; +} + diff --git a/Lab 1/Lab01_1/Problem One/Problem One.vcxproj b/Lab 1/Lab01_1/Problem One/Problem One.vcxproj new file mode 100644 index 0000000..372acf4 --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/Problem One.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {4654F20A-C3C7-480A-A2FE-B56E7DE7C43E} + Win32Proj + ProblemOne + + + + 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/Lab 1/Lab01_1/Problem One/Problem One.vcxproj.filters b/Lab 1/Lab01_1/Problem One/Problem One.vcxproj.filters new file mode 100644 index 0000000..f50cd3d --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/Problem One.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/Lab 1/Lab01_1/Problem One/ReadMe.txt b/Lab 1/Lab01_1/Problem One/ReadMe.txt new file mode 100644 index 0000000..ef9c75c --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Problem One Project Overview +======================================================================== + +AppWizard has created this Problem One application for you. + +This file contains a summary of what you will find in each of the files that +make up your Problem One application. + + +Problem One.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. + +Problem One.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). + +Problem One.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 Problem One.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/Lab 1/Lab01_1/Problem One/stdafx.cpp b/Lab 1/Lab01_1/Problem One/stdafx.cpp new file mode 100644 index 0000000..d2bc42d --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Problem One.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/Lab 1/Lab01_1/Problem One/stdafx.h b/Lab 1/Lab01_1/Problem One/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/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/Lab 1/Lab01_1/Problem One/targetver.h b/Lab 1/Lab01_1/Problem One/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab 1/Lab01_1/Problem One/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/Lab 1/Lab01_1/ipch/problem one-f933fb59/problem one-8f1109df.ipch b/Lab 1/Lab01_1/ipch/problem one-f933fb59/problem one-8f1109df.ipch new file mode 100644 index 0000000..1694d92 Binary files /dev/null and b/Lab 1/Lab01_1/ipch/problem one-f933fb59/problem one-8f1109df.ipch differ diff --git a/Lab 1/Lab01_2/Debug/Problem Two.exe b/Lab 1/Lab01_2/Debug/Problem Two.exe new file mode 100644 index 0000000..e9c398e Binary files /dev/null and b/Lab 1/Lab01_2/Debug/Problem Two.exe differ diff --git a/Lab 1/Lab01_2/Debug/Problem Two.ilk b/Lab 1/Lab01_2/Debug/Problem Two.ilk new file mode 100644 index 0000000..5235c71 Binary files /dev/null and b/Lab 1/Lab01_2/Debug/Problem Two.ilk differ diff --git a/Lab 1/Lab01_2/Debug/Problem Two.pdb b/Lab 1/Lab01_2/Debug/Problem Two.pdb new file mode 100644 index 0000000..0a87760 Binary files /dev/null and b/Lab 1/Lab01_2/Debug/Problem Two.pdb differ diff --git a/Lab 1/Lab01_2/Problem Two.sdf b/Lab 1/Lab01_2/Problem Two.sdf new file mode 100644 index 0000000..f629526 Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two.sdf differ diff --git a/Lab 1/Lab01_2/Problem Two.sln b/Lab 1/Lab01_2/Problem Two.sln new file mode 100644 index 0000000..373ce60 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two.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}") = "Problem Two", "Problem Two\Problem Two.vcxproj", "{9DD892CF-6AF4-42D5-BF0D-0BB4BA7CD134}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9DD892CF-6AF4-42D5-BF0D-0BB4BA7CD134}.Debug|Win32.ActiveCfg = Debug|Win32 + {9DD892CF-6AF4-42D5-BF0D-0BB4BA7CD134}.Debug|Win32.Build.0 = Debug|Win32 + {9DD892CF-6AF4-42D5-BF0D-0BB4BA7CD134}.Release|Win32.ActiveCfg = Release|Win32 + {9DD892CF-6AF4-42D5-BF0D-0BB4BA7CD134}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab 1/Lab01_2/Problem Two.v12.suo b/Lab 1/Lab01_2/Problem Two.v12.suo new file mode 100644 index 0000000..5863917 Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two.v12.suo differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.log b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.log new file mode 100644 index 0000000..7111b90 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.log @@ -0,0 +1,16 @@ +Build started 1/21/2015 6:05:20 AM. +Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem Two\Problem Two\Problem Two.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\Problem Two.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt "Problem Two.cpp" + Problem Two.cpp +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem two\problem two\problem two.cpp(16): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem two\problem two\problem two.cpp(17): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem Two\Debug\Problem Two.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\Lab 1\Problem Two\Debug\Problem Two.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem Two\Debug\Problem Two.lib" /MACHINE:X86 "Debug\Problem Two.obj" + Debug\stdafx.obj + Problem Two.vcxproj -> C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem Two\Debug\Problem Two.exe +Done Building Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem Two\Problem Two\Problem Two.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.66 diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.obj b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.obj new file mode 100644 index 0000000..2a964ba Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.obj differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.pch b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.pch new file mode 100644 index 0000000..faeaf72 Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.pch differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/CL.read.1.tlog b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/CL.read.1.tlog new file mode 100644 index 0000000..4c89733 Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/CL.read.1.tlog differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/CL.write.1.tlog b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/CL.write.1.tlog new file mode 100644 index 0000000..0e40df0 Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/CL.write.1.tlog differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/Problem Two.lastbuildstate b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/Problem Two.lastbuildstate new file mode 100644 index 0000000..efd7f13 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/Problem Two.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem Two\| diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/cl.command.1.tlog b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/cl.command.1.tlog new file mode 100644 index 0000000..aacc4fa Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/cl.command.1.tlog differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.command.1.tlog b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.command.1.tlog new file mode 100644 index 0000000..160a67d Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.command.1.tlog differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.read.1.tlog b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.read.1.tlog new file mode 100644 index 0000000..d65488b Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.read.1.tlog differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.write.1.tlog b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.write.1.tlog new file mode 100644 index 0000000..5d73d7d Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/Problem Two.tlog/link.write.1.tlog differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/stdafx.obj b/Lab 1/Lab01_2/Problem Two/Debug/stdafx.obj new file mode 100644 index 0000000..90157a1 Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/stdafx.obj differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/vc120.idb b/Lab 1/Lab01_2/Problem Two/Debug/vc120.idb new file mode 100644 index 0000000..8ee1f53 Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/vc120.idb differ diff --git a/Lab 1/Lab01_2/Problem Two/Debug/vc120.pdb b/Lab 1/Lab01_2/Problem Two/Debug/vc120.pdb new file mode 100644 index 0000000..b87dfe0 Binary files /dev/null and b/Lab 1/Lab01_2/Problem Two/Debug/vc120.pdb differ diff --git a/Lab 1/Lab01_2/Problem Two/Problem Two.cpp b/Lab 1/Lab01_2/Problem Two/Problem Two.cpp new file mode 100644 index 0000000..d7de897 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/Problem Two.cpp @@ -0,0 +1,25 @@ +// Problem Two.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +using namespace std; + +int main() +{ + double Cost = 0.0; + float tax1 = 15; + float tax2 = 20; + cout << "\t Welcome to Tip Calculator!" << endl; + cout << "Enter your costs here (in USD)! "; + cin >> Cost; + tax1 = Cost / tax1; + tax2 = Cost / tax2; + cout << "Your subtotal with 15% tax is " << tax1 << endl; + cout << "Your subtotal with 20% tax is " << tax2 << endl; + + getchar(); + getchar(); + return 0; +} + diff --git a/Lab 1/Lab01_2/Problem Two/Problem Two.vcxproj b/Lab 1/Lab01_2/Problem Two/Problem Two.vcxproj new file mode 100644 index 0000000..82dbce8 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/Problem Two.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {9DD892CF-6AF4-42D5-BF0D-0BB4BA7CD134} + Win32Proj + ProblemTwo + + + + 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/Lab 1/Lab01_2/Problem Two/Problem Two.vcxproj.filters b/Lab 1/Lab01_2/Problem Two/Problem Two.vcxproj.filters new file mode 100644 index 0000000..43b8356 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/Problem Two.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/Lab 1/Lab01_2/Problem Two/ReadMe.txt b/Lab 1/Lab01_2/Problem Two/ReadMe.txt new file mode 100644 index 0000000..905ab20 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Problem Two Project Overview +======================================================================== + +AppWizard has created this Problem Two application for you. + +This file contains a summary of what you will find in each of the files that +make up your Problem Two application. + + +Problem Two.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. + +Problem Two.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). + +Problem Two.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 Problem Two.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/Lab 1/Lab01_2/Problem Two/stdafx.cpp b/Lab 1/Lab01_2/Problem Two/stdafx.cpp new file mode 100644 index 0000000..b69ca1b --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Problem Two.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/Lab 1/Lab01_2/Problem Two/stdafx.h b/Lab 1/Lab01_2/Problem Two/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/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/Lab 1/Lab01_2/Problem Two/targetver.h b/Lab 1/Lab01_2/Problem Two/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab 1/Lab01_2/Problem Two/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/Lab 1/Lab01_2/ipch/problem two-3dd782c1/problem two-25a79c57.ipch b/Lab 1/Lab01_2/ipch/problem two-3dd782c1/problem two-25a79c57.ipch new file mode 100644 index 0000000..38b71e8 Binary files /dev/null and b/Lab 1/Lab01_2/ipch/problem two-3dd782c1/problem two-25a79c57.ipch differ diff --git a/Lab 1/Lab01_3/Debug/Problem 3.exe b/Lab 1/Lab01_3/Debug/Problem 3.exe new file mode 100644 index 0000000..c864c93 Binary files /dev/null and b/Lab 1/Lab01_3/Debug/Problem 3.exe differ diff --git a/Lab 1/Lab01_3/Debug/Problem 3.ilk b/Lab 1/Lab01_3/Debug/Problem 3.ilk new file mode 100644 index 0000000..f03ce2b Binary files /dev/null and b/Lab 1/Lab01_3/Debug/Problem 3.ilk differ diff --git a/Lab 1/Lab01_3/Debug/Problem 3.pdb b/Lab 1/Lab01_3/Debug/Problem 3.pdb new file mode 100644 index 0000000..dafd864 Binary files /dev/null and b/Lab 1/Lab01_3/Debug/Problem 3.pdb differ diff --git a/Lab 1/Lab01_3/Problem 3.sdf b/Lab 1/Lab01_3/Problem 3.sdf new file mode 100644 index 0000000..03e3a11 Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3.sdf differ diff --git a/Lab 1/Lab01_3/Problem 3.sln b/Lab 1/Lab01_3/Problem 3.sln new file mode 100644 index 0000000..e740313 --- /dev/null +++ b/Lab 1/Lab01_3/Problem 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}") = "Problem 3", "Problem 3\Problem 3.vcxproj", "{3342BA30-8056-43AA-8CC9-02E3C524F15D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3342BA30-8056-43AA-8CC9-02E3C524F15D}.Debug|Win32.ActiveCfg = Debug|Win32 + {3342BA30-8056-43AA-8CC9-02E3C524F15D}.Debug|Win32.Build.0 = Debug|Win32 + {3342BA30-8056-43AA-8CC9-02E3C524F15D}.Release|Win32.ActiveCfg = Release|Win32 + {3342BA30-8056-43AA-8CC9-02E3C524F15D}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab 1/Lab01_3/Problem 3.v12.suo b/Lab 1/Lab01_3/Problem 3.v12.suo new file mode 100644 index 0000000..90d049c Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3.v12.suo differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.log b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.log new file mode 100644 index 0000000..36a3d50 --- /dev/null +++ b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.log @@ -0,0 +1,20 @@ +Build started 1/21/2015 6:37:18 AM. +Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 3\Problem 3\Problem 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\Problem 3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt "Problem 3.cpp" + Problem 3.cpp +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem 3\problem 3\problem 3.cpp(16): warning C4305: 'initializing' : truncation from 'double' to 'float' +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem 3\problem 3\problem 3.cpp(20): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem 3\problem 3\problem 3.cpp(21): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem 3\problem 3\problem 3.cpp(22): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem 3\problem 3\problem 3.cpp(25): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem 3\problem 3\problem 3.cpp(26): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 3\Debug\Problem 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\Lab 1\Problem 3\Debug\Problem 3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 3\Debug\Problem 3.lib" /MACHINE:X86 "Debug\Problem 3.obj" + Debug\stdafx.obj + Problem 3.vcxproj -> C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 3\Debug\Problem 3.exe +Done Building Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 3\Problem 3\Problem 3.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.33 diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.obj b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.obj new file mode 100644 index 0000000..79a2790 Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.obj differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.pch b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.pch new file mode 100644 index 0000000..3367cde Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.pch differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/CL.read.1.tlog b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..80da1c1 Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/CL.read.1.tlog differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/CL.write.1.tlog b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..2f2e43e Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/CL.write.1.tlog differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/Problem 3.lastbuildstate b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/Problem 3.lastbuildstate new file mode 100644 index 0000000..89e957c --- /dev/null +++ b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/Problem 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\Lab 1\Problem 3\| diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/cl.command.1.tlog b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..d2f7f9a Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/cl.command.1.tlog differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.command.1.tlog b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.command.1.tlog new file mode 100644 index 0000000..4890b3d Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.command.1.tlog differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.read.1.tlog b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.read.1.tlog new file mode 100644 index 0000000..c3689ca Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.read.1.tlog differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.write.1.tlog b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.write.1.tlog new file mode 100644 index 0000000..8321a17 Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/Problem 3.tlog/link.write.1.tlog differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/stdafx.obj b/Lab 1/Lab01_3/Problem 3/Debug/stdafx.obj new file mode 100644 index 0000000..eeeb823 Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/stdafx.obj differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/vc120.idb b/Lab 1/Lab01_3/Problem 3/Debug/vc120.idb new file mode 100644 index 0000000..e8b06e1 Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/vc120.idb differ diff --git a/Lab 1/Lab01_3/Problem 3/Debug/vc120.pdb b/Lab 1/Lab01_3/Problem 3/Debug/vc120.pdb new file mode 100644 index 0000000..8187bee Binary files /dev/null and b/Lab 1/Lab01_3/Problem 3/Debug/vc120.pdb differ diff --git a/Lab 1/Lab01_3/Problem 3/Problem 3.cpp b/Lab 1/Lab01_3/Problem 3/Problem 3.cpp new file mode 100644 index 0000000..fa706ea --- /dev/null +++ b/Lab 1/Lab01_3/Problem 3/Problem 3.cpp @@ -0,0 +1,34 @@ +// Problem 3.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +using namespace std; + + +int main() +{ + double Car = 0.0; + float Tax = 3.5; + int liscense = 200; + int Prep = 150; + double Destination = 0.0; + float DestinationTax = 2.7; + cout << "\t Welcome To My Car Sales Place" << endl; + cout << "Please enter the value of a car worth more than 200 USD. "; + cin >> Car; + Tax = Car / 3.5; + liscense = Car + liscense; + Prep = Car + Prep; + cout << "How far do you want to go with the car? (in miles) "; + cin >> Destination; + DestinationTax = Destination / DestinationTax; + DestinationTax = Car / DestinationTax; + Car = Car + Tax + liscense + Prep + DestinationTax; + cout << "Your subtotal is $" << Car << ". Hope you enjoy it!"; + + getchar(); + getchar(); + return 0; +} + diff --git a/Lab 1/Lab01_3/Problem 3/Problem 3.vcxproj b/Lab 1/Lab01_3/Problem 3/Problem 3.vcxproj new file mode 100644 index 0000000..3d5097c --- /dev/null +++ b/Lab 1/Lab01_3/Problem 3/Problem 3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {3342BA30-8056-43AA-8CC9-02E3C524F15D} + Win32Proj + Problem3 + + + + 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/Lab 1/Lab01_3/Problem 3/Problem 3.vcxproj.filters b/Lab 1/Lab01_3/Problem 3/Problem 3.vcxproj.filters new file mode 100644 index 0000000..7cecb49 --- /dev/null +++ b/Lab 1/Lab01_3/Problem 3/Problem 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/Lab 1/Lab01_3/Problem 3/ReadMe.txt b/Lab 1/Lab01_3/Problem 3/ReadMe.txt new file mode 100644 index 0000000..b9624fe --- /dev/null +++ b/Lab 1/Lab01_3/Problem 3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Problem 3 Project Overview +======================================================================== + +AppWizard has created this Problem 3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Problem 3 application. + + +Problem 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. + +Problem 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). + +Problem 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 Problem 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/Lab 1/Lab01_3/Problem 3/stdafx.cpp b/Lab 1/Lab01_3/Problem 3/stdafx.cpp new file mode 100644 index 0000000..70e4a3e --- /dev/null +++ b/Lab 1/Lab01_3/Problem 3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Problem 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/Lab 1/Lab01_3/Problem 3/stdafx.h b/Lab 1/Lab01_3/Problem 3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab 1/Lab01_3/Problem 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/Lab 1/Lab01_3/Problem 3/targetver.h b/Lab 1/Lab01_3/Problem 3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab 1/Lab01_3/Problem 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/Lab 1/Lab01_3/ipch/problem 3-4f1bcbec/problem 3-21219ed0.ipch b/Lab 1/Lab01_3/ipch/problem 3-4f1bcbec/problem 3-21219ed0.ipch new file mode 100644 index 0000000..7422c85 Binary files /dev/null and b/Lab 1/Lab01_3/ipch/problem 3-4f1bcbec/problem 3-21219ed0.ipch differ diff --git a/Lab 1/Lab01_4/Debug/Problem 4.exe b/Lab 1/Lab01_4/Debug/Problem 4.exe new file mode 100644 index 0000000..45e91f6 Binary files /dev/null and b/Lab 1/Lab01_4/Debug/Problem 4.exe differ diff --git a/Lab 1/Lab01_4/Debug/Problem 4.ilk b/Lab 1/Lab01_4/Debug/Problem 4.ilk new file mode 100644 index 0000000..c55b5ed Binary files /dev/null and b/Lab 1/Lab01_4/Debug/Problem 4.ilk differ diff --git a/Lab 1/Lab01_4/Debug/Problem 4.pdb b/Lab 1/Lab01_4/Debug/Problem 4.pdb new file mode 100644 index 0000000..e319b93 Binary files /dev/null and b/Lab 1/Lab01_4/Debug/Problem 4.pdb differ diff --git a/Lab 1/Lab01_4/Problem 4.sdf b/Lab 1/Lab01_4/Problem 4.sdf new file mode 100644 index 0000000..75cbacc Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4.sdf differ diff --git a/Lab 1/Lab01_4/Problem 4.sln b/Lab 1/Lab01_4/Problem 4.sln new file mode 100644 index 0000000..10ca22d --- /dev/null +++ b/Lab 1/Lab01_4/Problem 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}") = "Problem 4", "Problem 4\Problem 4.vcxproj", "{27FE7A75-22EF-4B93-9F95-E439E2F00F24}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {27FE7A75-22EF-4B93-9F95-E439E2F00F24}.Debug|Win32.ActiveCfg = Debug|Win32 + {27FE7A75-22EF-4B93-9F95-E439E2F00F24}.Debug|Win32.Build.0 = Debug|Win32 + {27FE7A75-22EF-4B93-9F95-E439E2F00F24}.Release|Win32.ActiveCfg = Release|Win32 + {27FE7A75-22EF-4B93-9F95-E439E2F00F24}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Lab 1/Lab01_4/Problem 4.v12.suo b/Lab 1/Lab01_4/Problem 4.v12.suo new file mode 100644 index 0000000..2a8f84c Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4.v12.suo differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.log b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.log new file mode 100644 index 0000000..3f2a40e --- /dev/null +++ b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.log @@ -0,0 +1,15 @@ +Build started 1/21/2015 7:47:20 AM. +Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 4\Problem 4\Problem 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\Problem 4.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt "Problem 4.cpp" + Problem 4.cpp +c:\users\ieuser\documents\visual studio 2013\projects\lab 1\problem 4\problem 4\problem 4.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\Visual Studio 2013\Projects\Lab 1\Problem 4\Debug\Problem 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\Lab 1\Problem 4\Debug\Problem 4.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 4\Debug\Problem 4.lib" /MACHINE:X86 "Debug\Problem 4.obj" + Debug\stdafx.obj + Problem 4.vcxproj -> C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 4\Debug\Problem 4.exe +Done Building Project "C:\Users\IEUser\Documents\Visual Studio 2013\Projects\Lab 1\Problem 4\Problem 4\Problem 4.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.02 diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.obj b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.obj new file mode 100644 index 0000000..0944339 Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.obj differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.pch b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.pch new file mode 100644 index 0000000..170f5b4 Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.pch differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/CL.read.1.tlog b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/CL.read.1.tlog new file mode 100644 index 0000000..a13ba77 Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/CL.read.1.tlog differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/CL.write.1.tlog b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/CL.write.1.tlog new file mode 100644 index 0000000..d6cba2d Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/CL.write.1.tlog differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/Problem 4.lastbuildstate b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/Problem 4.lastbuildstate new file mode 100644 index 0000000..0207778 --- /dev/null +++ b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/Problem 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\Lab 1\Problem 4\| diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/cl.command.1.tlog b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/cl.command.1.tlog new file mode 100644 index 0000000..99e37bb Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/cl.command.1.tlog differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.command.1.tlog b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.command.1.tlog new file mode 100644 index 0000000..c2c34a8 Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.command.1.tlog differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.read.1.tlog b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.read.1.tlog new file mode 100644 index 0000000..0140c0d Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.read.1.tlog differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.write.1.tlog b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.write.1.tlog new file mode 100644 index 0000000..697050b Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/Problem 4.tlog/link.write.1.tlog differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/stdafx.obj b/Lab 1/Lab01_4/Problem 4/Debug/stdafx.obj new file mode 100644 index 0000000..2158031 Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/stdafx.obj differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/vc120.idb b/Lab 1/Lab01_4/Problem 4/Debug/vc120.idb new file mode 100644 index 0000000..64660b8 Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/vc120.idb differ diff --git a/Lab 1/Lab01_4/Problem 4/Debug/vc120.pdb b/Lab 1/Lab01_4/Problem 4/Debug/vc120.pdb new file mode 100644 index 0000000..d42ef1b Binary files /dev/null and b/Lab 1/Lab01_4/Problem 4/Debug/vc120.pdb differ diff --git a/Lab 1/Lab01_4/Problem 4/Problem 4.cpp b/Lab 1/Lab01_4/Problem 4/Problem 4.cpp new file mode 100644 index 0000000..1e3fc7b --- /dev/null +++ b/Lab 1/Lab01_4/Problem 4/Problem 4.cpp @@ -0,0 +1,33 @@ +// Problem 4.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include "stdlib.h" +#include "time.h" +using namespace std; + +int main() +{ + srand(time(0)); + int number = rand() % 5 + 1; + + if(number == 1){ + cout << "You must continue doing what you love." << endl; + } + else if(number == 2){ + cout << "Don't let the man hold you down!" << endl; + } + else if(number == 3){ + cout << "Don't forget." << endl; + } + else if(number == 4){ + cout << "LEAVE THIS PLACE NOW" << endl; + } + else if(number == 5){ + cout << "THE END IS NEAR!" << endl; + } + getchar(); + return 0; +} + diff --git a/Lab 1/Lab01_4/Problem 4/Problem 4.vcxproj b/Lab 1/Lab01_4/Problem 4/Problem 4.vcxproj new file mode 100644 index 0000000..7351900 --- /dev/null +++ b/Lab 1/Lab01_4/Problem 4/Problem 4.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {27FE7A75-22EF-4B93-9F95-E439E2F00F24} + Win32Proj + Problem4 + + + + 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/Lab 1/Lab01_4/Problem 4/Problem 4.vcxproj.filters b/Lab 1/Lab01_4/Problem 4/Problem 4.vcxproj.filters new file mode 100644 index 0000000..f2ed7be --- /dev/null +++ b/Lab 1/Lab01_4/Problem 4/Problem 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/Lab 1/Lab01_4/Problem 4/ReadMe.txt b/Lab 1/Lab01_4/Problem 4/ReadMe.txt new file mode 100644 index 0000000..222a61b --- /dev/null +++ b/Lab 1/Lab01_4/Problem 4/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : Problem 4 Project Overview +======================================================================== + +AppWizard has created this Problem 4 application for you. + +This file contains a summary of what you will find in each of the files that +make up your Problem 4 application. + + +Problem 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. + +Problem 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). + +Problem 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 Problem 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/Lab 1/Lab01_4/Problem 4/stdafx.cpp b/Lab 1/Lab01_4/Problem 4/stdafx.cpp new file mode 100644 index 0000000..151b531 --- /dev/null +++ b/Lab 1/Lab01_4/Problem 4/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// Problem 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/Lab 1/Lab01_4/Problem 4/stdafx.h b/Lab 1/Lab01_4/Problem 4/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/Lab 1/Lab01_4/Problem 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/Lab 1/Lab01_4/Problem 4/targetver.h b/Lab 1/Lab01_4/Problem 4/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/Lab 1/Lab01_4/Problem 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 diff --git a/Lab 1/Lab01_4/ipch/problem 4-4a8e8eaf/problem 4-2133b751.ipch b/Lab 1/Lab01_4/ipch/problem 4-4a8e8eaf/problem 4-2133b751.ipch new file mode 100644 index 0000000..dc6d26f Binary files /dev/null and b/Lab 1/Lab01_4/ipch/problem 4-4a8e8eaf/problem 4-2133b751.ipch differ