Overskrift | Side | Lydfil | Tid | Andet 1 | Andet 2 |
From C# classes to C++ classes | Page 1 | ||||
Organization of classes and members | Page 2 | ||||
Classes, structs and namespaces | Page 3 | ||||
Functions outside classes | Page 4 | ||||
Constructors | Page 5 | ||||
Constructors - initialization versus assignment | Page 6 | ||||
More about constructors | Page 7 | ||||
Use of constructors | Page 8 | ||||
Destructors | Page 9 | ||||
A class that needs a destructor | Page 10 | ||||
Resource acquisition is initialization - RAII | Page 11 | ||||
Auto Pointers | Page 12 | ||||
Object copying | Page 13 | ||||
Copying Point objects in parameter passing | Page 14 | ||||
Example of copying objects: Default copying | Page 15 | ||||
Example of copying objects: Programmed copying | Page 16 | ||||
Preventing object copying | Page 17 | ||||
Classes and Conversion | Page 18 | ||||
Implicit Conversion | Page 19 | ||||
Classes and Conversion: Examples | Page 20 | ||||
Static class members | Page 21 | ||||
Const member functions | Page 22 | ||||
Const member functions - const and mutable | Page 23 | ||||
Object Self-reference | Page 24 | ||||
Inline member functions | Page 25 | ||||
Concrete classes | Page 26 | ||||
Visibility and Access Control | Page 27 | ||||
Friends | Page 28 | ||||
Friends - Example 1 | Page 29 | ||||
Friends - Example 2 | Page 30 | ||||
Friends - class Point - notational convenience | Page 31 | ||||
Friends - Class Point - operator friends | Page 32 | ||||
Friends - Class Point - implicit conversion | Page 33 | ||||
Discussion - Encapsulation, Visibility and Access | Page 34 | ||||
Operator overloading | Page 35 | ||||
Example: Operator overloading in class Point | Page 36 |
Generated: Tuesday March 26, 2013, 13:03:34