Friday, February 07, 2020

CPP: Basic usage of std::vector

Very basic usage of C++ STL std::vector


To build:
$: clang++ stdvector.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...