(Click on title slide to access entire slide deck.)

Lecture Panopto Watch the lecture here.

Lecture 3

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.


Previous section:
Next section: