Object Oriented Programming using C++
Subject Overview
This paper builds object-oriented programming skills in C++ — program fundamentals and control structures, arrays/strings/structures, classes and constructors, and inheritance, operator overloading and file handling. A 4-credit core theory paper.
Unit-wise Syllabus
4 units — click WhatsApp below to get the full notes for each
Unit 1: C++ fundamentals
OOP introduction and basic features, C++ program structure, compiling and executing programs, procedural vs object-oriented languages, I/O and assignment statements, constants, variables, operators, data types, control structures (if-else, nested if, while, do-while, for, jump statements)
Unit 2: Arrays, strings and data structures
Array declaration, single and multi-dimensional arrays, memory representation, matrices, strings and string handling functions, structures and unions
Unit 3: Classes, objects and constructors
Class and function definitions, scope resolution operator, private/protected/public members, nesting of member functions, object creation and access, parameterized and copy constructors, multiple constructors, dynamic initialization, destructors
Unit 4: Inheritance, overloading and file handling
Constructors/destructors under inheritance, single/multiple/multilevel/hierarchical/hybrid inheritance, function/unary/binary operator overloading, binding, friend and virtual functions, file opening/closing, file modes and methods
