C++ training course description
A hands on introduction to programming in the C++ language. The course concentrates on aspects that will be new to experienced C programmers and so is not suitable for those without C knowledge.
What will you learn
Write C++ programs
Debug C++ programs.
Examine existing code and determine its function.
Use classes, function overloading, operator overloading, inheritance and virtual functions within C++ programs.
C++ training course details
Who will benefit:
Programmers needing to write C++ code.
Programmers needing to maintain C++ code.
Prerequisites:
C programming foundation.
Duration
5 days
C++ training course contents
The origins of C++
C++ as a better C, C++ and Object Oriented
Programming, encapsulation, polymorphism,
inheritance. C++ standards.
Getting started
Simple C++ programs.
Classes
Basics, constructor and destructor functions, member and friend functions. Using objects. Default, copy and conversion constructors.
A better C
Arrays, pointers and references, new and delete. Improved safety with smart pointers, Resource
Acquisition in Initialization (RAII).
Functions in C++
Function overloading, default arguments, inline functions, Lambda functions.
Templates
Template classes and functions.
Standard Library
Containers, Iterators, algorithms, function
objects.
Operator overloading
Basics, binary operators, the this pointer, relational operators, unary operators. Members versus friends.
Inheritance
Base class access control, protected members, multiple inheritance, virtual base classes.
More I/O
Manipulators, customising inserters, extractors. File I/O.
Virtual functions
Pointers to derived classes, run time polymorphism.
Exception handling
Throwing errors, trying code and catching errors.