C++ Programming – Syllabus

C++ Programming – Syllabus

Chapter 1: Introduction to C++
What is C++, History of C++, Features of C++, C vs C++, Structure of a C++ Program, Writing & Compiling First Program, Input Output using cin cout
Chapter 2: Basic Concepts & Syntax
Tokens, Keywords, Identifiers, Variables, Constants, Data Types, Type Casting, Operators, Operator Precedence
Chapter 3: Control Flow in C++
if else, switch case, for loop, while loop, do while loop, break continue goto
Chapter 4: Functions in C++
Function Definition & Declaration, Function Overloading, Inline Functions, Default Arguments, Call by Value Call by Reference
Chapter 5: Object-Oriented Programming Basics
Classes and Objects, Access Specifiers, Constructors, Destructors, this Pointer, static Members
Chapter 6: Inheritance
Types of Inheritance, Single Multiple Multilevel Hierarchical Hybrid, Constructors in Inheritance, Function Overriding, virtual Keyword, Base & Derived Classes
Chapter 7: Polymorphism
Compile Time Polymorphism, Runtime Polymorphism, Virtual Functions, Pure Virtual Functions, Abstract Classes
Chapter 8: Encapsulation & Abstraction
Data Hiding, Getters Setters, Abstract Data Types, Access Modifiers, Class Design Principles
Chapter 9: Pointers & Memory Management
Pointers, Pointer Arithmetic, new delete Operators, Dynamic Memory Allocation, Dangling & Null Pointers
Chapter 10: Arrays & Strings
1D Arrays, 2D Arrays, Array of Objects, C-style Strings, String Handling, std::string Class
Chapter 11: Operator Overloading
Unary Operator Overloading, Binary Operator Overloading, Friend Functions, Rules of Overloading
Chapter 12: Templates in C++
Function Templates, Class Templates, Template Parameters, Generic Programming
Chapter 13: Exception Handling
try catch throw, Handling Multiple Exceptions, Standard Exceptions, Custom Exceptions
Chapter 14: File Handling in C++
Reading Writing Files, ifstream ofstream fstream, File Modes, Working with Binary & Text Files
Chapter 15: Standard Template Library (STL)
Introduction to STL, Vectors, Lists, Deque, Stack, Queue, Priority Queue, Set, Map, Iterators, Algorithms
Chapter 16: Namespaces & Preprocessor
Namespace Usage, std Namespace, Macros, #define, #include, Conditional Compilation
Chapter 17: Advanced OOP Concepts
Virtual Destructors, Virtual Tables (vtable), Multiple Inheritance Issues, Object Slicing, Smart Pointers Basics
Chapter 18: Memory Layout & Optimization
Stack vs Heap, Memory Segments, sizeof Operator, Inline Expansion, Compilation Model
Chapter 19: C++11/14/17 Modern Features
auto Keyword, Range-based for loop, nullptr, Lambda Expressions, move Semantics, Smart Pointers, constexpr
Chapter 20: Projects & Practice
Mini Projects, Student Management System, Banking System, Library Project, File-based Applications, Final OOP Project