Welcome to the OOPs-Lab repository for the B.Tech (AI & DS - Section B) 3rd Semester (Academic Session 2025-26).
This repository is a comprehensive collection of all Object-Oriented Programming (OOP) laboratory programs, written in C++. It is designed to simplify and practically demonstrate core OOP concepts through hands-on, well-documented examples.
Each lab includes a clear objective, the complete source code, and sample outputs for reference and verification.
- Complete Solutions: Contains all required lab programs for the academic session.
- Well-Documented: Each program includes comments and a clear objective.
- Ready to Run: All code is tested and includes sample outputs.
- Organized: Structured by lab date for easy navigation.
To compile and run these programs, you will need a C++ compiler installed on your system.
- GCC (g++)
- MinGW
- Or any C++ IDE like Visual Studio Code, Code::Blocks, or Dev-C++.
This table provides a quick overview of all the topics covered.
| Lab No. | Topic Covered |
|---|---|
| 01 | Basics of C++, Library, Variables, and I/O |
| 02 | Demonstrating the concept of Structures |
| 03 | Class, Objects, and Function Overloading |
| 04 | Dynamic Memory Allocation (new/delete) & Array of Objects |
| 05 | Constructors (Default, Parameterized, Copy) & Destructors |
| 06 | Friend Functions and the this Pointer |
| 07 | Constant Members, Static Data Members & Functions |
| 08 | Inheritance (All Types), Function Overriding & Virtual Functions |
| 09 | Operator Overloading (Unary & Binary) |
| 10 | Generic Programming with Function & Class Templates |
| 11 | Exception Handling (try, catch, throw) |
| 12 | File Handling (I/O Operations) |
Prashant Jain
Student, B.Tech AI & DS (Semester III)
Arya College of Engineering and IT
Academic Year: 2025β26
Mr. Manish Dwivedi
Faculty β Department of Computer Science & Engineering
Arya College of Engineering and IT
Contributions, issues, and feature requests are welcome! If you find a bug or have an optimization, feel free to open an issue or submit a pull request.
This repository is provided for educational and reference purposes only. All code was written and published by Prashant Jain.
Happy Coding! π