C++ Object Oriented Programming

Course

In Bath

Price on request

Description

  • Type

    Course

  • Location

    Bath

  • Duration

    4 Days

To learn how to program using C++ and Object Orientated techniques. The class teaches the following topics: Objects, Data Hiding, Polymorphism, Destructors, Classes, Storage Classes, Pointers, Friend Functions, Abstract Classes, Management of Class Source & Object Files, Abstract Data Types, Building Windows Applications, Data Encapsulation, Inheritance, Constructors, Scope. Suitable for: The class is designed for accomplished C Programmers who want to learn how to use C++ to program with Object Oriented techniques.

Facilities

Location

Start date

Bath (Somerset)
See map
11 Kingsmead Square, BA1 2AB

Start date

On request

About this course

Previous training in C language programming. The following topics are reviewed in the class, however, it is assumed that the student has some knowledge of them: C Structures, Constants, C Keywords, Unions, Naming Restrictions, Punctuation, Scope, Function Prototyping, Typedefs, Comments in C, Case Sensitivity, Declarations, Initialisation, Functions, Pointers, Externals and C...

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Course programme

AUDIENCE: The class is designed for accomplished C Programmers who want to learn how to use C++ to program with Object Oriented techniques.
PREREQUISITES: Previous training in C language programming. The following topics are reviewed in the class, however, it is assumed that the student has some knowledge of them: C Structures, Constants, C Keywords, Unions, Naming Restrictions, Punctuation, Scope, Function Prototyping, Typedefs, Comments in C, Case Sensitivity, Declarations, Initialisation, Functions, Pointers, Externals and C Expressions.
DURATION: 4 days. Hands on.
OBJECTIVES: To learn how to program using C++ and Object Orientated techniques. The class teaches the following topics:
Objects, Data Hiding, Polymorphism, Destructors, Classes, Storage Classes, Pointers, Friend Functions, Abstract Classes, Management of Class Source & Object Files, Abstract Data Types, Building Windows Applications, Data Encapsulation, Inheritance, Constructors, Scope, Storage Allocation, Arrays of Class Objects, Friend Classes and Class Libraries.
COURSE CONTENT:
Basic Concepts of Object Orientated Programming Skills:
Students will be able to define the following terms and describe how they relate to the overall goals of object orientated programming.
Objects
Abstract Data Types
Data Hiding
Classes
Data Encapsulation
Inheritance Polymorphism

Basic Concepts and Syntax
Skills: Using hands on workshops the delegates will create and use a simple class. Students will be able to compile, link and run simple C++ programmes that use the following concepts :
C++ and ANSI C
Declaring Classes & Objects
Volatile Keyword
Visibility
C++ Operators
Defining Constructors & Destructors

Classes with Pointers
Skills: Students will Create and use more complex classes. They will describe and demonstrate in C++ the difference between function calls by value and function calls by reference. They will describe the 3 main storage areas and write C++ code to create objects in each of these areas. They will also describe the difference between the overloaded assignment operator and the copy constructor. Topics covered will include:
Const Keyword
References
Review of Storage Allocation
Constructors and Destructors
Operator Overload
Overloaded Assignment Operator
The "this" Pointer
The Copy Constructor

More Features of Classes
Skills: Students will be able to use friend functions & friend classes to access data, use the new and delete operators to work with memory from the heap, use static data members and member functions, use the pointer to member operators and use the C preprocessor to avoid circular definitions in header files. In the hands on element of this module thy will be using Static Variables, building a Stack, embedding an Object in a Class, using Storage Allocation. Specific topics include:
Friend Functions
Friend Classes
Static Data Members
Static Member Functions
Pointer to Member Operators
Arrays of Class Objects
Dynamic Storage Allocations
The New and Delete Operators
C++ Preprocessor Statements

More on C++ Syntax
Skills: In this module delegates will be learning to use more complex aspects of the C++ language. Specific topics will include :
Enum Consonants
Aggregate Types
Scope Access Operators
Virtual Base Classes
Templates
Full Syntax of A Class Definition

Inheritance
Skills: Students will be able to use C++ to code the basic concepts of inheritance. Workshops will enhance the concepts of Basic Class Inheritance and Creating a Stack of Strings using Inheritance. Other topics will include :
Base & Derived Classes
Accessibility of Members
Member Function Overriding
Order of Execution
Overriding Function Overrides
Scope Resolution
Base Pointers & References to Derived Objects

Polymorphism and Abstract Classes
Skills: Students will be taught how to define Polymorphism, define an Abstract Class and use Virtual Functions. They will also use Virtual Tables and Virtual Destructors. Workshops will highlight the use of Virtual Functions and Abstract Classes. New topics will be:
Definition Virtual Functions
Virtual Tables
Virtual Destructors

Class Libraries & Programming Windows
Skills: Students will be able to describe what to look for in existing class libraries and write a simple Windows application using C++. This will be reinforced with practical exercise. Students will also use the exercise to place Classes in a library. Topics include:
Container Class Libraries
Class Library Directories
Using IDE
Using Existing Class Libraries
The Windows Classes
Building a Windows Application
Linking for Windows

PG07/01

C++ Object Oriented Programming

Price on request