Lecture overview -- Keyboard shortcut: 'u'  Previous page: Friends - Class Point - operator friends -- Keyboard shortcut: 'p'  Next page: Discussion - Encapsulation, Visibility and Access -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Abstraction Mechanisms, Part 1 - slide 33 : 36

Friends - Class Point - implicit conversion

The left operand of the dot operator cannot be implicit converted.

The parameters of a friend function can be used instead.

point.h
Class Point - header file.
point.cc
Class Point - implementation - including the implementation of operator<<.
prog.cc
The program that use the operator.