๐ฅ๏ธ C++ basic programs' Repository
Welcome to the C++ repository! This repository contains a collection of C++ programs designed to help you understand fundamental and advanced programming concepts. These programs cover topics such as object-oriented programming (OOP), inheritance, function overloading, constructors, and more.
๐ List of Programs
Hereโs the complete list of programs included in this repository:
๐๏ธ Object-Oriented Programming (OOP)
- Classes and Objects
- class
- class type 2
- private class
- Constructors & Functions
- constructor
- inline function`
- friend function defining in a different class`
- Function Overloading
- function overloading`
- function overloading with inheritance`
๐ Inheritance
- Types of Inheritance
- hierarchical inheritance`
- hybrid inheritance`
- multilevel inheritance`
- multiple inheritance`
- single level inheritance`
๐ ๏ธ Miscellaneous Programs
- greatest of two`
- sum.cpp`
- random`
- question`
- question from Hacker Rank`
- xyz`
๐ Getting Started
- Clone this repository:
https://github.com/shoryaagrawal553/Cpp-basic.git
- Navigate to the directory:
cd Cpp-basic
- Compile and run the programs:
Use a C compiler like GCC to compile and execute the programs. Example:
gcc program-name.cpp -o program-name
./program-name
๐ Features
-A collection of beginner-friendly and advanced C++ programs.
-Covers essential OOP concepts, including classes, inheritance, and function overloading.
-Well-commented code for easy understanding and learning.
๐ค Contributing
Contributions are welcome! If you'd like to add more programs or improve existing ones, feel free to submit a pull request.
๐ License
This project is licensed under the MIT License.
๐ง Contact
For questions or suggestions, reach out to:
Happy Coding! ๐