Wednesday, March 04, 2020

CPP: Basic usage of std::cin for getting input from stdin

CPP: Basic usage of std::cin for getting input from stdin

Basic usage of getting data from standard input (keyboard normally) using std::cin.


To build:
$: clang++ getinput.cpp

Run it:
$: ./a.out

No comments:

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...