Welcome to the C++ Tutorial repository! This repository is designed to help beginners and intermediate programmers learn C++ step by step—from the fundamentals to advanced concepts.
- Introduction to C++
- Installing a C++ Compiler
- Input & Output
- Variables and Data Types
- Operators
- Conditional Statements
- Loops
- Functions
- Arrays
- Strings
- Pointers
- References
- Structures
- Enums
- File Handling
- Dynamic Memory Allocation
- Classes and Objects
- Constructors & Destructors
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
- Friend Functions
- Templates
- STL (Standard Template Library)
- Exception Handling
- Lambda Expressions
- Smart Pointers
cpp-tutorial/
│── Basics/
│── Intermediate/
│── OOP/
│── Advanced/
│── Practice/
└── README.md
- Basic computer knowledge
- A C++ compiler (GCC, Clang, or MSVC)
- VS Code, Code::Blocks, Dev-C++, or any C++ IDE
- Clone the repository:
git clone https://github.com/Karan114-k/cpp-tutorial.git- Navigate to the repository:
cd cpp-tutorial- Compile a program:
g++ filename.cpp -o program- Run it:
./program- Beginners learning C++
- Students preparing for exams
- Competitive programmers
- Anyone looking to strengthen their C++ fundamentals
Contributions are welcome! Feel free to open an issue or submit a pull request to improve the tutorials.
If you find this repository helpful, please consider giving it a ⭐. It motivates me to create more high-quality educational content.
This project is licensed under the MIT License.