Welcome to the BUE Object-Oriented Programming Labs repository! This collection provides practical C++ programming solutions, focusing on object-oriented principles and advanced programming concepts. Whether you're a student, educator, or programming enthusiast, this repository is designed to help you master C++ and OOP fundamentals through hands-on examples and well-structured code.
- 📚 Comprehensive Solutions: Complete solutions for lab exercises across multiple topics.
- 🔄 Real-World OOP Concepts: Practical implementations of inheritance, polymorphism, and encapsulation.
- 🛠️ Advanced C++ Features: Examples showcasing templates, operator overloading, and more.
- 📝 Clear Documentation: Well-commented code with detailed explanations for each lab.
- 🎯 Progressive Learning: Labs are organized by difficulty, making it easy to build your skills step-by-step.
- A modern C++ compiler (e.g., GCC, Clang, or MSVC).
- An IDE or text editor of your choice (e.g., VS Code, CLion, or Code::Blocks).
-
Clone the repository:
git clone https://github.com/abdullahkhfb/BUE-Object-Oriented-Programming-Labs.git
-
Navigate to the project directory:
cd "Code Solutions"
To compile and run a specific program, navigate to the corresponding directory and use the following commands:
To compile and run
main.cpp
in Lab 6
:
g++ -o main "Lab\ 6/main.cpp" "Lab\ 6/Animal.cpp" "Lab\ 6/Zoologist.cpp"
./main
The repository is organized into labs, each focusing on specific OOP concepts:
- Lab 1-5: Fundamentals and basic OOP concepts (classes, objects, constructors, etc.).
- Lab 6-7: Inheritance and polymorphism.
- Lab 8-9: Advanced OOP features (templates, exception handling, etc.).
- Theory Solutions: Supplementary documentation and explanations.
- Images & PDFs: Additional resources for reference.
We welcome contributions from the community! Here’s how you can help:
- Fork the repository.
- Create a new branch for your feature or fix:
git checkout -b feature/AmazingFeature
- Commit your changes:
git commit -m 'Add AmazingFeature'
- Push your branch:
git push origin feature/AmazingFeature
- Open a Pull Request and describe your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
Your contributions can make a difference! Whether you're fixing bugs, adding new features, or improving documentation, your efforts will help students and developers learn and master Object-Oriented Programming. Let’s grow this resource together!