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:

Hello world assembly on x86 Linux

Hello world assembly on x86 Linux Save code below as hello.asm global _start section .data message: db 'hello, world!', 10 secti...