RTD Training & Development

C++ Programming

Call us on +44 (0)1225 66 72 72 or send us a message

C++ Programming

4 days hands-on £1,940+VAT

This course can be delivered over the web

Next scheduled date:
Monday March 19th, 2018 Enrol Now!

A comprehensive introduction to C++ in particular and object oriented programming in general

Outline

Syntax

  • Basic syntax
  • Fundamental data types
  • Looping and decision structures
  • Constants and enumerations
  • Using pointers
  • Reference variables and arguments

Encapsulation

  • Declaring and using classes
  • The 'this' pointer
  • Access control
  • Constructors and destructors
  • Static elements
  • Friend functions and classes
  • In-line functions

Inheritance

  • Single inheritance
  • Modifying access control
  • Nested classes
  • Type conversion
  • Multiple inheritance
  • Virtual super-classes
  • Dynamic casts

Polymorphism

  • Function overloading
  • Virtual functions
  • Virtual destructors
  • Abstract classes
  • Class pointers
  • Templates

Operators

  • Operator overloading
  • Copy constructors
  • Initialisation

Streams

  • Basic stream I/O
  • Overloading stream operators
  • Using stream methods
  • Using manipulators

Code Organisation

  • Header files and source files
  • Using namespaces
  • Interfacing to routines in other languages

Overview

C++ is an object-oriented language derived from C. It is a well-established language offering a high degree of efficiency and portablility. Object orientation results in more robust and maintainable code that is easier to understand.

This course covers all the major features of C++ for programmers who do not have experience of C. The basic principles of object-oriented programming are covered.

Participants acquire hands-on experience of the language by working through a wide selection of exercises.

Objectives

On successful completion of this course, participants will be able to:

  • Write, compile and execute C++ programs
  • Apply C++'s object-oriented features
  • Use containers and templates
  • Safely manage resources using matched constructors and destructors
  • Use elements of the standard library

Audience

This course is aimed at programmers, analysts, engineers and technical managers who are interested in C++ program development.

Prerequisites

Participants are expected to be familiar with at least one other programming language, but no other prior knowledge is assumed.

Programmers with a knowledge of C or Java would be better served by our C++ Programming for C Programmers course