C++ Programming

Instructors

Ubaid Ullah Khan, Faheem Dad

Timing

Morning, Afternoon

Duration

2 Months

Fee

PKR 6000/- (20% Discount Available)

Contact

+92-332-9853513

Brief introduction

Programming is the process of creating a set of instructions that tell a computer how to perform a task. Programming can be done using a variety of computer "languages," such as SQL, Java, Python, and C++.

In this C++ Programming course, a student is ready to develop powerful C++ programs and understand the fundamentals of computer programming as well as Object Orientation. furthermore, a student will able to apply for C++ jobs, with a minimum of a chance of success.

Introduction to Computer Languages

  • Computer Language
  • Computer Program
  • Types of Programming Languages
    • Low-Level Languages
    • High-Level Languages
  • Source & Object Program
  • Functions of Translators
  • Types of Translators
    • Assembler
    • Complier
    • Interpreter
  • Types of High Level Language
  • Selection of High Level Language

Introduction to Programming (Part 1)

  • History of C++
  • Writing C++ Programs
  • Structure of C++ program
  • Preprocessor directives
  • Header file
  • The Main() function
  • C++ statements
  • Keywords
  • Tokens
  • Variables
  • Data types in C++
  • Declaration of variables
  • Initialization of variables
  • Constants
  • Arithmetic operators
  • Arithmetic expression
  • Order of precedence of operator

Introduction to Programming (Part 2)

  • Basic input/ output
  • The cout object
  • The escape sequence
  • The endl manipulator
  • The setw manipulator
  • Assignment statement
  • The cin object
  • Compound assignment statement
  • Compound assignment expression
  • Increment and decrement operator
  • The increment operator (++)
  • The decrement operator (- -)
  • The comment statement

Conditional Statements

  • Relational expressions
  • Relational operators
  • The “if” statements
  • The “if-else” statement
  • The “nested if” statement
  • The “nested if-else” statement
  • The “switch” statement
  • The break statement
  • The “nested if-else and switch” statement
  • The conditional operator
  • Logical operator
  • The && (And) operator
  • The || (or) operator
  • The ! (Not) operator
  • The “goto” statement

Loop Statements

  • The “while” loop
  • The “do-while” loop
  • The “continue” statement
  • The “break” statement
  • The “for” loop
  • The nested loops

Arrays

  • One-dimensional array
  • String variables
  • Sorting arrays
  • Bubble sort
  • Selection sort
  • Multi-dimensional array
  • Initializing tables
  • Initializing characters

Structures

  • Defining a structure
  • Structure variables
  • Accessing members of a structures
  • Initialization of structure variables
  • Array type members of structure
  • Structure variables as array
  • Initialization of array of structure
  • Nested structure
  • Initialization of nested structure
  • Accessing members of structure

Functions (Part 1)

  • Built-in functions
  • User-defined functions
  • Function declaration (prototype)
  • Function definition
  • Calling a function
  • Passing arguments to functions
  • Passing arrays as arguments to a function
  • Passing structure to functions
  • Returning data from functions
  • Return statements
  • Declaration of function that returns a value
  • Calling a function that returns a value
  • Function definition that returns a value
  • Returning structures from function
  • Local and global variables
  • Local variables
  • Global variables
  • Static variables
  • Local and global functions
  • Reference parameters
  • Default arguments
  • Command line arguments
  • Inline functions
  • Function overloading
  • Function template

Functions (Part 2)

  • Built-in functions
  • Accessing built-in functions
  • Arguments of functions
  • Built-in functions of “Conio.h”
  • Built-in functions of “Stdio.h”
  • Built-in function of “String.h”
  • Built-in function of “Math.h”

Pointers

  • Memory addresses and variables
  • Pointer variables
  • The  “void” type pointers
  • Pointers and arrays
  • Pointers and strings
  • Array of pointers

Classes

  • Defining a class
  • Members of a class
  • Data members
  • Member functions
  • Member access specifiers
  • Objects
  • Declaring objects of a class
  • Calling member functions
  • Defining member functions outside the class
  • Storage of objects in memory
  • Constructors
  • Initializing data using constructors
  • Constructor overloading
  • Destructors
  • Passing objects as arguments
  • Friend function

Inheritance and Ploymorphisim (Part 1)

  • Inheritance
  • Single inheritance
  • Protected access specifier
  • Defining derived classes
  • Types of inheritances
  • Public inheritance
  • Private inheritance
  • Protected inheritance
  • Derived class constructors
  • Constructors in single inheritance with arguments
  • Multiple inheritance
  • Constructors in multiple inheritance

Inheritance and Polymorphism (Part 2)

  • Polymorphism
  • Pointers to objects
  • Early binding
  • Virtual function
  • Late binding
  • Pure virtual function
  • Abstract base class and Concrete derived class

Files

  • Terminologies used for data files
  • Streams and files
  • Opening files
  • File operation modes
  • Testing file open operation
  • Formatted input/ output
  • Detecting “End-of-file” (EOF)
  • Writing and reading single characters
  • Reading one line from a file
  • Binary input/ output
  • Writing and reading in binary mode
  • Writing and reading objects into files
  • Random access files
  • Output on the printer

Graphics

  • Polymorphism
  • Pointers to objects
  • Early binding
  • Virtual function
  • Late binding
  • Pure virtual function
  • Abstract base class and Concrete derived class

Bitwise operators

  • The bitwise & (And) operator
  • The bitwise | (or) operator
  • The bitwise ^ (XOR) operator
  • The bitwise ~ (compliment) operator
  • The left-shift (<<) operator
  • The right-shift (>>) operator