1
INTRODUCTION TO C++
History
Object Oriented Programming (OOPS) Concepts
C and C++ Differences
C++ Program Structure
Variables and Constants
DATA TYPES AND OPERATORS
Integer
Float
Character
Boolean
Double
String
Data Type modifiers
Type Casting
Operators
CONDITIONAL STATEMENTS
If else block
Else if block
Nested if block
Ternary operator
Switch case
CONDITIONAL STATEMENTS
For loop
While loop
Do while loop
Nested loop
Break and continue
2
ARRAY
Array Introduction
Declaration of Array
Multidimensional array
Character array and String
STRUCTURE
Structure
Functions and Structure
Pointers to Structure
FUNCTIONS
Functions
Parameterized function
Return values
Passing array to function
Forward Declaration
Default value of Parameters
Inline Function
Recursive Function
Scope resolution operator
Namespaces
POINTERS
Address of operator
Pointer Variable
Dereference operator
NULL pointer
Reference variable
Pass by reference using reference variable
3
CLASSES AND OBJECTS IN C++
Procedural Programming & Object Oriented Programming
Class and object
Accessing class members
Member Functions
Object as Function argument
Returning Objects
Array of Objects
Constructor declaration
Constructor types
Multiple constructors and initialization lists
Copy constructor
C++ Header files
INHERITANCE
Overview of Inheritance
Defining Base and Derived Classes
Types of Inheritances
Friend Function and Friend Class
POLYMORPHISM
Overview of Polymorphism
Method overloading
Method overriding
Operator overloading
Virtual base class
ABSTRACTION
Pure virtual function
This pointer
Templates in c++
4
STREAMS AND FILES
File Input/Output Classes In C++
Reading from a File
Writing to a File
Closing a File
EXCEPTION HANDLING
Compile Time Errors
Run-Time Errors
Exception Handling Keywords
C++ Standard Exceptions
User-Defined Exceptions