This repository contains course materials and notes for COMP2012: Object-Oriented Programming and Data Structures (Fall 2025-26). The materials cover the essence of OOP with C++ constructs, generic programming, and fundamental data structures.
Main Content:
- Pointer, Reference & const-ness
- Constructor & Destructor
- Inheritance & Polymorphism
- Generic Programming (Template) & Operator Overloading
- Lambda & Function Pointer
- Binary Search Tree (BST)
- Hashing
- rvalue Reference & Move Semantics
- SS1. Separate Compilation & Makefile
- SS2. Namespace
- SS3. Static Data Members & Member Functions
- SS4. Standard Template Library (STL)
This project is available for download and personal study. No installation is required—simply download or clone the repository to access the materials.
Source lecture notes and slides are located in the
refs/folder.
| # | Topic | Markdown | |
|---|---|---|---|
| 1 | Pointer, Reference, C++11 Features & const-ness | md | |
| 2 | Object Initialization, Construction & Destruction | md | |
| 3 | Inheritance | md | |
| 4 | Generic Programming & Operator Overloading | md | |
| 5 | Lambda Function & Function Pointer | md | |
| 6 | Trees, Binary Trees & Binary Search Trees | md | |
| 7 | Hashing | md | |
| 8 | rvalue Reference & Move Semantics | md |
| # | Topic | Markdown | |
|---|---|---|---|
| SS1 | Separate Compilation & Makefile | md | |
| SS2 | Namespace | md | |
| SS3 | Static Data Members & Member Functions | md | |
| SS4 | Standard Template Library (STL) | md |