C++ Programming

Module 1: Introduction to C++ 

  • Introduction
  • Writing, compiling and running a program

Module 2: Variables and data types 

  • Expressions
  • Constants
  • Operators
  • Type conversions

Module 3: Looping constructs: while, do…while, for loops

  • If…else statements
  • Switch/case construct

Module 4: Functions 

  • Passing arguments
  • Function prototyping
  • Default argument initializers
  • Inline functions

Module 5: Arrays 

  • Array initialisation
  • Multi-dimensional arrays
  • Character arrays
  • Working with character strings
  • Global variables

Module 6: Pointers 

  • Pointer and arrays
  • Pointers to character strings
  • Arrays of pointers
  • Memory slicing
  • Pointers to functions

Module 8: C++ classes 

  • Data members and member functions
  • Creating objects
  • The new and delete operators
  • Friends to a class
  • Class initialisation

Module 9: Reference types, Operator Overloading 

  • Reference type arguments
  • Operator overloading

Module 11:  Constructors 

  • Constructors
  • Assignment operator

Module 12: Template classes 

  • Static class members
  • File streams

Module 13: Inheritance 

  • Base classes and derived classes
  • Inherited member access
  • Base class initialisation
  • Protected members of a class

Module 14: Virtual functions 

  • Virtual destructors

Module 15: Virtual base classes 

  • Virtual base class member access
  • Constructor and destructor ordering

Module 16: Exception handling 

  • try…throw…catch block
  • Nested catch handlers