Course Chapters

Course Chapters

Select a chapter to view short notes and quick revision points

Introduction to C++

Introduction to C++ programming language including history, features, comparison with C, program structure, compilation process, and basic input-output using cin and cout.

View Short Notes
Basic Concepts & Syntax

Core C++ syntax including tokens, keywords, identifiers, variables, constants, data types, type casting, operators, and operator precedence.

View Short Notes
Control Flow in C++

Decision making and looping constructs including if-else, switch-case, for, while, do-while loops, and jump statements.

View Short Notes
Functions in C++

Function declaration and definition, function overloading, inline functions, default arguments, call by value, and call by reference.

View Short Notes
Object-Oriented Programming Basics

Introduction to OOP concepts including classes, objects, access specifiers, constructors, destructors, this pointer, and static members.

View Short Notes
Inheritance

Inheritance concepts including single, multiple, multilevel, hierarchical and hybrid inheritance, constructors in inheritance, function overriding, virtual keyword, and base-derived relationship.

View Short Notes
Polymorphism

Compile-time and runtime polymorphism, virtual functions, pure virtual functions, and abstract classes.

View Short Notes
Encapsulation & Abstraction

Data hiding, getters and setters, abstract data types, access modifiers, and object-oriented class design principles.

View Short Notes
Pointers & Memory Management

Pointers, pointer arithmetic, dynamic memory allocation using new and delete, null and dangling pointers.

View Short Notes
Arrays & Strings

One-dimensional and two-dimensional arrays, array of objects, C-style strings, string handling, and std::string class.

View Short Notes
Operator Overloading

Unary and binary operator overloading, friend functions, and rules and limitations of operator overloading.

View Short Notes
Templates in C++

Function templates, class templates, template parameters, and concepts of generic programming.

View Short Notes
Exception Handling

Exception handling using try, catch, throw, handling multiple exceptions, standard exceptions, and custom exception classes.

View Short Notes
File Handling in C++

File handling concepts including ifstream, ofstream, fstream, file modes, and working with text and binary files.

View Short Notes
Standard Template Library (STL)

STL components including containers, iterators, algorithms, vectors, lists, deque, stack, queue, set, map, and priority queue.

View Short Notes
Namespaces & Preprocessor

Namespaces usage including std namespace, macros, preprocessor directives, header inclusion, and conditional compilation.

View Short Notes
Advanced OOP Concepts

Advanced OOP topics including virtual destructors, vtable, multiple inheritance issues, object slicing, and smart pointer basics.

View Short Notes
Memory Layout & Optimization

Program memory layout, stack vs heap, memory segments, sizeof operator, inline expansion, and compilation model.

View Short Notes
C++11/14/17 Modern Features

Modern C++ features including auto keyword, range-based loops, nullptr, lambda expressions, move semantics, smart pointers, and constexpr.

View Short Notes
Projects & Practice

Hands-on C++ projects including student management system, banking system, library system, file-based applications, and final OOP project.

View Short Notes