Welcome to the C++ Programming repository! This repository is dedicated to providing a comprehensive collection of C++ programs, resources, and concepts ranging from beginner to advanced levels. It is perfect for students, developers, and anyone interested in mastering C++.
This repository is organized into the following sections:
- Hello World
- Input and Output
- Data Types and Variables
- Operators and Expressions
- Conditional Statements (
if
,else
,switch
) - Loops (
for
,while
,do-while
)
- Function Definitions and Calls
- Recursion
- Inline Functions
- Function Overloading
- Classes and Objects
- Constructors and Destructors
- Inheritance
- Polymorphism
- Encapsulation
- Abstraction
- Templates
- Exception Handling
- File Handling
- Standard Template Library (STL)
- Vectors
- Maps
- Sets
- Algorithms
- Arrays and Strings
- Linked Lists
- Stacks and Queues
- Trees and Graphs
- Sorting and Searching Algorithms
- Mini and Major C++ Projects
- Compiler Project (Support for C and C++)
To get started, ensure you have the following:
- A C++ compiler installed (e.g., GCC, Clang, MSVC)
- A code editor or IDE (e.g., Visual Studio Code, CLion, Visual Studio)
- Clone this repository to your local machine:
git clone https://github.com/harshkumar-2005/cpp_language.git
- Navigate to the desired directory:
cd cpp_language
- Compile and run a program:
g++ filename.cpp -o output ./output
- C++ Official Documentation
- GeeksforGeeks C++ Tutorials
- Learn C++ (W3Schools)
- C++ Standard Template Library (STL)
We welcome contributions! If you have a C++ program or a useful resource to share, follow these steps:
- Fork this repository.
- Create a new branch:
git checkout -b feature-branch
- Make your changes and commit:
git commit -m "Add new feature"
- Push to your forked repository:
git push origin feature-branch
- Open a Pull Request.
- Covers all fundamental and advanced topics in C++.
- Examples with detailed comments and explanations.
- Regular updates with new programs and resources.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the open-source community for inspiring this repository.
- Special thanks to contributors for their efforts.
- Harsh Thakur - GitHub Profile
Happy Coding! 🚀