Course Syllabus
Module 1: Introduction to C++
- History and Features of C++
- Difference between C and C++
- Structure of a C++ Program
- Compiling and Running a C++ Program
- Basic Syntax, Identifiers, Keywords
Module 2: Data Types, Variables & Operators
- Data Types and Constants
- Variables and Scope
- Operators:
- Arithmetic
- Relational
- Logical
- Assignment
- Increment/Decrement
- Bitwise
- Conditional
- Input/Output (cin, cout)
Module 3: Control Statements
Decision Making:
- `if`, `else`, `else-if`, `switch`
Looping:
- `for`, `while`, `do-while`
Jump Statements:
- `break`, `continue`, `goto`
Module 4: Functions in C++
- Function Declaration & Definition
- Inline Functions
- Function Overloading
- Default Arguments
- Call by Value & Call by Reference
- Recursion
Module 5: Object-Oriented Programming Concepts (OOPs)
- Introduction to OOP
- Classes & Objects
- Access Specifiers (public, private, protected)
- Constructors and Destructors
- Static Members & Functions
- Friend Function
Module 6: Inheritance
Types of Inheritance:
- Single
- Multiple
- Multilevel
- Hierarchical
- Hybrid
- Constructor/Destructor behavior in Inheritance
- Function Overriding
Module 7: Polymorphism
- Compile-time Polymorphism:
- Function Overloading
- Operator Overloading
- Runtime Polymorphism:
- Virtual Functions
- Pure Virtual Functions
- Abstract Classes
Module 8: Arrays, Strings & Pointers
- One-dimensional and Multi-dimensional Arrays
- Array of Objects
- String Handling (C-style & C++ strings)
- Pointer Basics
- Pointers and Arrays
- Pointer to Object
- `this` Pointer
Module 9: Constructors & Destructors
- Types of Constructors
- Default
- Parameterized
- Copy Constructor
- Destructor and its use
Module 10: File Handling in C++
- File Streams (ifstream, ofstream, fstream)
- Reading & Writing Text Files
- Working with Binary Files
- File Modes and Operations
Module 11: Templates & Exception Handling
- Function Templates
- Class Templates
- Introduction to STL
- Try, Catch, Throw
- User-defined Exceptions
Module 12: Project / Practical Work
- Programs using loops and functions
- OOP-based mini project
- File handling-based project
- Example projects:
- Student Management System
- Billing System
- Library Management System