Module 7: C++ Programming
Duration: 72 hours (36 theory + 36 lab)
Objective: Learn object-oriented programming using C++
Text Book: C++ Primer Plus by Stephen Prata / Pearson
π Quick Access to Notes
Session 1: Getting Started
Sessions 2-3: C++ Basics
Session 4: Control Structures
Session 5: Functions
Sessions 6-7: Pointers & Memory
Session 8: OOP Concepts
Session 9: Constructors & Destructors
Session 10: Inheritance
Session 11: Polymorphism
Session 12: Virtual Functions
Session 13: Exception Handling
Session 14: Console I/O
Session 15: File Handling
Session 16: Templates
Sessions 17-18: STL & RTTI
π― Practice Tests
π Quick Reference
Key Concepts Summary
| Topic | Key Points |
|---|---|
| OOP Pillars | Encapsulation, Abstraction, Inheritance, Polymorphism |
| Access | private (class only), protected (+ derived), public (all) |
| Constructors | Default, Parameterized, Copy; same name as class |
| Inheritance | Single, Multiple, Multilevel, Hierarchical, Hybrid |
| Polymorphism | Compile-time (overloading), Runtime (virtual) |
| Memory | new/delete (calls constructor), malloc/free (doesnβt) |
| STL | vector, stack, queue, map, set |
π References
- Thinking in C++ by Bruce Eckel
- The C++ Programming Language by Bjarne Stroustrup
Tip: Each session note includes lab exercises and βKey Points for CCEEβ sections at the bottom to help you prepare for the exam!