C++ Syllabus

C++ Syllabus

1. Introduction to C++

  • History and Features of C++

  • Basic Structure of a C++ Program

  • Compiling and Running a C++ Program

  • Input and Output in C++ (cin, cout, endl)

2. Basics of C++

  • Data Types and Variables

  • Operators (Arithmetic, Logical, Relational, Bitwise)

  • Constants and Literals

  • Type Conversion and Type Casting

  • Control Statements (if-else, switch-case)

  • Loops (for, while, do-while)

3. Functions and Arrays

  • Function Declaration and Definition

  • Function Overloading

  • Recursion

  • Arrays (1D, 2D, Multidimensional)

  • Strings and String Functions

4. Pointers and Dynamic Memory Allocation

  • Pointer Basics

  • Pointer Arithmetic

  • Pointers and Arrays

  • Dynamic Memory Allocation (new, delete)

5. Object-Oriented Programming (OOP) in C++

  • Classes and Objects

  • Access Specifiers (public, private, protected)

  • Constructors and Destructors

  • Friend Functions and Friend Classes

  • Static Members and Functions

6. Inheritance and Polymorphism

  • Types of Inheritance (Single, Multiple, Multilevel, Hierarchical, Hybrid)

  • Virtual Functions and Runtime Polymorphism

  • Function Overriding

  • Abstract Classes and Pure Virtual Functions

7. File Handling in C++

  • File Streams (ifstream, ofstream, fstream)

  • Reading/Writing Files

  • File Modes and Error Handling

8. Templates and Exception Handling

  • Function Templates

  • Class Templates

  • Exception Handling (try, catch, throw)

9. Standard Template Library (STL)

  • Introduction to STL

  • Containers (Vectors, Lists, Deques, Stacks, Queues, Maps, Sets)

  • Iterators

  • Algorithms (Sorting, Searching, etc.)

10. Advanced Topics

  • Multithreading (Basics)

  • Lambda Functions

  • Smart Pointers (unique_ptr, shared_ptr, weak_ptr)

  • Move Semantics and R-value References

Scroll to Top