Saturday, January 25, 2020

CPP: Hello world

Copy and save code below as helloworld.cpp


To build:
$: clang++ helloworld.cpp

Run it:
$: ./a.out

No comments:

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...