This repository includes all lab materials and exercises from the Programming 2 course, developed in C++.
You will find:
- Solved and commented lab exercises
- Example code illustrating key object-oriented programming concepts
- Complete projects featuring inheritance, polymorphism, and dynamic memory management
- Notes and short summaries for studying and revision
- Classes and objects
- Constructors, destructors, and overloading
- Inheritance and polymorphism
- Abstract classes and virtual methods
- Operator overloading
- Dynamic arrays and pointers to objects
- Data structures (lists, stacks, queues)
- File input/output
To compile and run the programs:
- A C++ compiler (e.g.,
g++) - A development environment such as:
- Visual Studio Code
- CLion
- Code::Blocks
- Or simply the terminal with:
g++ file.cpp -o file && ./file
This repository is meant to serve as a comprehensive study resource, ideal for:
- Reviewing and understanding object-oriented programming concepts
- Preparing for lab tests and the Programming 2 exam
- Keeping a clear, well-organized archive of working examples and commented code
📚 Author: Marco Scalisi
🎓 B.Sc. in Computer Science — University of Catania