IT Technical & End User
Course Listings

For further information, or to make a telephone booking, or to receive a competitive quotation for an in-house course, you can call Pentland Training now on 0800 328 2766.

All of our training courses can be delivered on your own site, at Pentland Training facilities, or at an off-site venue.

Course Title:
C++ Programming

Duration: 5 days

Course Overview
This course provides a comprehensive introduction to the C++ programming language. The course begins by looking at the main function. Here the delegate will discover how to display and read values and how to use stream manipulators to format output. The course covers the core aspects of the language, including loops, conditions, arrays, pointers and strings. Later it moves on to more advanced features of the language with the emphasis on classes, objects, inheritance and polymorphism.

Throughout this course, extensive hands-on exercises, performed under the expert tuition of an experienced instructor, provide delegates with practical experience.

Target Audience


Anyone new to C++ programming. This course provides a solid foundation in programming with the C++ language. It also gives an understanding about key objected oriented concepts.

Course Objectives


By the end of the course attendees will: Know about the concepts of object-oriented programming; Be able to create, compile and execute C++ programs; Know the differences between objects and primitive types; Be familiar with the terms abstraction, encapsulation, inheritance and polymorphism; Be able to write functions; Know how to use variables, arrays, pointers and references; Be able to implement object-oriented designs using inheritance and polymorphism.

Prerequisites


None. Although any programming experience will be an advantage.

Course Content


Introduction
What is C++
Some Sample Code
How to compile and execute

The main Function
Syntax of the main function
Displaying and Reading values
Using stream manipulators

The Language
Arithmetic Operators
Assignment
Comparison
Logical Operators
Input and Output Operators
Increment/Decrement Operators
Conditional Operators
Variable Assignment
Loops
Conditions
Blocks and Scope

Functions
The Structure of a Function
Including Arguments
Returning Values
Local Variables
Recursion

Arrays and Pointers
What are they?
Declaring and Using Arrays and Pointers
Using Strings as Arrays
Pointers or References?

Structures
What are they?
Declaring and Using Structures
Initialising Structure Variables
Passing and Returning Structures to and from Functions
Abstract Data Types

Further Function Features
Overloading
Prototypes
Linkage
Default Arguments

Object-Oriented Programming Concepts
Abstraction
Encapsulation
Inheritance
Polymorphism
Classes
Methods
Constructors

Classes and Objects
Constructors
Private and Public Members
Member Functions
Destructors
References
Static Members

Objects Access and Modification
Manipulating arrays, pointers and references
Invoking Member Functions

Overloading and Templates
Class Interfaces
Function Signatures
Object Copying
Assignment Operator
The this Pointer

Inheritance
Simple Inheritance
Polymorphism
Object Slicing
Base Initialisation
Virtual Functions

Exception Handling
The Purpose of Exception Handling
Exceptions and Derived Classes
Function Exceptions Declarations
What to do With Unexpected Exceptions
How to Handle Exceptions
Resource Capture and Release

Enter your email address to register for our newsletter: