Introduction to C++

C++ Programming languages

This course is aimed at developers who are new to C++ and wish to learn modern C++ using the most common and useful features of C++11 such as auto and lambdas.

Suitable for

This C++ training course is suitable for programmers with a knowledge of some other programming language who will be developing applications in modern C++.

Prerequisites

Knowledge of some other programming language such as Java, Python, C# or C.

Course Contents

Background to C++

  • Basic syntax
  • The Standard Template Library
  • Namespaces
  • Exercises

Standard Template Library

  • Strings
  • Vectors
  • Iterators
  • Maps
  • Iostreams
  • Other types
  • Exercises

Classes

  • Private and public members
  • Member functions
  • Uniform initialisation
  • Constructors
  • Destructors
  • References
  • Static members
  • Exercises

Further Techniques with Functions

  • Prototypes
  • Linkage
  • Overloading
  • Ambiguity
  • Default Arguments
  • Lambdas
  • Exercises

Managing Memory

  • New and delete
  • Object copying
  • Copy constructor
  • Assignment operator
  • The this pointer
  • Exercises

Inheritance

  • Simple inheritance
  • Polymorphism
  • Object slicing
  • Base initialisation
  • Virtual functions
  • Exercises

Operator Overloading

  • Operator functions
  • I/O operators
  • Friends
  • Member operators
  • Conversions
  • Exercises

Templates

  • Introduction
  • Template classes
  • Declaration and instantiation
  • Template functions
  • Specialisation
  • Exercises

Exception Handling

  • Purpose and simple use
  • Exceptions and derived classes
  • Function exception declarations
  • Unexpected exceptions
  • Exceptions when handling exceptions
  • Resource capture and release
  • Exercises

Tid

09:00 - 16:15