Skip to content

This repository contains clear, topic-wise C++ programs and notes covering core Object Oriented Programming concepts. Each file focuses on a single concept with simple examples, making it suitable for college students, exam preparation, and revision.

Notifications You must be signed in to change notification settings

Tanim-10/oop-cpp-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Object Oriented Programming (OOP) in C++ β€” Notes & Examples

This repository contains topic-wise C++ programs and notes that demonstrate the core concepts of Object Oriented Programming (OOP) using simple, readable, and exam-oriented examples.

The code is written with the intention of helping college students understand how OOP concepts actually work in C++, not just their definitions.


πŸ“Œ Objectives of This Repository

  • Learn OOP concepts through working C++ programs
  • Understand access specifiers, inheritance behavior, static members, and dynamic memory
  • Prepare for semester exams, viva, and interviews
  • Maintain a clean reference for quick revision

πŸ“š Topics Covered

  • OOP basics (classes, objects, member functions)
  • Abstraction and encapsulation
  • Inheritance (single, multilevel, multiple)
  • Access specifiers (public, protected, private)
  • Polymorphism
  • Static data members and static member functions
  • Dynamic memory allocation
  • Copy constructor and destructor
  • Operator overloading (theory notes)
  • Friend functions, inline functions, and macros

πŸš€ How to Run the Programs

Use any standard C++ compiler:

g++ filename.cpp
./a.out

Example:

g++ Inheritance.cpp
./a.out

πŸ‘₯ Intended Audience

  • B.Tech / BE / BCA / MCA students
  • Beginners learning OOP in C++
  • Students preparing for exams, viva, and placements
  • Anyone revising core OOP concepts

πŸ“ Notes

  • Each file focuses on one concept at a time
  • Code is written for clarity, not optimization
  • Comments explain why something works or fails

✍️ Author

Maintained as a personal learning and revision repository for Object Oriented Programming in C++.


πŸ“„ License

Feel free to use this repository for educational purposes.


🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.


⭐ If you find this repository helpful, please consider giving it a star!

About

This repository contains clear, topic-wise C++ programs and notes covering core Object Oriented Programming concepts. Each file focuses on a single concept with simple examples, making it suitable for college students, exam preparation, and revision.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages