C++ programming foundation
A hands-on introduction to C++ for programmers who already know C, focusing on object-oriented programming and the language features that distinguish C++ from C. Delegates develop practical skills with classes, templates, the Standard Library, inheritance, polymorphism and exception handling.
Course overview
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 you will 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.
Who will benefit
- Programmers needing to write C++ code.
- Programmers needing to maintain C++ code.
Prerequisites
Course content
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.
Where this course fits
What engineers say
“"Hard concepts were explained very simply."
“"I’ve found it very useful and the course was very well put together and delivered"
Dates & prices
View full schedule →Private & bespoke delivery for your team
We run this course exclusively for your organisation — at your site, our venue, or online. Flexible dates, tailored content, and pricing based on group size.
Not sure if this course is right?
Talk to one of our engineers about your environment, experience level, and goals. We’ll confirm whether this course is the right fit or suggest a better alternative.