A central repository containing practice tasks, specifications, and exercises for CC-211: Object Oriented Programming (BS Software Engineering, DSE, FCIT, University of the Punjab).
- Classes & ADTs: Encapsulation, access specifiers (
private/public), setters, getters, and input validation. - Object Lifecycle: Constructors, destructors, copy constructors, and dynamic memory allocation.
- OOP Principles: Composition, aggregation, operator overloading,
friendfunctions, and static members. - Advanced OOP: Inheritance, polymorphism, virtual functions, class templates, exception handling, and File I/O.
- IDE: Microsoft Visual Studio (C++ Desktop Development workload)
- Language Standard: C++11 or later
- Open Visual Studio.
- Create a new C++ Console App project or open an existing solution (
.sln). - Add the task
.cppand.hfiles to your project. - Press
Ctrl + F5to run without debugging.