Skip to content

liambrooks-lab/OOPs-Cpp

Repository files navigation

🎓 OOPs with C++

Welcome to my Object-Oriented Programming (OOP) repository! This workspace contains a comprehensive collection of C++ programs, demonstrating everything from fundamental logic to advanced object-oriented paradigms.

📂 Core Concepts Covered

  • Classes & Objects – Understanding the blueprint and the instance.
  • Encapsulation – Data hiding and using access specifiers.
  • Abstraction – Using header files and abstract classes.
  • Inheritance – Code reusability (Single, Multiple, Multilevel, etc.).
  • Polymorphism – Compile-time (Overloading) and Runtime (Overriding).
  • Constructors & Destructors – Managing object lifecycles and memory.
  • File Handling – Reading and writing data to external files.

🗂️ Repository Structure

├── function calls/
│   ├── Call by Pointer.cpp
│   ├── Call by Reference.cpp
│   └── Call by value.cpp
├── functions/
│   ├── Data or member Functions.cpp
│   ├── Functions.cpp
│   └── Inline Function.cpp
├── object oriented paragidm/
│   ├── Multilevel Inheritance.cpp
│   ├── Multiple Inheritance.cpp
│   └── Single Inheritance.cpp
├── operations and conditions/
│   ├── Array addition.cpp
│   ├── Array multiplication.cpp
│   ├── Even or odd no.cpp
│   ├── Factorial of a Number.cpp
│   ├── LoginValidation.cpp
│   ├── Reversing a Number.cpp
│   ├── Sum of 1st N Numbers.cpp
│   └── Switch Statement.cpp
|   |__ RuntimePolymorphism.cpp
├── ExceptionHandling.cpp
├── FileHandling.cpp
├── NestedLoop.cpp
├── NumSwapUsingPointers.cpp
|-- TemplateGenerics.cpp
├── LICENSE
└── README.md

Tech Stack & Environment

  • Language: C++ (C++11 and beyond)
  • Compiler: GCC / G++ (MinGW)
  • IDE / Editor: VS Code / Git Bash
  • OS: Windows / Linux

How to Compile & Run

To run any of these programs locally, open your terminal and use the g++ compiler:

# Compile the file
g++ filename.cpp -o output_name

# Run the executable (Linux/Mac)
./output_name

# Run the executable (Windows)
output_name.exe

🧠 Future Scope

  • Implementing advanced Data Structures (Linked Lists, Trees, Graphs) using OOP.
  • Multithreading and Concurrency in C++.
  • Socket programming for networking tools (Cybersecurity focus).

✍️ Author

Rudranarayan Jena
Founder @ Voxion Labs
GitHub Profile

About

A comprehensive collection of Object-Oriented Programming (OOP) concepts implemented in C++. Covering everything from Classes and Objects to Inheritance, Polymorphism, and File Handling.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages