CP01 - C++ for non-C Programmers - 5 Days

Course Description

This course has been designed to provide delegates with a sound theoretical and practical introductory knowledge for reading and writing programs in C++.

On completion of the course, delegates should be able to read and write such programs using the standard language and library.


Pre-requisites

Delegates should be programmers capable in at least one other procedural or OO language such as Ada, C#, Fortran, Java, or Pascal, for example.

There is no requirement for a delegate to have prior experience in C or a C-related language.


Objectives

Delegates should be programmers capable in at least one other procedural or OO language such as Ada, C#, Fortran, Java, or Pascal, for example.

There is no requirement for a delegate to have prior experience in C or a C-related language; but any such delegate should opt for the course version “for non-C programmers”.

At the end of this class, participants will be able to:

  • Understand the capabilities of C++.
  • Define and use classes and objects, and variables of built-in types.
  • Use control flow, by if... statements, switches, and loops.
  • Define and use free and member functions.
  • Know, and be able to use, the most common operators.
  • Define and use overloaded operators.
  • Define and use constructors and destructors.
  • Understand the benefits of separating interface from implementation, and techniques to achieve this in C++.
  • Define and use static members.
  • Define and use friend functions and classes.
  • Read and write I/O handling code (including file I/O)
  • Understand the scope of the standard library
  • Be able to read and write code using features of the standard libraries.
  • Define and use derived classes, and run-time polymorphism using virtual functions.
  • Define and use class and function templates.


Environment

The course can be delivered using Microsoft Visual Studio, on Microsoft Windows, or with gcc on Linux, as requested by the client.


Customisation

For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.


Course Details

TOPICS COVERED
Background of C++
Defining Data
Operators and expressions
Functions
Classes and objects
I/O
Constructors and Destructors
Interfaces, and Abstract Data Types
Pointers
Free store management
Static data members and functions
Inheritance
Polymorphism
Pemplates
Exceptions
Miscellaneous Topics


Course Format

Practical sessions make up a large part of the course, allowing delegates to demonstrate and reinforce the lectures given. During these sessions the delegate will gain experience using different types of C++ programming techniques.

Examples are used extensively. It is encouraged that the delegates execute and 'experiment' with code, under the instructor's guidance as they are introduced.

The examples provided, and those created or modified by the delegates, are available to take away.

The course also supplies individual copies of a standard textbook that can be used during the course, and taken away. This will serve as useful tutorial and reference tool long after the course has finished. Delegates will also be able to access a free help-line with technical questions relating to topics covered on the course.


Course Enquiry