From ab79fbba417c0ac3fe21118bac72128122ce185b Mon Sep 17 00:00:00 2001 From: "ansari.rayyan@outlook.com" Date: Sat, 9 Oct 2021 09:04:26 -0700 Subject: class exercises from 10/6/2021 --- Lab2Ansari/Lab2Ansari.cpp | 38 +++++++++ Lab2Ansari/Lab2Ansari.vcxproj | 147 ++++++++++++++++++++++++++++++++++ Lab2Ansari/Lab2Ansari.vcxproj.filters | 22 +++++ 3 files changed, 207 insertions(+) create mode 100644 Lab2Ansari/Lab2Ansari.cpp create mode 100644 Lab2Ansari/Lab2Ansari.vcxproj create mode 100644 Lab2Ansari/Lab2Ansari.vcxproj.filters (limited to 'Lab2Ansari') diff --git a/Lab2Ansari/Lab2Ansari.cpp b/Lab2Ansari/Lab2Ansari.cpp new file mode 100644 index 0000000..c35dd55 --- /dev/null +++ b/Lab2Ansari/Lab2Ansari.cpp @@ -0,0 +1,38 @@ +// Lab2Ansari.cpp : This file contains the 'main' function. Program execution begins and ends there. +// + +#include + +using namespace std; + +int main() +{ + int age = 18; + + int daysInYears = 365; + + cout << age * daysInYears; + + + +} + +//char ascii = 67; +//cout << ascii << '\n'; +//ascii = 43; +//cout << ascii << '\n'; +//cout << ascii << '\n'; +//return 0; + + + +// Run program: Ctrl + F5 or Debug > Start Without Debugging menu +// Debug program: F5 or Debug > Start Debugging menu + +// Tips for Getting Started: +// 1. Use the Solution Explorer window to add/manage files +// 2. Use the Team Explorer window to connect to source control +// 3. Use the Output window to see build output and other messages +// 4. Use the Error List window to view errors +// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project +// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file diff --git a/Lab2Ansari/Lab2Ansari.vcxproj b/Lab2Ansari/Lab2Ansari.vcxproj new file mode 100644 index 0000000..7148cda --- /dev/null +++ b/Lab2Ansari/Lab2Ansari.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {b347fab2-a6bb-4d39-8bd3-f88af9c8acde} + Lab2Ansari + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Lab2Ansari/Lab2Ansari.vcxproj.filters b/Lab2Ansari/Lab2Ansari.vcxproj.filters new file mode 100644 index 0000000..8f53307 --- /dev/null +++ b/Lab2Ansari/Lab2Ansari.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;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 + + + + + Source Files + + + \ No newline at end of file -- cgit v1.2.3