diff --git a/lab 1-1/ConsoleApplication5.sdf b/lab 1-1/ConsoleApplication5.sdf new file mode 100644 index 0000000..e798402 Binary files /dev/null and b/lab 1-1/ConsoleApplication5.sdf differ diff --git a/lab 1-1/ConsoleApplication5.sln b/lab 1-1/ConsoleApplication5.sln new file mode 100644 index 0000000..4935c17 --- /dev/null +++ b/lab 1-1/ConsoleApplication5.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}") = "ConsoleApplication5", "ConsoleApplication5\ConsoleApplication5.vcxproj", "{4C8F3C51-2789-4E34-9E71-CE0CBD586190}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4C8F3C51-2789-4E34-9E71-CE0CBD586190}.Debug|Win32.ActiveCfg = Debug|Win32 + {4C8F3C51-2789-4E34-9E71-CE0CBD586190}.Debug|Win32.Build.0 = Debug|Win32 + {4C8F3C51-2789-4E34-9E71-CE0CBD586190}.Release|Win32.ActiveCfg = Release|Win32 + {4C8F3C51-2789-4E34-9E71-CE0CBD586190}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab 1-1/ConsoleApplication5.v12.suo b/lab 1-1/ConsoleApplication5.v12.suo new file mode 100644 index 0000000..5a5c0ff Binary files /dev/null and b/lab 1-1/ConsoleApplication5.v12.suo differ diff --git a/lab 1-1/ConsoleApplication5/ConsoleApplication5.cpp b/lab 1-1/ConsoleApplication5/ConsoleApplication5.cpp new file mode 100644 index 0000000..a39f9b9 --- /dev/null +++ b/lab 1-1/ConsoleApplication5/ConsoleApplication5.cpp @@ -0,0 +1,11 @@ +// ConsoleApplication5.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" + + +int _tmain(int argc, _TCHAR* argv[]) +{ + return 0; +} + diff --git a/lab 1-1/ConsoleApplication5/ConsoleApplication5.vcxproj b/lab 1-1/ConsoleApplication5/ConsoleApplication5.vcxproj new file mode 100644 index 0000000..3c2c934 --- /dev/null +++ b/lab 1-1/ConsoleApplication5/ConsoleApplication5.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {4C8F3C51-2789-4E34-9E71-CE0CBD586190} + Win32Proj + ConsoleApplication5 + + + + 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-1/ConsoleApplication5/ConsoleApplication5.vcxproj.filters b/lab 1-1/ConsoleApplication5/ConsoleApplication5.vcxproj.filters new file mode 100644 index 0000000..3d201ce --- /dev/null +++ b/lab 1-1/ConsoleApplication5/ConsoleApplication5.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-1/ConsoleApplication5/ReadMe.txt b/lab 1-1/ConsoleApplication5/ReadMe.txt new file mode 100644 index 0000000..22dd052 --- /dev/null +++ b/lab 1-1/ConsoleApplication5/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : ConsoleApplication5 Project Overview +======================================================================== + +AppWizard has created this ConsoleApplication5 application for you. + +This file contains a summary of what you will find in each of the files that +make up your ConsoleApplication5 application. + + +ConsoleApplication5.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. + +ConsoleApplication5.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). + +ConsoleApplication5.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 ConsoleApplication5.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-1/ConsoleApplication5/stdafx.cpp b/lab 1-1/ConsoleApplication5/stdafx.cpp new file mode 100644 index 0000000..3315da4 --- /dev/null +++ b/lab 1-1/ConsoleApplication5/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// ConsoleApplication5.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-1/ConsoleApplication5/stdafx.h b/lab 1-1/ConsoleApplication5/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab 1-1/ConsoleApplication5/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-1/ConsoleApplication5/targetver.h b/lab 1-1/ConsoleApplication5/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab 1-1/ConsoleApplication5/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-1/ipch/consoleapplication5-42bdb478/consoleapplication5-3c8e4428.ipch b/lab 1-1/ipch/consoleapplication5-42bdb478/consoleapplication5-3c8e4428.ipch new file mode 100644 index 0000000..af80edd Binary files /dev/null and b/lab 1-1/ipch/consoleapplication5-42bdb478/consoleapplication5-3c8e4428.ipch differ diff --git a/lab 1-2/ConsoleApplication6.sdf b/lab 1-2/ConsoleApplication6.sdf new file mode 100644 index 0000000..6890274 Binary files /dev/null and b/lab 1-2/ConsoleApplication6.sdf differ diff --git a/lab 1-2/ConsoleApplication6.sln b/lab 1-2/ConsoleApplication6.sln new file mode 100644 index 0000000..8060252 --- /dev/null +++ b/lab 1-2/ConsoleApplication6.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}") = "ConsoleApplication6", "ConsoleApplication6\ConsoleApplication6.vcxproj", "{63D3C391-F309-49A7-B671-CD8439E54814}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {63D3C391-F309-49A7-B671-CD8439E54814}.Debug|Win32.ActiveCfg = Debug|Win32 + {63D3C391-F309-49A7-B671-CD8439E54814}.Debug|Win32.Build.0 = Debug|Win32 + {63D3C391-F309-49A7-B671-CD8439E54814}.Release|Win32.ActiveCfg = Release|Win32 + {63D3C391-F309-49A7-B671-CD8439E54814}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab 1-2/ConsoleApplication6.v12.suo b/lab 1-2/ConsoleApplication6.v12.suo new file mode 100644 index 0000000..728605f Binary files /dev/null and b/lab 1-2/ConsoleApplication6.v12.suo differ diff --git a/lab 1-2/ConsoleApplication6/ConsoleApplication6.cpp b/lab 1-2/ConsoleApplication6/ConsoleApplication6.cpp new file mode 100644 index 0000000..ebee1f8 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/ConsoleApplication6.cpp @@ -0,0 +1,25 @@ +// ConsoleApplication6.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +using namespace std; + + +int main() +{ + double bill; + double tip1; + double tip2; + cout << "what is the total of the bill"; + cin >> bill; + tip1 = bill * .15; + tip2 = bill * .2; + + cout << "your 15% tip is"<< tip1 << endl; + cout << "your 20% tip is" << tip2 << endl; + cin.ignore(); + cin.ignore(); + return 0; +} + diff --git a/lab 1-2/ConsoleApplication6/ConsoleApplication6.vcxproj b/lab 1-2/ConsoleApplication6/ConsoleApplication6.vcxproj new file mode 100644 index 0000000..9bf0128 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/ConsoleApplication6.vcxproj @@ -0,0 +1,96 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {63D3C391-F309-49A7-B671-CD8439E54814} + Win32Proj + ConsoleApplication6 + lab1-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/lab 1-2/ConsoleApplication6/ConsoleApplication6.vcxproj.filters b/lab 1-2/ConsoleApplication6/ConsoleApplication6.vcxproj.filters new file mode 100644 index 0000000..066c5e2 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/ConsoleApplication6.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-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/CL.read.1.tlog b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/CL.read.1.tlog new file mode 100644 index 0000000..1c5cc63 Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/CL.read.1.tlog differ diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/CL.write.1.tlog b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/CL.write.1.tlog new file mode 100644 index 0000000..69d0a96 Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/CL.write.1.tlog differ diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/ConsoleApplication6.lastbuildstate b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/ConsoleApplication6.lastbuildstate new file mode 100644 index 0000000..8138e89 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/ConsoleApplication6.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|c:\users\ieuser\documents\visual studio 2013\Projects\ConsoleApplication6\| diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/cl.command.1.tlog b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/cl.command.1.tlog new file mode 100644 index 0000000..1ab7cf0 Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/cl.command.1.tlog differ diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.command.1.tlog b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.command.1.tlog new file mode 100644 index 0000000..2a1f3fc Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.command.1.tlog differ diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.read.1.tlog b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.read.1.tlog new file mode 100644 index 0000000..f13c156 Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.read.1.tlog differ diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.write.1.tlog b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.write.1.tlog new file mode 100644 index 0000000..29fe37c Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/ConsoleA.63D3C391.tlog/link.write.1.tlog differ diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.log b/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.log new file mode 100644 index 0000000..4df3823 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.log @@ -0,0 +1,16 @@ +Build started 1/20/2015 2:36:34 AM. +Project "c:\Users\IEUser\documents\visual studio 2013\Projects\ConsoleApplication6\ConsoleApplication6\ConsoleApplication6.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\ConsoleApplication6.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\ConsoleApplication6.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt ConsoleApplication6.cpp + ConsoleApplication6.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\ConsoleApplication6\Debug\ConsoleApplication6.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\ConsoleApplication6\Debug\ConsoleApplication6.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"c:\users\ieuser\documents\visual studio 2013\Projects\ConsoleApplication6\Debug\ConsoleApplication6.lib" /MACHINE:X86 Debug\ConsoleApplication6.obj + Debug\stdafx.obj + ConsoleApplication6.vcxproj -> c:\users\ieuser\documents\visual studio 2013\Projects\ConsoleApplication6\Debug\ConsoleApplication6.exe +Done Building Project "c:\Users\IEUser\documents\visual studio 2013\Projects\ConsoleApplication6\ConsoleApplication6\ConsoleApplication6.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:02.45 diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.obj b/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.obj new file mode 100644 index 0000000..9386cc2 Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.obj differ diff --git a/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.pch b/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.pch new file mode 100644 index 0000000..4ebd6b5 Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/ConsoleApplication6.pch differ diff --git a/lab 1-2/ConsoleApplication6/Debug/stdafx.obj b/lab 1-2/ConsoleApplication6/Debug/stdafx.obj new file mode 100644 index 0000000..bfa9bc9 Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/stdafx.obj differ diff --git a/lab 1-2/ConsoleApplication6/Debug/vc120.idb b/lab 1-2/ConsoleApplication6/Debug/vc120.idb new file mode 100644 index 0000000..68b76cf Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/vc120.idb differ diff --git a/lab 1-2/ConsoleApplication6/Debug/vc120.pdb b/lab 1-2/ConsoleApplication6/Debug/vc120.pdb new file mode 100644 index 0000000..a4923a9 Binary files /dev/null and b/lab 1-2/ConsoleApplication6/Debug/vc120.pdb differ diff --git a/lab 1-2/ConsoleApplication6/ReadMe.txt b/lab 1-2/ConsoleApplication6/ReadMe.txt new file mode 100644 index 0000000..4012e70 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : ConsoleApplication6 Project Overview +======================================================================== + +AppWizard has created this ConsoleApplication6 application for you. + +This file contains a summary of what you will find in each of the files that +make up your ConsoleApplication6 application. + + +ConsoleApplication6.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. + +ConsoleApplication6.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). + +ConsoleApplication6.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 ConsoleApplication6.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-2/ConsoleApplication6/lab1-2.cpp b/lab 1-2/ConsoleApplication6/lab1-2.cpp new file mode 100644 index 0000000..ebee1f8 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/lab1-2.cpp @@ -0,0 +1,25 @@ +// ConsoleApplication6.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include +using namespace std; + + +int main() +{ + double bill; + double tip1; + double tip2; + cout << "what is the total of the bill"; + cin >> bill; + tip1 = bill * .15; + tip2 = bill * .2; + + cout << "your 15% tip is"<< tip1 << endl; + cout << "your 20% tip is" << tip2 << endl; + cin.ignore(); + cin.ignore(); + return 0; +} + diff --git a/lab 1-2/ConsoleApplication6/stdafx.cpp b/lab 1-2/ConsoleApplication6/stdafx.cpp new file mode 100644 index 0000000..b3f5e29 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// ConsoleApplication6.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-2/ConsoleApplication6/stdafx.h b/lab 1-2/ConsoleApplication6/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/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-2/ConsoleApplication6/targetver.h b/lab 1-2/ConsoleApplication6/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab 1-2/ConsoleApplication6/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-2/Debug/ConsoleApplication6.exe b/lab 1-2/Debug/ConsoleApplication6.exe new file mode 100644 index 0000000..0e7b9ba Binary files /dev/null and b/lab 1-2/Debug/ConsoleApplication6.exe differ diff --git a/lab 1-2/Debug/ConsoleApplication6.ilk b/lab 1-2/Debug/ConsoleApplication6.ilk new file mode 100644 index 0000000..4195f40 Binary files /dev/null and b/lab 1-2/Debug/ConsoleApplication6.ilk differ diff --git a/lab 1-2/Debug/ConsoleApplication6.pdb b/lab 1-2/Debug/ConsoleApplication6.pdb new file mode 100644 index 0000000..2c63cc8 Binary files /dev/null and b/lab 1-2/Debug/ConsoleApplication6.pdb differ diff --git a/lab 1-2/ipch/consoleapplication6-906fb6fb/consoleapplication6-3ca05ca9.ipch b/lab 1-2/ipch/consoleapplication6-906fb6fb/consoleapplication6-3ca05ca9.ipch new file mode 100644 index 0000000..6204203 Binary files /dev/null and b/lab 1-2/ipch/consoleapplication6-906fb6fb/consoleapplication6-3ca05ca9.ipch differ diff --git a/lab 1-2/ipch/consoleapplication6-906fb6fb/lab1-2-358370eb.ipch b/lab 1-2/ipch/consoleapplication6-906fb6fb/lab1-2-358370eb.ipch new file mode 100644 index 0000000..c795693 Binary files /dev/null and b/lab 1-2/ipch/consoleapplication6-906fb6fb/lab1-2-358370eb.ipch differ diff --git a/lab 1-3/ConsoleApplication7.sdf b/lab 1-3/ConsoleApplication7.sdf new file mode 100644 index 0000000..2870ea1 Binary files /dev/null and b/lab 1-3/ConsoleApplication7.sdf differ diff --git a/lab 1-3/ConsoleApplication7.sln b/lab 1-3/ConsoleApplication7.sln new file mode 100644 index 0000000..c33b9e1 --- /dev/null +++ b/lab 1-3/ConsoleApplication7.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}") = "ConsoleApplication7", "ConsoleApplication7\ConsoleApplication7.vcxproj", "{465CFF80-0A3C-4846-ADA6-776ACDF3E9F0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {465CFF80-0A3C-4846-ADA6-776ACDF3E9F0}.Debug|Win32.ActiveCfg = Debug|Win32 + {465CFF80-0A3C-4846-ADA6-776ACDF3E9F0}.Debug|Win32.Build.0 = Debug|Win32 + {465CFF80-0A3C-4846-ADA6-776ACDF3E9F0}.Release|Win32.ActiveCfg = Release|Win32 + {465CFF80-0A3C-4846-ADA6-776ACDF3E9F0}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab 1-3/ConsoleApplication7.v12.suo b/lab 1-3/ConsoleApplication7.v12.suo new file mode 100644 index 0000000..df1f2ee Binary files /dev/null and b/lab 1-3/ConsoleApplication7.v12.suo differ diff --git a/lab 1-3/ConsoleApplication7/ConsoleApplication7.cpp b/lab 1-3/ConsoleApplication7/ConsoleApplication7.cpp new file mode 100644 index 0000000..95a727b --- /dev/null +++ b/lab 1-3/ConsoleApplication7/ConsoleApplication7.cpp @@ -0,0 +1,31 @@ +// ConsoleApplication7.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include + +using namespace std; +double car = 0.0; +double carTax = 0.0; +double licens = 200.00; +double dealerPrep = 0.0; +double destinationCharge = 500.00; +double carTotal = 0.0; + +int main() +{ + cout << "What is the price of the car "; + cin >> car; + carTax = car * .15; + dealerPrep = car * .10; + cout << "your car tax is " << carTax << endl; + cout << "your licens cost " << licens << endl; + cout << "the dealerPrep cost " << dealerPrep << endl; + cout << "the destination charge is " << destinationCharge << endl; + carTotal = car + carTax + licens + dealerPrep + destinationCharge; + cout << "this is your car total " << carTotal << endl; + cin.ignore(); + cin.ignore(); + return 0; +} + diff --git a/lab 1-3/ConsoleApplication7/ConsoleApplication7.vcxproj b/lab 1-3/ConsoleApplication7/ConsoleApplication7.vcxproj new file mode 100644 index 0000000..dbd8fef --- /dev/null +++ b/lab 1-3/ConsoleApplication7/ConsoleApplication7.vcxproj @@ -0,0 +1,96 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {465CFF80-0A3C-4846-ADA6-776ACDF3E9F0} + Win32Proj + ConsoleApplication7 + lab1-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/lab 1-3/ConsoleApplication7/ConsoleApplication7.vcxproj.filters b/lab 1-3/ConsoleApplication7/ConsoleApplication7.vcxproj.filters new file mode 100644 index 0000000..387287b --- /dev/null +++ b/lab 1-3/ConsoleApplication7/ConsoleApplication7.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-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/CL.read.1.tlog b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/CL.read.1.tlog new file mode 100644 index 0000000..5f83dd9 Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/CL.read.1.tlog differ diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/CL.write.1.tlog b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/CL.write.1.tlog new file mode 100644 index 0000000..dcc1d07 Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/CL.write.1.tlog differ diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/ConsoleApplication7.lastbuildstate b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/ConsoleApplication7.lastbuildstate new file mode 100644 index 0000000..dfe2d60 --- /dev/null +++ b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/ConsoleApplication7.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit +Debug|Win32|c:\users\ieuser\documents\visual studio 2013\Projects\ConsoleApplication7\| diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/cl.command.1.tlog b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/cl.command.1.tlog new file mode 100644 index 0000000..f202ca6 Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/cl.command.1.tlog differ diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.command.1.tlog b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.command.1.tlog new file mode 100644 index 0000000..9b44dfd Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.command.1.tlog differ diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.read.1.tlog b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.read.1.tlog new file mode 100644 index 0000000..f399e08 Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.read.1.tlog differ diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.write.1.tlog b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.write.1.tlog new file mode 100644 index 0000000..2fb6fbd Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/ConsoleA.465CFF80.tlog/link.write.1.tlog differ diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.log b/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.log new file mode 100644 index 0000000..64942d3 --- /dev/null +++ b/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.log @@ -0,0 +1,14 @@ +Build started 1/20/2015 3:08:06 AM. +Project "c:\Users\IEUser\documents\visual studio 2013\Projects\ConsoleApplication7\ConsoleApplication7\ConsoleApplication7.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\ConsoleApplication7.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt ConsoleApplication7.cpp + ConsoleApplication7.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\ConsoleApplication7\Debug\ConsoleApplication7.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\ConsoleApplication7\Debug\ConsoleApplication7.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"c:\users\ieuser\documents\visual studio 2013\Projects\ConsoleApplication7\Debug\ConsoleApplication7.lib" /MACHINE:X86 Debug\ConsoleApplication7.obj + Debug\stdafx.obj + ConsoleApplication7.vcxproj -> c:\users\ieuser\documents\visual studio 2013\Projects\ConsoleApplication7\Debug\ConsoleApplication7.exe +Done Building Project "c:\Users\IEUser\documents\visual studio 2013\Projects\ConsoleApplication7\ConsoleApplication7\ConsoleApplication7.vcxproj" (Build target(s)). + +Build succeeded. + +Time Elapsed 00:00:01.22 diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.obj b/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.obj new file mode 100644 index 0000000..766763c Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.obj differ diff --git a/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.pch b/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.pch new file mode 100644 index 0000000..947c325 Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/ConsoleApplication7.pch differ diff --git a/lab 1-3/ConsoleApplication7/Debug/stdafx.obj b/lab 1-3/ConsoleApplication7/Debug/stdafx.obj new file mode 100644 index 0000000..5be6657 Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/stdafx.obj differ diff --git a/lab 1-3/ConsoleApplication7/Debug/vc120.idb b/lab 1-3/ConsoleApplication7/Debug/vc120.idb new file mode 100644 index 0000000..4746c8d Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/vc120.idb differ diff --git a/lab 1-3/ConsoleApplication7/Debug/vc120.pdb b/lab 1-3/ConsoleApplication7/Debug/vc120.pdb new file mode 100644 index 0000000..bab1ddc Binary files /dev/null and b/lab 1-3/ConsoleApplication7/Debug/vc120.pdb differ diff --git a/lab 1-3/ConsoleApplication7/ReadMe.txt b/lab 1-3/ConsoleApplication7/ReadMe.txt new file mode 100644 index 0000000..427654a --- /dev/null +++ b/lab 1-3/ConsoleApplication7/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : ConsoleApplication7 Project Overview +======================================================================== + +AppWizard has created this ConsoleApplication7 application for you. + +This file contains a summary of what you will find in each of the files that +make up your ConsoleApplication7 application. + + +ConsoleApplication7.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. + +ConsoleApplication7.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). + +ConsoleApplication7.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 ConsoleApplication7.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-3/ConsoleApplication7/lap1-3.cpp b/lab 1-3/ConsoleApplication7/lap1-3.cpp new file mode 100644 index 0000000..95a727b --- /dev/null +++ b/lab 1-3/ConsoleApplication7/lap1-3.cpp @@ -0,0 +1,31 @@ +// ConsoleApplication7.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include + +using namespace std; +double car = 0.0; +double carTax = 0.0; +double licens = 200.00; +double dealerPrep = 0.0; +double destinationCharge = 500.00; +double carTotal = 0.0; + +int main() +{ + cout << "What is the price of the car "; + cin >> car; + carTax = car * .15; + dealerPrep = car * .10; + cout << "your car tax is " << carTax << endl; + cout << "your licens cost " << licens << endl; + cout << "the dealerPrep cost " << dealerPrep << endl; + cout << "the destination charge is " << destinationCharge << endl; + carTotal = car + carTax + licens + dealerPrep + destinationCharge; + cout << "this is your car total " << carTotal << endl; + cin.ignore(); + cin.ignore(); + return 0; +} + diff --git a/lab 1-3/ConsoleApplication7/stdafx.cpp b/lab 1-3/ConsoleApplication7/stdafx.cpp new file mode 100644 index 0000000..a1f0f2c --- /dev/null +++ b/lab 1-3/ConsoleApplication7/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// ConsoleApplication7.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-3/ConsoleApplication7/stdafx.h b/lab 1-3/ConsoleApplication7/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab 1-3/ConsoleApplication7/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-3/ConsoleApplication7/targetver.h b/lab 1-3/ConsoleApplication7/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab 1-3/ConsoleApplication7/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-3/Debug/ConsoleApplication7.exe b/lab 1-3/Debug/ConsoleApplication7.exe new file mode 100644 index 0000000..35dccbc Binary files /dev/null and b/lab 1-3/Debug/ConsoleApplication7.exe differ diff --git a/lab 1-3/Debug/ConsoleApplication7.ilk b/lab 1-3/Debug/ConsoleApplication7.ilk new file mode 100644 index 0000000..a8d9c7a Binary files /dev/null and b/lab 1-3/Debug/ConsoleApplication7.ilk differ diff --git a/lab 1-3/Debug/ConsoleApplication7.pdb b/lab 1-3/Debug/ConsoleApplication7.pdb new file mode 100644 index 0000000..dc5e2b0 Binary files /dev/null and b/lab 1-3/Debug/ConsoleApplication7.pdb differ diff --git a/lab 1-3/ipch/consoleapplication7-de21b97e/consoleapplication7-3cb2752a.ipch b/lab 1-3/ipch/consoleapplication7-de21b97e/consoleapplication7-3cb2752a.ipch new file mode 100644 index 0000000..1d46937 Binary files /dev/null and b/lab 1-3/ipch/consoleapplication7-de21b97e/consoleapplication7-3cb2752a.ipch differ diff --git a/lab 1-3/ipch/consoleapplication7-de21b97e/lab1-3-3595896c.ipch b/lab 1-3/ipch/consoleapplication7-de21b97e/lab1-3-3595896c.ipch new file mode 100644 index 0000000..9b6fe49 Binary files /dev/null and b/lab 1-3/ipch/consoleapplication7-de21b97e/lab1-3-3595896c.ipch differ diff --git a/lab1-4/ConsoleApplication8.sdf b/lab1-4/ConsoleApplication8.sdf new file mode 100644 index 0000000..c26a5d4 Binary files /dev/null and b/lab1-4/ConsoleApplication8.sdf differ diff --git a/lab1-4/ConsoleApplication8.sln b/lab1-4/ConsoleApplication8.sln new file mode 100644 index 0000000..ded3b02 --- /dev/null +++ b/lab1-4/ConsoleApplication8.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}") = "ConsoleApplication8", "ConsoleApplication8\ConsoleApplication8.vcxproj", "{97826E95-7B6F-415C-8B08-4AB372555A83}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {97826E95-7B6F-415C-8B08-4AB372555A83}.Debug|Win32.ActiveCfg = Debug|Win32 + {97826E95-7B6F-415C-8B08-4AB372555A83}.Debug|Win32.Build.0 = Debug|Win32 + {97826E95-7B6F-415C-8B08-4AB372555A83}.Release|Win32.ActiveCfg = Release|Win32 + {97826E95-7B6F-415C-8B08-4AB372555A83}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lab1-4/ConsoleApplication8.v12.suo b/lab1-4/ConsoleApplication8.v12.suo new file mode 100644 index 0000000..7005360 Binary files /dev/null and b/lab1-4/ConsoleApplication8.v12.suo differ diff --git a/lab1-4/ConsoleApplication8/ConsoleApplication8.cpp b/lab1-4/ConsoleApplication8/ConsoleApplication8.cpp new file mode 100644 index 0000000..b5a1165 --- /dev/null +++ b/lab1-4/ConsoleApplication8/ConsoleApplication8.cpp @@ -0,0 +1,31 @@ +// ConsoleApplication8.cpp : Defines the entry point for the console application. +// + +#include "stdafx.h" +#include /* srand, rand */ +#include /* time */ +#include "string" +#include + +using namespace std; + + +int main() +{ + int iSecret; + srand(time(NULL)); + string cookie1 = "you will be wealthy in the future"; + string cookie2 = "engage your friends more you wont regret it"; + string cookie3 = "matt is dumb"; + string cookie4 = "sanic got to go fast"; + string cookie5 = "you will eat this forchane cookie;"; + iSecret = rand() % 5 + 1; + if (iSecret == 1){ cout << cookie1; } + else (iSecret == 2); { cout << cookie2; } + if (iSecret == 3); { cout << cookie3; } + if (iSecret == 4); { cout << cookie4; } + else (iSecret == 5); { cout << cookie5; } + + return 0; +} + diff --git a/lab1-4/ConsoleApplication8/ConsoleApplication8.vcxproj b/lab1-4/ConsoleApplication8/ConsoleApplication8.vcxproj new file mode 100644 index 0000000..bce30ae --- /dev/null +++ b/lab1-4/ConsoleApplication8/ConsoleApplication8.vcxproj @@ -0,0 +1,95 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {97826E95-7B6F-415C-8B08-4AB372555A83} + Win32Proj + ConsoleApplication8 + + + + 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-4/ConsoleApplication8/ConsoleApplication8.vcxproj.filters b/lab1-4/ConsoleApplication8/ConsoleApplication8.vcxproj.filters new file mode 100644 index 0000000..0af6b5a --- /dev/null +++ b/lab1-4/ConsoleApplication8/ConsoleApplication8.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-4/ConsoleApplication8/ReadMe.txt b/lab1-4/ConsoleApplication8/ReadMe.txt new file mode 100644 index 0000000..63bcc7a --- /dev/null +++ b/lab1-4/ConsoleApplication8/ReadMe.txt @@ -0,0 +1,40 @@ +======================================================================== + CONSOLE APPLICATION : ConsoleApplication8 Project Overview +======================================================================== + +AppWizard has created this ConsoleApplication8 application for you. + +This file contains a summary of what you will find in each of the files that +make up your ConsoleApplication8 application. + + +ConsoleApplication8.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. + +ConsoleApplication8.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). + +ConsoleApplication8.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 ConsoleApplication8.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-4/ConsoleApplication8/stdafx.cpp b/lab1-4/ConsoleApplication8/stdafx.cpp new file mode 100644 index 0000000..09f7116 --- /dev/null +++ b/lab1-4/ConsoleApplication8/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : source file that includes just the standard includes +// ConsoleApplication8.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-4/ConsoleApplication8/stdafx.h b/lab1-4/ConsoleApplication8/stdafx.h new file mode 100644 index 0000000..b005a83 --- /dev/null +++ b/lab1-4/ConsoleApplication8/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-4/ConsoleApplication8/targetver.h b/lab1-4/ConsoleApplication8/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/lab1-4/ConsoleApplication8/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-4/ipch/consoleapplication8-2bd3bc01/consoleapplication8-3cc48dab.ipch b/lab1-4/ipch/consoleapplication8-2bd3bc01/consoleapplication8-3cc48dab.ipch new file mode 100644 index 0000000..8a30f01 Binary files /dev/null and b/lab1-4/ipch/consoleapplication8-2bd3bc01/consoleapplication8-3cc48dab.ipch differ