SYLLABUS
INTRODUCTION
- How C++ differs from C
- History
- Features of C++
- Installation steps
- First C++ Program
- Basics of Console Input and Output
- cout, cin, endl in C++
LANGUAGE FEATURES
- Variables Declaration
- Data types in C++
- Keywords
- Operators in C++
- Identifiers & its conventions
- Expression in C++
- Optional Parameters
- Reference Variables
- Constant Pointers
- Dynamic Memory Allocation
CONTROL STATEMENT
- if-else statement
- switch statement
- For Loop
- While Loop
- Do-While Loop
- Break Statement
- Continue Statement
- Goto Statement
- Comments
C++ FUNCTIONS
- Introduction of Functions
- Call by value & reference
- Recursion
- C++ Storage Classes
C++ ARRAYS
- Arrays
- Array to Function
- Multidimensional Arrays
C++ POINTERS
- Pointers
- sizeof() operator in C++
- Array of Pointers
- Void Pointer
- References
- Reference vs Pointer
- Function Pointer in C++
- C++ Memory Management
- malloc() vs new in C++
- free vs delete in C++
OOPS CONCEPTS
- Overview of OOPs Principles
- Introduction to classes & objects
- Data Members
- Member Functions
- Objects
- this Pointer
- Constructor & Destructor
- Static class member
- Friend class and functions
- struct
- Namespace
INHERITANCE & AGGREGATION
- Introduction and benefits.
- Access Specifier.
- Base and Derived class Constructors
- Types of Inheritance.
- Downcasting and upcasting.
- Aggregation
POLYMORPHISM
- What is Polymorphism
- Function Overloading
- Operator overloading
- Function overriding.
- Virtual functions.
- Destructor overriding
- Pure virtual functions
- Virtual Base Class
I/O STREAMS
- C++ Class Hierarchy
- File Stream
- Text File Handling
- Binary File Handling
- Error handling during file operations
- Overloading << and >> operators
EXCEPTION HANDLING
- Introduction to Exception.
- Benefits of Exception handling.
- Try and catch block.
- Throw statement.
- Pre-defined exceptions in C++.
- Writing custom Exception class.
- Stack Unwinding.
C++ FILES AND STREAMS
- ofstream, ifstream, stream
- Opening a File
- Modes
- Closing a File
- Writing to a File
- Reading from a File
- Demonstration on reading and writing from/in file
- File Position Pointers
TEMPLATES
- Introduction
- Function Templates
- Class Templates
- Product Abstract Document
- Requirement Specification Document
- Step-by-Step procedure for building the project from ground up
- Complete Source Code
- Database Script with Sample data