Next:
Basic class semantics
Up:
c++-notes
Previous:
Packaging and distribution
Contents
Classes
Subsections
Basic class semantics
Classes: motivations
The class concept
Objects of a class
Referring to the current object
Constructors and destructors
Lifetime of an object
Data access privileges
Namespaces
Exceptions
Overloading operators in and out of classes
The stack and the heap
User-defined memory allocation
Using object pointers
Input and output
Streams
Object onto streams
Overloading the
<<
and
>>
operators
Inheritance and polymorphism
Inheritance
Nested inheritance
Hiding
Nested inheritance and hiding
Inheritance vs. embedding
Polymorphism
Pure virtual classes
Pure virtual classes
Leo Liberti 2008-01-12