Lecture overview -- Keyboard shortcut: 'u'  Previous page: Object copying -- Keyboard shortcut: 'p'  Next page: Example of copying objects: Default copying -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 3 - Page 14 : 36
Notes about C++
Abstraction Mechanisms, Part 1
Copying Point objects in parameter passing

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

y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/constructors/point.hClass Point with a variety of constructors.


y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/constructors/point.ccFunny implementations of constructors.


y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/constructors/prog5.ccPassing Point objects in and out of functions.


y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/constructors/prog5-outputActual program output.