Intermediate C++ Programming

 

This course is a custom intermediate programming in C++ for C programmers. The C++ class construct is introduced, providing full implementation of abstract data types. Function and operator overloading and the use of references are covered. The scope and access control mechanisms of C++ are described. Inheritance is introduced. The use of virtual functions to implement polymorphism is discussed. The ANSI C++ Standard Library is covered, including namespaces, the new header files and basic string class. Templates are covered, including an introduction to the Standard Template Library (STL). There is a chapter on I/O streams, including formatting and file I/O.

Audience: C programmers who are moving to object oriented programming in C++.

Prerequisites: A basic knowledge of C++ programming.

Number of Days: 4 days

Course Outline

1. Operator Overloading, Initialization, and Assignment

  • Operator Overloading
  • Semantics of Assignment
  • Initialization vs. Assignment
  • Overloading Assignment
  • Type Conversions

 

2. Scope and Access Control

  • Scoping in C++
  • Friend Functions
  • Const and Enumeration Types
  • Static Members

 

3. Introduction to Inheritance

  • Inheritance for Modeling and Resuse
  • Class Derivation
  • Access Control
  • Base Class Initialization
  • Composition
  • Initializing Class Type Members

 

4. Polymorphism and Virtual Functions

  • Virtual Functions and Dynamic Binding
  • Polymorphism in C++
  • Pointer Conversion
  • Virtual Destructors
  • Abstract Classes and Pure Virtual Functions

 

5. ANSI C++ Library

  • New Header Files
  • Namespaces in the Standard Library
  • ANSI C++ String Classes

To Hire a proven C++ Programming Subject Matter Expert Consultant / Course Author and Instructor who teaches this class, call 800-798-3901 today!

Leave a Reply