| |
objectives
- cover in depth design and development
issues of C++ programming inheritance and polymorphism
- practice virtual and late binding
- understand the finer points of dynamic allocation
and pointers
overview
This course covers advanced object oriented techniques
and algorithms development with C++. It
is an extremely practical course, developed and
taught by consultants with many years' experience
in OO design. When taught at your site, this modular
course can be adapted to your situation and requirements.
Included in the course are numerous examples
and exercises, and comes with a reference text.
After the course, we are able to offer reviews
and mentoring to guide you in making the best
use of the techniques.
The course is suitable for C++ developers.
It is presented by one of our senior consultants,
each of whom has at least ten years' experience
in object oriented software development, and at
least three years' experience as a trainer and
consultant in a diverse range of application areas.
Ideally this training should be preceded
by the course: design
and develop C++ applications
content
1.
Derived and base classes
- specifying the derived class
- accessing base class members
- protected access specifier
- derived class constructors
2. Overriding
- overriding member functions
- which function is used?
- scope resolution with overridden functions
3.
Inheritance
- abetting inheritance
- class hierarchies
- abstract base class
- constructors and member functions
- public and private inheritance
- access combinations
- classes and structures
- access specifiers
- levels of inheritance
4. Multiple inheritance
- member functions in multiple
inheritance
- constructors in multiple inheritance
- ambiguity in multiple inheritance
- containership: classes within classes
- inheritance and program development
|
5.
Pointers
- review of addresses and pointers
- operator addresses
- pointer variables
- accessing the variable pointed to
- pointer to void
- pointer constants and variables
- pointers and functions
- passing simple variables
6. Pointers to arrays and strings
- passing arrays
- sorting array elements
- pointers
and strings
- pointers to string constants
- strings as function arguments
- copying a string using pointers
- library string functions
- arrays of pointers to strings
7. Pointers to objects
- memory management
- new and delete
- a string class using new
- pointers to objects
- referring to members
8. Virtual and friend functions
- normal member functions
- virtual member functions
- late binding, pure virtual functions
- abstract classes
- virtual base classes
- friends as bridges
- assignment and copy initialization
- overloading the assignment operator
- copy constructor
- the this pointer
- using this for returning values |
|
Please
note, when taught at your site, this
course is customizable. Modules
can be adapted, removed, added from
other courses, or even created.
|
|
timings
Day 1
1. Derived and base classes
2. Overriding
Day
2
3. Inheritance
4. Multiple inheritance
Day
3
5. Pointers
6. Pointers to arrays and strings
Day 4
7. Pointers to objects
8. Virtual and friend functions
To book a public or onsite
course, please contact Clive Menhinick on
+44 (0)161 225 3240, or email him: Clive@trireme.com.
Alternatively, use the booking form.
©
TriReme International Limited 2001-2006.
All rights reserved.
|