Lecture 4 - Slide 18 : 40
Copying Point objects in parameter passing

It is possible to copy objects as part of initializations and in assignments

Plain and simple value semantics is used for objects of class types in C++

We write a program that passes Point objects in and out of trivial identify functions

We want to illustrate what happens when objects are passed in and out of functions

Funny constructors reveal what happens

Class Point with a variety of constructors.
Funny implementations of constructors.
Passing Point objects in and out of functions.
Actual program output.