diff options
| author | alexandra-apetroaei <andra@MSI> | 2022-10-17 21:27:37 -0800 |
|---|---|---|
| committer | alexandra-apetroaei <andra@MSI> | 2022-10-17 21:27:37 -0800 |
| commit | c2c8a9cbe07e4ecad63fc1cdbcdd4b39b98b3a9d (patch) | |
| tree | af9a97a0cbabd505e76c59011462f471b21dbb48 | |
| parent | Setting up GitHub Classroom Feedback (diff) | |
| download | cst116-lab1-alexandra-apetroaei-c2c8a9cbe07e4ecad63fc1cdbcdd4b39b98b3a9d.tar.xz cst116-lab1-alexandra-apetroaei-c2c8a9cbe07e4ecad63fc1cdbcdd4b39b98b3a9d.zip | |
first change
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 16 | ||||
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.vcxproj | 8 |
2 files changed, 17 insertions, 7 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index ed5f807..7deb81d 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -1,5 +1,5 @@ -// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. -// +// CST 116, Lab 1 - Alexandra Apetroaei + #include <iostream> @@ -11,6 +11,16 @@ using std::endl; int main() { - cout << "Hello World!\n"; + int height = 0; + int width = 0; + + + cout << "Insert the width: "; + cin >> height; + + cout << "Insert height: "; + cin >> width; + + } diff --git a/BlankConsoleLab/BlankConsoleLab.vcxproj b/BlankConsoleLab/BlankConsoleLab.vcxproj index db2e734..d2e3ee2 100644 --- a/BlankConsoleLab/BlankConsoleLab.vcxproj +++ b/BlankConsoleLab/BlankConsoleLab.vcxproj @@ -29,26 +29,26 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> |