Beginner's Guide
    First Steps
    Input & Output
    Custom Types – Part 1
    Diagnostics
    Standard Library – Part 1
    Function Objects
    Standard Library – Part 2
    Code Organization
    Custom Types – Part 2
    Generic Programming
    Memory Management
    Software Design Basics

    Design Study: Function Interfaces Function Interfaces Function Interfaces

    Slides

    slide 2
    slide 3
    slide 4
    slide 5
    slide 6
    slide 7
    slide 8
    slide 9
    slide 10
    slide 11
    slide 12
    slide 13
    slide 14
    slide 15
    slide 16
    slide 17
    slide 18
    slide 19
    slide 20
    slide 21
    slide 22
    slide 23

    Parameter Passing & Value Returning Passing & Returning

    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 try to 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.