Skip to content

Complete collection of Programming 2 lab exercises in C++, covering classes, inheritance, polymorphism, and full example projects.

Notifications You must be signed in to change notification settings

ocraaaam/Programming-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 Programming 2 — Lab Exercises in C++

This repository includes all lab materials and exercises from the Programming 2 course, developed in C++.

📂 Contents

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

🧩 Main Topics

  • 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

🧰 Requirements

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

🎯 Purpose

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

About

Complete collection of Programming 2 lab exercises in C++, covering classes, inheritance, polymorphism, and full example projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages