0345 4506120

Programming with C++

C++ is undoubtedly one of the most widely-used programming language for implementing object-oriented systems. The C++ language is based on the popular C language. The C++ Programming course provides thorough practical and theoretical coverage of the C++ language for the experienced application programmer who has little or no recent C++ experience.

This course helps eliminate misconceptions and poor programming practices that can cause so many problems, by focusing on features of the language and standard library that enforce good practice and encourage clear and robust code.

This is a highly practical course which uses a mix of tuition and practical sessions for each technical chapter designed to reinforce the C++ syntax and object-oriented programming techniques covered in the course.

Learning Objectives

At the end of this course you will be able to:

  •   Understand the key concepts and vocabulary of object orientation
  •   Use fundamental and composite data types
  •   Define and use classes
  •   Write class member functions
  •   Use pointers and dynamic memory
  •   Use constructors and destructors
  •   Write code that is efficient and robust
  •   Build new classes from other classes using aggregation and association
  •   Build new classes from other classes using inheritance
  •   Use container classes, including template classes
  •   Use operator overloading
  •   Design and write code with polymorphic behaviour


Delegates who are relatively new to programming or who do not have experience in a modern programming environment, for instance on mainframe systems, should first attend the Programming Foundation course: www.qa.com/QAPROGFOU and follow it up with some practical work

  •   Delegates with Java or C# experience should attend C Programming for Java and C# Developers course
  •   Delegates with recent C programming experience may find C++ for C Programmers more appropriate.

Please note: Before attending this class delegates must have a Microsoft account (signing up for one is free).   The instructions on how to set up a Microsoft account can be found here.

Course Content

Course Introduction

  •   Course Prerequisites
  •   Course Objectives
  •   Course Delivery
  •   Course Practicals
  •   Course Structure

C ++ Programs

  •   Key features of C++
  •   Identifiers and keywords
  •   Simple declarations, expressions and statements
  •   Basic I/O
  •   Layout
  •   Guidelines

Fundamental Data Types

  •   Built-in types
  •   Integer numbers
  •   Floating Point numbers
  •   Characters
  •   Booleans
  •   Assignment
  •   Compound Assignment
  •   Increment and Decrement
  •   Defining constants
  •   Type conversions

Composite Data Types

  •   Defining and using enumerations
  •   Built-in arrays and their limitations
  •   Using the vector class
  •   Built-in strings as character arrays
  •   Using the string class
  •   Defining and using structures

Control Flow

  •   Simple and compound statements
  •   Selection with if else and switch statements
  •   Conditional expressions
  •   Looping with while and for statements


  •   Declaring, calling and defining functions
  •   Overloading
  •   Default arguments
  •   Scope issues
  •   Pass by copy
  •   Pass by reference
  •   Inline functions
  •   Header files and source files
  •   Pitfalls and guidelines

Object Concepts

  •   Object behaviour
  •   Object state
  •   Object identity, Object-oriented programming
  •   Classes
  •   Encapsulation

Using Classes

  •   Associating functionality with data
  •   Class definitions
  •   Public and private
  •   Queries functions and modifier functions
  •   Struct vs class


  •   Concepts and syntax
  •   Pointers to structured types
  •   Pointers for encapsulated objects
  •   Null pointers
  •   Pointers vs. references

Implementing Classes

  •   Defining member functions
  •   Object identity
  •   The this pointer
  •   Initialisation
  •   Constructors
  •   Default constructors
  •   Member Initialisation
  •   Scope issues
  •   Inlining member functions

Operator Functions

  •   Operators as functions
  •   Global operators
  •   Member operators
  •   I/O stream operators
  •   Pitfalls and guidelines

Object Relationships

  •   Associations and their implementation
  •   Compositions and their implementation
  •   Navigation
  •   Delegation
  •   Multiplicity

Dynamic Memory

  •   The need for dynamic memory
  •   Dynamic objects
  •   Using new and delete
  •   Dynamic arrays
  •   Using new[] and delete[]
  •   Destructors

More Pointers

  •   Pointers and arrays
  •   Pointer arithmetic
  •   Pointers as array iterators
  •   Pointers and const
  •   Pointers vs. references


  •   Container concepts and classification
  •   Template classes
  •   Standard containers
  •   Vector
  •   List
  •   Iterators
  •   Template functions
  •   Algorithms


  •   Copy construction
  •   Copy assignment
  •   Compiler generated copy behaviour
  •   Problems
  •   Solutions
  •   Reducing Copying
  •   Restricting Copying

Class Relationships

  •   Extension of existing classes using inheritance
  •   Polymorphic behaviour
  •   Type substitutability
  •   Abstract base classes


  •   Protected members
  •   Substitutability
  •   Scoping
  •   Base class initialisation
  •   Order of object construction and destruction
  •   Guidelines


  •   Declaring and defining virtual functions
  •   Virtual destructors
  •   Pure virtual functions
  •   Using polymorphism through pointers and references
  •   Guidelines

The Way Ahead

  •   Support after this course
  •   Further C++ information sources
  •   Appendices including C++ 11 Language Enhancements

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the requested service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.


Online Courses

You may prefer an online course if you are looking for a flexible and cost-effective solution. Online courses allow you to study at your own pace, at a time that suits you.

We have the following eLearning options available:

Virtual Classroom

Virtual classrooms provide all the benefits of attending a classroom course without the need to arrange travel and accomodation. Please note that virtual courses are attended in real-time, commencing on a specified date.

Virtual Course Dates

Our Customers Include