lecture 3 cpp