Wednesday, February 05, 2020

CPP: Basic usage of std::map

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


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