CPP Syllabus

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Syllabus

Introduction Decision Making & Looping


• Concepts of Object-Oriented • Decision Making Statements
Programming • Boolean Expression
• Benefits of OOP • If Statement
• What is C++ • Nesting of If…Else
• Structure of C++ Program • Ladder Structure
• History of C++ • Switch Statements
• Executing a C++ Program • While Loop
• Do…While Loop
IDEs
• For Loop
• Turbo C++ • Nesting of Loops
• Dev C++ • Break statement
• Code Block • Continue Statement
• Visual Studio Code • goto Statement
Variables and Data Types Functions
• Tokens • Defining Functions
• Keywords & Identifiers • Function Declaration
• Data Types • Categories of Functions
• Variable Declaration • Types of Functions
• Assign Variable value • Built-in function
Operators & Expressions • User-Define Function
• Function with Arguments
• Arithmetic Operators
• Function returning
• Relational Operators
• Function Prototype
• Logical Operators
• Pass by Reference
• Assignment Operators
• Pass by Reference
• Ternary Operator
• Precedence of Operators Arrays
• Mixed Expressions
• Introduction to Array
• Type casting
• Accessing Array element
• Scope Resolution Operator
• Array Initialization
• Member Dereferencing Operators
• One Dimensional Arrays
• Memory Management Operators
• Array of Object
Object Oriented Programming Operator Overloading
• Introduction to OOP • Defining Operator Overloading
• Data Abstraction • Overloading Unary Operators
• Data Encapsulation • Overloading Binary Operators
• Specifying a Class • Overloading Relation Operators
• Data Member • Overloading Binary Operators using
• Member function Friends
• Object creation • Manipulation of Strings using
• Object Member Accessing Operators
• Access Specifiers • Rules of Operator Overloading
• Setter Methods • Type Conversion
• Member Function Returning value • Type casting for user defined types
• Nesting of Methods • Pitfall of operator overloading
• Member Function Overloading
Inheritance
• Mutable Object
• Introduction to Inheritance
• Mutable methods
• Defining Derived Classes
• Static Data Member
• Single Inheritance
• Accessing Static Member
• Multiple inheritance
• Static Member Function
• Hierarchical inheritance
• Inline Function
• Multilevel inheritance
• Passing object as argument
• Hybrid inheritance
• Object as reference argument
• Virtual Base Classes
• Returning object
• Abstract Classes
• Friend Function
• Constructors in Derived Classes
Constructors and Destructors • Member Classes
• Introduction
Polymorphism
• Constructors
• Introduction Polymorphism
• Parameterized Constructors
• Static Linking
• Multiple Constructors in a Class
• Dynamic Linking
• Constructors with Default Arguments
• Virtual Functions
• Dynamic Initialization of Objects
• Virtual keyword
• Copy Constructor
• Pure Virtual Functions
• Dynamic Constructors
• Virtual Constructors and Destructors
• Destructors
Managing Console I/O File Input and Output
• Introduction
• File Classes for File Stream
• C++ Streams
Operations
• C++ Streams Classes
• Opening and Closing a File
• Unformatted and Formatted I/O
• Detecting End of File
Operations
• File Modes
• Formatted Console I/O Operations
• Sequential Input and Output
• Managing Output with Manipulators
Operations
Templates • Closing a File
• Introduction Templates
Exception Handling
• Class Templates
• Function Templates • Basics of Exception Handling
• Overloading of Template Functions • Exception Handling Mechanism
• Non-Type Template Argument • Throwing Mechanism
• Catching Mechanism
Pointer • Specifying Exceptions
• What is a Pointer?
Manipulating Strings
• Accessing the address of a Variable
• Declaring Pointers Variables • Creating String Objects
• Accessing a Variable through its • Manipulating String Objects
Pointer • Relational Operations
• Pointer Arithmetic • Accessing characters in String
• Pointers and Arrays • Comparing and Swapping
• Functions-Call by Value STL [Standard Template Lib]
• Functions-Call by Reference
• Pointers and Character String • Introduction
• Array of Pointers • Containers
• Pointers as Function Arguments • Iterators
• Pointer to Pointer • Algorithms
• Structure Pointer The Pre-processor
• Function Pointer
• Pointer to Array • Macro Substitution
• Array of Function Pointers • File Inclusion
• Dynamic Memory Management • Compiler Control Directives

You might also like