Object Oriented Programming in C++

Part of our "Languages" courses

5 days

C++ OOP
Outline Last updated:

Course Overview

Training freshers on the fundamentals of languages, software engineering and algorithms

Course Prerequisites

An understanding of programming logic and techniques

Outline

Introduction:

  • What is object-oriented programming?
  • Why do we need this?
  • Programming characteristics of object-oriented languages C and C++

C++ Programming basics:

  • Source code
  • Compilation
  • Output as executable
  • Directives
  • Input with Data types, variables
  • Type conversions
  • Program structure and flow of program
  • Control statements – if and loops in c++

Functions:

  • Need and requirement
  • Def functions
  • Pre-defined functions vs user defined functions
  • Header file
  • Returning values from functions
  • Reference arguments
  • Overloaded function
  • Inline function
  • Default arguments

Object and Classes:

  • Structures vs objects
  • Making sense of core object concepts (Encapsulation, Abstraction, Polymorphism, Classes)
  • Implementation of class in C++
  • C++ Objects as data types
  • Constructors for initialization
  • Object as function arguments
  • The default copy constructor
  • Returning an object from function
  • Structures and classes
  • Classes, objects and memory static class data
  • Constant and classes
  • Arrays and string arrays fundamentals
  • Arrays
  • Need and comparison with single variable

Operator overloading:

  • Overloading unary operations
  • Overloading binary operators
  • data conversion
  • hands-on

Inheritance:

  • Concept of inheritance
  • Derived class and based class
  • Derived class constructors
  • member function
  • inheritance
  • class hierarchies
  • inheritance and graphics shapes
  • public and private inheritance
  • inheritance and program development

Pointer:

  • Addresses and pointers
  • pointer and arrays
  • Pointer and Faction pointer

Memory management :

  • New and Delete
  • pointers to objects
  • debugging pointers

Virtual Function:

  • Virtual Function
  • friend function
  • Static function
  • Assignment and copy initialization
  • this pointer

Streams and Files:

  • Streams classes
  • Disk File I/O with streams
  • file pointers
  • command line arguments
  • Single verses multi-file source code

Frequently asked questions

How long is the Object Oriented Programming in C++ course?

5 days, on-site or online. Sessions can run on consecutive days or be spread out to fit your team's schedule.

What are the prerequisites?

An understanding of programming logic and techniques

How large are the groups?

Deliberately small so the trainer can adapt to every participant: at most 10 on-site.

This Object Oriented Programming in C++ course looks very interesting, I do however have a question

Related courses