Welcome to the PDEU OOP with C++ Programs! This repository serves as a comprehensive collection of Object-Oriented Programming laboratory exercises & class-work completed during my academic journey at Pandit Deendayal Energy University.
- Name: Yashvardhan Jani
- Branch: Computer Science & Engineering (CSE)
- Instructors (Professors): Dr. Pooja Shah
- College: Pandit Deendayal Energy University, Gandhinagar, Gujarat, India
| Experiments | Description | Topics Covered | Link |
|---|---|---|---|
| Exp-1 | Introduction to C++ & I/O | Variables, Data Types, Operators, cout, cin, Input/Output Streams | 🔗View |
| Exp-2 | Functions & Control Structures | Function Declaration, Function Overloading, Inline Functions, Default Arguments, Loops | 🔗View |
| Exp-3 | Introduction to OOP & Encapsulation | Class Definition, Data Members, Member Functions, Object Creation, Access Specifiers | 🔗View |
| Exp-4 | Constructors & Destructors | Default Constructor, Parameterized Constructor, Copy Constructor, Destructor, Initialization | 🔗View |
| Exp-5 | Operator Overloading | Unary Operators, Binary Operators, Friend Functions, I/O Operator Overloading | 🔗View |
| Exp-6 | Inheritance | Single Inheritance, Multiple Inheritance, Multilevel Inheritance, Diamond Problem Resolution | 🔗View |
| Exp-7 | Polymorphism & Virtual Functions | Virtual Functions, Function Overriding, Runtime Polymorphism, Late Binding, Pure Virtual Functions | 🔗View |
| Exp-8 | Friend Functions & Static Members | Friend Functions, Static Data Members, Static Member Functions, Scope Resolution Operator | 🔗View |
| Exp-9 | File Handling | File Streams, Text Files, Binary Files, Random Access, File Pointers, seekg, seekp | 🔗View |
| Exp-10 | Exception Handling & Templates | Try-Catch Blocks, Custom Exceptions, Function Templates, Class Templates, Template Specialization | 🔗View |
| Exp-11 | STL Containers | Vector, List, Map, Set, Iterators, STL Algorithms, Container Operations | 🔗View |
| Exp-12 | Unit Testing & Test-Driven Development (TDD) | Test Cases, Assertions, Debugging Techniques, Error Handling, Code Validation | 🔗View |
| Assignments | Assignment-01 | Assignment-02 | Assignment-03 | Assignment-04 |
| Practice-Set | Set 01 | Set 02 | Set 03 | Set 04 |
| Class-Work & IAs | 🔗View | – | Lab-Tests | 🔗View |
| Practical Exam - 2025 | Set 01 | Set 02 | Set 03 | Set 04 |
- Clone the repository
git clone https://github.com/YashvardhanJani/PDEU-CPP-OOP-Programs.git cd PDEU-CPP-OOP-Programs
# Basic compilation
g++ filename.cpp -o output
# With C++11 standard
g++ -std=c++11 filename.cpp -o output
# With warnings enabled
g++ -Wall filename.cpp -o output
# With optimization
g++ -O2 filename.cpp -o output- Object-Oriented Programming with C++ - E. Balagurusamy
- The C++ Programming Language - Bjarne Stroustrup
- C++ Primer - Stanley B. Lippman
- Effective C++ - Scott Meyers
Contributions are welcome! If you have improvements, bug fixes or additional features:
-
Fork the repository
git clone https://github.com/YashvardhanJani/PDEU-CPP-OOP-Programs.git
-
Create your feature branch
git checkout -b feature/YourFeatureName
-
Commit your changes
git commit -m 'Add YourFeatureName with description' -
Push to the branch
git push origin feature/YourFeatureName
-
Open a Pull Request
- Describe your changes
- Link any related issues
- Request review from project maintainers
- Use meaningful variable and function names
- Add comments explaining complex logic
- Follow consistent indentation (4 spaces)
- Include program header with description
- Test code on multiple compilers if possible
⭐ Star this repository if you found it helpful! ⭐
💡 "Code is the raw material and object-oriented programming is the architect that transforms simple logic into robust and scalable software structures."
- LinkedIn: Connect with me
- Email: [email protected]
- GitHub: @YashvardhanJani
This project is licensed under the MIT License - see the LICENSE file for details.