Infographics & Cheat SheetsInfographics & Cheat SheetsInfographics

Standard Algorithms Overview Std. Algorithms

std::string Interface & Utilities Overview std::string Interface Overview std::string

Build Model / Compiling A Project Building

Design Guidelines Guidelines

Function Parameters & Return Values Parameters & Return Values Fn Interfaces

This cheat sheet illustrates when/where one should use references, const, pass-by-value, etc. for some common (but of course not all) cases.

You should of course avoid direct access to class member variables, because you lose control over the interplay between this one member's state and the state of the other class members.

Standard Library & Conventions Standard Library Standard

Language Rules & Mechanisms Language Mechanisms Language

CS/Programming Terminology Terminology