Lecture 3: Further Adventures in Programming with C++

../_images/L3-title.png Lecture 3 slides Lecture 3 panopto Lecture 3 podcast

(Originally recorded 2019-04-09)

Recap of Lecture 2.

Basics of functions, parameter passing, modularity in C++.

cf. C++ Core Guidelines: Pass small-sized parameters by value, large parameters by const reference.

Separate compilation: Separate object (.o) files, linked together into executable.

Function declaration made in header file. Function definition in source file.

Make and makefiles.