diff --git a/lab1/Debug/lab1.exe b/lab1/Debug/lab1.exe new file mode 100644 index 0000000..b4eacbb Binary files /dev/null and b/lab1/Debug/lab1.exe differ diff --git a/lab1/Debug/lab1.ilk b/lab1/Debug/lab1.ilk new file mode 100644 index 0000000..86cca68 Binary files /dev/null and b/lab1/Debug/lab1.ilk differ diff --git a/lab1/Debug/lab1.pdb b/lab1/Debug/lab1.pdb new file mode 100644 index 0000000..5097de1 Binary files /dev/null and b/lab1/Debug/lab1.pdb differ diff --git a/lab1/ipch/lab1-9ebf36a1/lab1-61d90eac.ipch b/lab1/ipch/lab1-9ebf36a1/lab1-61d90eac.ipch new file mode 100644 index 0000000..74536bf Binary files /dev/null and b/lab1/ipch/lab1-9ebf36a1/lab1-61d90eac.ipch differ diff --git a/lab1/lab1.sdf b/lab1/lab1.sdf new file mode 100644 index 0000000..13d1152 Binary files /dev/null and b/lab1/lab1.sdf differ diff --git a/lab1/lab1.sln b/lab1/lab1.sln new file mode 100644 index 0000000..a64a750 --- /dev/null +++ b/lab1/lab1.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}") = "lab1", "lab1\lab1.vcxproj", "{60096332-BB23-4ACF-9B2F-BFAD10F7E5C2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {60096332-BB23-4ACF-9B2F-BFAD10F7E5C2}.Debug|Win32.ActiveCfg = Debug|Win32 + {60096332-BB23-4ACF-9B2F-BFAD10F7E5C2}.Debug|Win32.Build.0 = Debug|Win32 + {60096332-BB23-4ACF-9B2F-BFAD10F7E5C2}.Release|Win32.ActiveCfg = Release|Win32 + {60096332-BB23-4ACF-9B2F-BFAD10F7E5C2}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab1/lab1.v12.suo b/lab1/lab1.v12.suo new file mode 100644 index 0000000..c5ada18 Binary files /dev/null and b/lab1/lab1.v12.suo differ diff --git a/lab1/lab1/Debug/lab1.log b/lab1/lab1/Debug/lab1.log new file mode 100644 index 0000000..88838ba --- /dev/null +++ b/lab1/lab1/Debug/lab1.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 10:01:56 AM. +Project "C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab1\lab1\lab1.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\lab1.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt lab1.cpp + lab1.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab1\Debug\lab1.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\lab\Cpp_Lab_01-master\lab1\Debug\lab1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab1\Debug\lab1.lib" /MACHINE:X86 Debug\lab1.obj + Debug\stdafx.obj + lab1.vcxproj -> C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab1\Debug\lab1.exe +Done Building Project "C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab1\lab1\lab1.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:00.57 diff --git a/lab1/lab1/Debug/lab1.obj b/lab1/lab1/Debug/lab1.obj new file mode 100644 index 0000000..7b4f782 Binary files /dev/null and b/lab1/lab1/Debug/lab1.obj differ diff --git a/lab1/lab1/Debug/lab1.pch b/lab1/lab1/Debug/lab1.pch new file mode 100644 index 0000000..63e4e2e Binary files /dev/null and b/lab1/lab1/Debug/lab1.pch differ diff --git a/lab1/lab1/Debug/lab1.tlog/CL.read.1.tlog b/lab1/lab1/Debug/lab1.tlog/CL.read.1.tlog new file mode 100644 index 0000000..0332eaa Binary files /dev/null and b/lab1/lab1/Debug/lab1.tlog/CL.read.1.tlog differ diff --git a/lab1/lab1/Debug/lab1.tlog/CL.write.1.tlog b/lab1/lab1/Debug/lab1.tlog/CL.write.1.tlog new file mode 100644 index 0000000..5e95bc6 Binary files /dev/null and b/lab1/lab1/Debug/lab1.tlog/CL.write.1.tlog differ diff --git a/lab1/lab1/Debug/lab1.tlog/cl.command.1.tlog b/lab1/lab1/Debug/lab1.tlog/cl.command.1.tlog new file mode 100644 index 0000000..4fa5e36 Binary files /dev/null and b/lab1/lab1/Debug/lab1.tlog/cl.command.1.tlog differ diff --git a/lab1/lab1/Debug/lab1.tlog/lab1.lastbuildstate b/lab1/lab1/Debug/lab1.tlog/lab1.lastbuildstate new file mode 100644 index 0000000..a9c88e9 --- /dev/null +++ b/lab1/lab1/Debug/lab1.tlog/lab1.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab1\| diff --git a/lab1/lab1/Debug/lab1.tlog/link.command.1.tlog b/lab1/lab1/Debug/lab1.tlog/link.command.1.tlog new file mode 100644 index 0000000..1f2bd04 Binary files /dev/null and b/lab1/lab1/Debug/lab1.tlog/link.command.1.tlog differ diff --git a/lab1/lab1/Debug/lab1.tlog/link.read.1.tlog b/lab1/lab1/Debug/lab1.tlog/link.read.1.tlog new file mode 100644 index 0000000..8a8fe1e Binary files /dev/null and b/lab1/lab1/Debug/lab1.tlog/link.read.1.tlog differ diff --git a/lab1/lab1/Debug/lab1.tlog/link.write.1.tlog b/lab1/lab1/Debug/lab1.tlog/link.write.1.tlog new file mode 100644 index 0000000..e5c7965 Binary files /dev/null and b/lab1/lab1/Debug/lab1.tlog/link.write.1.tlog differ diff --git a/lab1/lab1/Debug/stdafx.obj b/lab1/lab1/Debug/stdafx.obj new file mode 100644 index 0000000..3e47642 Binary files /dev/null and b/lab1/lab1/Debug/stdafx.obj differ diff --git a/lab1/lab1/Debug/vc120.idb b/lab1/lab1/Debug/vc120.idb new file mode 100644 index 0000000..59d6e5a Binary files /dev/null and b/lab1/lab1/Debug/vc120.idb differ diff --git a/lab1/lab1/Debug/vc120.pdb b/lab1/lab1/Debug/vc120.pdb new file mode 100644 index 0000000..83df539 Binary files /dev/null and b/lab1/lab1/Debug/vc120.pdb differ diff --git a/lab1/lab1/ReadMe.txt b/lab1/lab1/ReadMe.txt new file mode 100644 index 0000000..ba2af0f --- /dev/null +++ b/lab1/lab1/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : lab1 Project Overview +======================================================================== + +AppWizard has created this lab1 application for you. + +This file contains a summary of what you will find in each of the files that +make up your lab1 application. + + +lab1.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. + +lab1.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). + +lab1.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 lab1.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/lab1/lab1.cpp b/lab1/lab1/lab1.cpp new file mode 100644 index 0000000..27578ec --- /dev/null +++ b/lab1/lab1/lab1.cpp @@ -0,0 +1,26 @@ +// lab1.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +#include +using namespace std; + + + + +int main(){ + + string food = ""; + string food2 = ""; + + cout << "What is your favorite food? pick two: " << endl; + cin >> food; + cin >> food2; + cout << food; + cout << food2; + cout << food << food2 << endl; + getchar(); + return 0; +} + diff --git a/lab1/lab1/lab1.vcxproj b/lab1/lab1/lab1.vcxproj new file mode 100644 index 0000000..002cbe2 --- /dev/null +++ b/lab1/lab1/lab1.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {60096332-BB23-4ACF-9B2F-BFAD10F7E5C2} + Win32Proj + lab1 + + + + 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/lab1/lab1.vcxproj.filters b/lab1/lab1/lab1.vcxproj.filters new file mode 100644 index 0000000..22899bf --- /dev/null +++ b/lab1/lab1/lab1.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/lab1/stdafx.cpp b/lab1/lab1/stdafx.cpp new file mode 100644 index 0000000..e5de1d4 --- /dev/null +++ b/lab1/lab1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// lab1.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/lab1/stdafx.h b/lab1/lab1/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab1/lab1/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/lab1/targetver.h b/lab1/lab1/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab1/lab1/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include diff --git a/lab2/Debug/lab2.exe b/lab2/Debug/lab2.exe new file mode 100644 index 0000000..258b47e Binary files /dev/null and b/lab2/Debug/lab2.exe differ diff --git a/lab2/Debug/lab2.ilk b/lab2/Debug/lab2.ilk new file mode 100644 index 0000000..2ebcc12 Binary files /dev/null and b/lab2/Debug/lab2.ilk differ diff --git a/lab2/Debug/lab2.pdb b/lab2/Debug/lab2.pdb new file mode 100644 index 0000000..b61db10 Binary files /dev/null and b/lab2/Debug/lab2.pdb differ diff --git a/lab2/ipch/lab2-ff564784/lab2-61eb272d.ipch b/lab2/ipch/lab2-ff564784/lab2-61eb272d.ipch new file mode 100644 index 0000000..27736ca Binary files /dev/null and b/lab2/ipch/lab2-ff564784/lab2-61eb272d.ipch differ diff --git a/lab2/lab2.sdf b/lab2/lab2.sdf new file mode 100644 index 0000000..1283071 Binary files /dev/null and b/lab2/lab2.sdf differ diff --git a/lab2/lab2.sln b/lab2/lab2.sln new file mode 100644 index 0000000..7c8dead --- /dev/null +++ b/lab2/lab2.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lab2", "lab2\lab2.vcxproj", "{0B9FA1C2-060D-4E6D-A4B9-D010D4A65B3D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0B9FA1C2-060D-4E6D-A4B9-D010D4A65B3D}.Debug|Win32.ActiveCfg = Debug|Win32 + {0B9FA1C2-060D-4E6D-A4B9-D010D4A65B3D}.Debug|Win32.Build.0 = Debug|Win32 + {0B9FA1C2-060D-4E6D-A4B9-D010D4A65B3D}.Release|Win32.ActiveCfg = Release|Win32 + {0B9FA1C2-060D-4E6D-A4B9-D010D4A65B3D}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab2/lab2.v12.suo b/lab2/lab2.v12.suo new file mode 100644 index 0000000..b1febb4 Binary files /dev/null and b/lab2/lab2.v12.suo differ diff --git a/lab2/lab2/Debug/lab2.log b/lab2/lab2/Debug/lab2.log new file mode 100644 index 0000000..62c2b32 --- /dev/null +++ b/lab2/lab2/Debug/lab2.log @@ -0,0 +1,16 @@ +Build started 1/21/2015 10:48:34 AM. +Project "C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab2\lab2\lab2.vcxproj" on node 2 (Build target(s)). +ClCompile: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yc"stdafx.h" /Fp"Debug\lab2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt stdafx.cpp + stdafx.cpp + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\lab2.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt lab2.cpp + lab2.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab2\Debug\lab2.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\lab\Cpp_Lab_01-master\lab2\Debug\lab2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab2\Debug\lab2.lib" /MACHINE:X86 Debug\lab2.obj + Debug\stdafx.obj + lab2.vcxproj -> C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab2\Debug\lab2.exe +Done Building Project "C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab2\lab2\lab2.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.87 diff --git a/lab2/lab2/Debug/lab2.obj b/lab2/lab2/Debug/lab2.obj new file mode 100644 index 0000000..4e78f4a Binary files /dev/null and b/lab2/lab2/Debug/lab2.obj differ diff --git a/lab2/lab2/Debug/lab2.pch b/lab2/lab2/Debug/lab2.pch new file mode 100644 index 0000000..c0e2ac7 Binary files /dev/null and b/lab2/lab2/Debug/lab2.pch differ diff --git a/lab2/lab2/Debug/lab2.tlog/CL.read.1.tlog b/lab2/lab2/Debug/lab2.tlog/CL.read.1.tlog new file mode 100644 index 0000000..7f3d335 Binary files /dev/null and b/lab2/lab2/Debug/lab2.tlog/CL.read.1.tlog differ diff --git a/lab2/lab2/Debug/lab2.tlog/CL.write.1.tlog b/lab2/lab2/Debug/lab2.tlog/CL.write.1.tlog new file mode 100644 index 0000000..43509ea Binary files /dev/null and b/lab2/lab2/Debug/lab2.tlog/CL.write.1.tlog differ diff --git a/lab2/lab2/Debug/lab2.tlog/cl.command.1.tlog b/lab2/lab2/Debug/lab2.tlog/cl.command.1.tlog new file mode 100644 index 0000000..b4f1de5 Binary files /dev/null and b/lab2/lab2/Debug/lab2.tlog/cl.command.1.tlog differ diff --git a/lab2/lab2/Debug/lab2.tlog/lab2.lastbuildstate b/lab2/lab2/Debug/lab2.tlog/lab2.lastbuildstate new file mode 100644 index 0000000..2712063 --- /dev/null +++ b/lab2/lab2/Debug/lab2.tlog/lab2.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab2\| diff --git a/lab2/lab2/Debug/lab2.tlog/link.command.1.tlog b/lab2/lab2/Debug/lab2.tlog/link.command.1.tlog new file mode 100644 index 0000000..273174a Binary files /dev/null and b/lab2/lab2/Debug/lab2.tlog/link.command.1.tlog differ diff --git a/lab2/lab2/Debug/lab2.tlog/link.read.1.tlog b/lab2/lab2/Debug/lab2.tlog/link.read.1.tlog new file mode 100644 index 0000000..5fde22c Binary files /dev/null and b/lab2/lab2/Debug/lab2.tlog/link.read.1.tlog differ diff --git a/lab2/lab2/Debug/lab2.tlog/link.write.1.tlog b/lab2/lab2/Debug/lab2.tlog/link.write.1.tlog new file mode 100644 index 0000000..3a10939 Binary files /dev/null and b/lab2/lab2/Debug/lab2.tlog/link.write.1.tlog differ diff --git a/lab2/lab2/Debug/stdafx.obj b/lab2/lab2/Debug/stdafx.obj new file mode 100644 index 0000000..ee1cffb Binary files /dev/null and b/lab2/lab2/Debug/stdafx.obj differ diff --git a/lab2/lab2/Debug/vc120.idb b/lab2/lab2/Debug/vc120.idb new file mode 100644 index 0000000..dc09a3a Binary files /dev/null and b/lab2/lab2/Debug/vc120.idb differ diff --git a/lab2/lab2/Debug/vc120.pdb b/lab2/lab2/Debug/vc120.pdb new file mode 100644 index 0000000..e4093aa Binary files /dev/null and b/lab2/lab2/Debug/vc120.pdb differ diff --git a/lab2/lab2/ReadMe.txt b/lab2/lab2/ReadMe.txt new file mode 100644 index 0000000..2f41137 --- /dev/null +++ b/lab2/lab2/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : lab2 Project Overview +======================================================================== + +AppWizard has created this lab2 application for you. + +This file contains a summary of what you will find in each of the files that +make up your lab2 application. + + +lab2.vcxproj + This is the main project file for VC++ projects generated using an Application Wizard. + It contains information about the version of Visual C++ that generated the file, and + information about the platforms, configurations, and project features selected with the + Application Wizard. + +lab2.vcxproj.filters + This is the filters file for VC++ projects generated using an Application Wizard. + It contains information about the association between the files in your project + and the filters. This association is used in the IDE to show grouping of files with + similar extensions under a specific node (for e.g. ".cpp" files are associated with the + "Source Files" filter). + +lab2.cpp + This is the main application source file. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +StdAfx.h, StdAfx.cpp + These files are used to build a precompiled header (PCH) file + named lab2.pch and a precompiled types file named StdAfx.obj. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +AppWizard uses "TODO:" comments to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/lab2/lab2/lab2.cpp b/lab2/lab2/lab2.cpp new file mode 100644 index 0000000..a885e73 --- /dev/null +++ b/lab2/lab2/lab2.cpp @@ -0,0 +1,24 @@ +// lab2.cpp : Defines the entry point for the console application. +// Pope Tom Helped + +#include "stdafx.h" +#include +#include + +using namespace std; + + + +int main(){ + int bill = 0; + + cout << "What was the bill?: "; + cin >> bill; + getchar(); + cout << "15% tip is: " << bill* .15 << endl; + cout << "20% tip is: " << bill* .20 << endl; + getchar(); + + return 0; +} + diff --git a/lab2/lab2/lab2.vcxproj b/lab2/lab2/lab2.vcxproj new file mode 100644 index 0000000..3af42a4 --- /dev/null +++ b/lab2/lab2/lab2.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {0B9FA1C2-060D-4E6D-A4B9-D010D4A65B3D} + Win32Proj + lab2 + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + + + + + + \ No newline at end of file diff --git a/lab2/lab2/lab2.vcxproj.filters b/lab2/lab2/lab2.vcxproj.filters new file mode 100644 index 0000000..a836c37 --- /dev/null +++ b/lab2/lab2/lab2.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/lab2/lab2/stdafx.cpp b/lab2/lab2/stdafx.cpp new file mode 100644 index 0000000..e62ffcf --- /dev/null +++ b/lab2/lab2/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// lab2.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/lab2/lab2/stdafx.h b/lab2/lab2/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab2/lab2/stdafx.h @@ -0,0 +1,15 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#pragma once + +#include "targetver.h" + +#include +#include + + + +// TODO: reference additional headers your program requires here diff --git a/lab2/lab2/targetver.h b/lab2/lab2/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab2/lab2/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/lab3/Debug/lab3.exe b/lab3/Debug/lab3.exe new file mode 100644 index 0000000..902f42a Binary files /dev/null and b/lab3/Debug/lab3.exe differ diff --git a/lab3/Debug/lab3.ilk b/lab3/Debug/lab3.ilk new file mode 100644 index 0000000..6805c3b Binary files /dev/null and b/lab3/Debug/lab3.ilk differ diff --git a/lab3/Debug/lab3.pdb b/lab3/Debug/lab3.pdb new file mode 100644 index 0000000..328357e Binary files /dev/null and b/lab3/Debug/lab3.pdb differ diff --git a/lab3/ipch/lab3-5fed5867/lab3-61fd3fae.ipch b/lab3/ipch/lab3-5fed5867/lab3-61fd3fae.ipch new file mode 100644 index 0000000..0b26517 Binary files /dev/null and b/lab3/ipch/lab3-5fed5867/lab3-61fd3fae.ipch differ diff --git a/lab3/lab3.sdf b/lab3/lab3.sdf new file mode 100644 index 0000000..96657e5 Binary files /dev/null and b/lab3/lab3.sdf differ diff --git a/lab3/lab3.sln b/lab3/lab3.sln new file mode 100644 index 0000000..551d295 --- /dev/null +++ b/lab3/lab3.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}") = "lab3", "lab3\lab3.vcxproj", "{B1381F1C-C7C0-41AD-A5D4-049AF76D9E0C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B1381F1C-C7C0-41AD-A5D4-049AF76D9E0C}.Debug|Win32.ActiveCfg = Debug|Win32 + {B1381F1C-C7C0-41AD-A5D4-049AF76D9E0C}.Debug|Win32.Build.0 = Debug|Win32 + {B1381F1C-C7C0-41AD-A5D4-049AF76D9E0C}.Release|Win32.ActiveCfg = Release|Win32 + {B1381F1C-C7C0-41AD-A5D4-049AF76D9E0C}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab3/lab3.v12.suo b/lab3/lab3.v12.suo new file mode 100644 index 0000000..32cc1e1 Binary files /dev/null and b/lab3/lab3.v12.suo differ diff --git a/lab3/lab3/Debug/lab3.log b/lab3/lab3/Debug/lab3.log new file mode 100644 index 0000000..c05f7c1 --- /dev/null +++ b/lab3/lab3/Debug/lab3.log @@ -0,0 +1,14 @@ +Build started 1/21/2015 11:12:39 AM. +Project "C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab3\lab3\lab3.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\lab3.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt lab3.cpp + lab3.cpp +Link: + C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab3\Debug\lab3.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\lab\Cpp_Lab_01-master\lab3\Debug\lab3.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab3\Debug\lab3.lib" /MACHINE:X86 Debug\lab3.obj + Debug\stdafx.obj + lab3.vcxproj -> C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab3\Debug\lab3.exe +Done Building Project "C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab3\lab3\lab3.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.16 diff --git a/lab3/lab3/Debug/lab3.obj b/lab3/lab3/Debug/lab3.obj new file mode 100644 index 0000000..ca2c89a Binary files /dev/null and b/lab3/lab3/Debug/lab3.obj differ diff --git a/lab3/lab3/Debug/lab3.pch b/lab3/lab3/Debug/lab3.pch new file mode 100644 index 0000000..c7fe182 Binary files /dev/null and b/lab3/lab3/Debug/lab3.pch differ diff --git a/lab3/lab3/Debug/lab3.tlog/CL.read.1.tlog b/lab3/lab3/Debug/lab3.tlog/CL.read.1.tlog new file mode 100644 index 0000000..b7d78bc Binary files /dev/null and b/lab3/lab3/Debug/lab3.tlog/CL.read.1.tlog differ diff --git a/lab3/lab3/Debug/lab3.tlog/CL.write.1.tlog b/lab3/lab3/Debug/lab3.tlog/CL.write.1.tlog new file mode 100644 index 0000000..1677f4a Binary files /dev/null and b/lab3/lab3/Debug/lab3.tlog/CL.write.1.tlog differ diff --git a/lab3/lab3/Debug/lab3.tlog/cl.command.1.tlog b/lab3/lab3/Debug/lab3.tlog/cl.command.1.tlog new file mode 100644 index 0000000..8be05cd Binary files /dev/null and b/lab3/lab3/Debug/lab3.tlog/cl.command.1.tlog differ diff --git a/lab3/lab3/Debug/lab3.tlog/lab3.lastbuildstate b/lab3/lab3/Debug/lab3.tlog/lab3.lastbuildstate new file mode 100644 index 0000000..e93abb5 --- /dev/null +++ b/lab3/lab3/Debug/lab3.tlog/lab3.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|C:\Users\IEUser\Documents\lab\Cpp_Lab_01-master\lab3\| diff --git a/lab3/lab3/Debug/lab3.tlog/link.command.1.tlog b/lab3/lab3/Debug/lab3.tlog/link.command.1.tlog new file mode 100644 index 0000000..15c52a2 Binary files /dev/null and b/lab3/lab3/Debug/lab3.tlog/link.command.1.tlog differ diff --git a/lab3/lab3/Debug/lab3.tlog/link.read.1.tlog b/lab3/lab3/Debug/lab3.tlog/link.read.1.tlog new file mode 100644 index 0000000..693a1a1 Binary files /dev/null and b/lab3/lab3/Debug/lab3.tlog/link.read.1.tlog differ diff --git a/lab3/lab3/Debug/lab3.tlog/link.write.1.tlog b/lab3/lab3/Debug/lab3.tlog/link.write.1.tlog new file mode 100644 index 0000000..5f2d2cf Binary files /dev/null and b/lab3/lab3/Debug/lab3.tlog/link.write.1.tlog differ diff --git a/lab3/lab3/Debug/stdafx.obj b/lab3/lab3/Debug/stdafx.obj new file mode 100644 index 0000000..ed73d3f Binary files /dev/null and b/lab3/lab3/Debug/stdafx.obj differ diff --git a/lab3/lab3/Debug/vc120.idb b/lab3/lab3/Debug/vc120.idb new file mode 100644 index 0000000..7672a4b Binary files /dev/null and b/lab3/lab3/Debug/vc120.idb differ diff --git a/lab3/lab3/Debug/vc120.pdb b/lab3/lab3/Debug/vc120.pdb new file mode 100644 index 0000000..839db95 Binary files /dev/null and b/lab3/lab3/Debug/vc120.pdb differ diff --git a/lab3/lab3/ReadMe.txt b/lab3/lab3/ReadMe.txt new file mode 100644 index 0000000..15086a8 --- /dev/null +++ b/lab3/lab3/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : lab3 Project Overview +======================================================================== + +AppWizard has created this lab3 application for you. + +This file contains a summary of what you will find in each of the files that +make up your lab3 application. + + +lab3.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. + +lab3.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). + +lab3.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 lab3.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/lab3/lab3/lab3.cpp b/lab3/lab3/lab3.cpp new file mode 100644 index 0000000..ed931e1 --- /dev/null +++ b/lab3/lab3/lab3.cpp @@ -0,0 +1,29 @@ +// lab3.cpp : Defines the entry point for the console application. +//tom helped with the variables + +#include "stdafx.h" +#include +#include +using namespace std; + + +int main(){ + double car = 0.0; + double tax = 0.0; + double license = 0.0; + int prep = 50; + int charge = 80; + double total = 0.0; + cout << "What was the price of your car: "; + cin >> car; + getchar(); + + tax = car*.54; + license = car*.34; + total = car + tax + license + prep + charge; + cout << "This is the total of your purchase: " << total << endl; + + getchar(); + return 0; +} + diff --git a/lab3/lab3/lab3.vcxproj b/lab3/lab3/lab3.vcxproj new file mode 100644 index 0000000..02f6317 --- /dev/null +++ b/lab3/lab3/lab3.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {B1381F1C-C7C0-41AD-A5D4-049AF76D9E0C} + Win32Proj + lab3 + + + + 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/lab3/lab3/lab3.vcxproj.filters b/lab3/lab3/lab3.vcxproj.filters new file mode 100644 index 0000000..bfb59c8 --- /dev/null +++ b/lab3/lab3/lab3.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/lab3/lab3/stdafx.cpp b/lab3/lab3/stdafx.cpp new file mode 100644 index 0000000..1c25a36 --- /dev/null +++ b/lab3/lab3/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// lab3.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/lab3/lab3/stdafx.h b/lab3/lab3/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab3/lab3/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/lab3/lab3/targetver.h b/lab3/lab3/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab3/lab3/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