Skip to content

This folder serves as a learning resource for understanding and practicing OOPs concepts in C++. Each program is self-contained and focuses on a specific aspect of OOPs, making it easier to grasp the concepts step by step.

Notifications You must be signed in to change notification settings

sleepyme06/Classy-Oops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classy-Oops

Object-Oriented Programming (OOPs) in C++

This folder contains various C++ programs demonstrating the concepts of Object-Oriented Programming (OOPs). Each file focuses on a specific topic or feature of OOPs, providing examples and implementations.

Folder Structure

  • Account.h: Header file for account-related classes.
  • arithmetic.cpp: Demonstrates arithmetic operations in OOPs.
  • array.cpp: Explores the use of arrays in OOPs.
  • classandobject.cpp: Introduction to classes and objects in C++.
  • const.cpp: Demonstrates the use of const keyword in OOPs.
  • constructors.cpp: Explains constructors and their types.
  • convertion.cpp: Covers type conversion in OOPs.
  • exceptionhandling.cpp: Demonstrates exception handling in C++.
  • filehandling.cpp: Explores file handling in OOPs.
  • friend.cpp: Demonstrates the use of friend functions and classes.
  • functions.cpp: Covers member functions in OOPs.
  • genericclasses.cpp: Explains generic classes (templates).
  • genericfxns.cpp: Demonstrates generic functions (templates).
  • handling.cpp: Additional examples of exception handling.
  • methods.cpp: Explores different types of methods in OOPs.
  • modifiers.cpp: Demonstrates access modifiers (public, private, protected).
  • namespaces.cpp: Explains the use of namespaces in C++.
  • operatoroverloading.cpp: Demonstrates operator overloading in OOPs.
  • pointer.cpp: Covers the use of pointers in OOPs.
  • static.cpp: Explains static members and methods.
  • structure.cpp: Demonstrates the use of structures in OOPs.
  • unaryoperator.cpp: Covers unary operator overloading.

Topics Covered

  • Classes and Objects: Basics of defining and using classes and objects.
  • Constructors and Destructors: Lifecycle of objects.
  • Inheritance: Code reuse and hierarchy.
  • Polymorphism: Function and operator overloading.
  • Encapsulation: Data hiding and abstraction.
  • Templates: Generic programming.
  • Exception Handling: Robust error handling.
  • File Handling: Reading and writing files.
  • Pointers: Memory management and dynamic allocation.

About

This folder serves as a learning resource for understanding and practicing OOPs concepts in C++. Each program is self-contained and focuses on a specific aspect of OOPs, making it easier to grasp the concepts step by step.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages