OOPs using C++
Subject Overview
OOPs using C++ moves students from procedural C into object-oriented C++ — classes and class declaration, constructors/destructors and member function definitions, inheritance and function/operator overloading, and polymorphism and file I/O. A 5-credit core theory paper.
Unit-wise Syllabus
4 units — click WhatsApp below to get the full notes for each
Unit 1: Introduction to OOP and classes
Object-oriented programming approach, characteristics of OOP languages, bridging C and C++, structures and unions in C++, class declaration — data members, member functions, private/public members, data hiding and encapsulation
Unit 2: Class functions and constructors
Member function definitions inside/outside the class, friend functions, inline functions, static members and functions, scope resolution operator, creating and accessing objects, arrays of objects, pass by value/reference, default/parameterized/copy constructors, destructors
Unit 3: Inheritance and overloading
Base and derived classes, visibility modes (private/public/protected), single and multilevel inheritance, protected member inheritance, nesting of classes, function and operator overloading (unary and binary)
Unit 4: Polymorphism and file handling
Early and late binding, virtual functions and pure virtual functions, streams/buffers/iostreams, header files, file input and output
