Welcome to my C++ Concepts repository! This repository is a collection of various C++ programming concepts that I have learned and implemented. It serves as a personal project to demonstrate my understanding of C++ and to share useful code snippets for beginners and advanced learners alike.
Nikhil Tiwari
This repository contains a variety of examples that explore and implement core C++ concepts. The aim is to build a knowledge base that can help anyone—from beginner programmers to advanced developers—learn key aspects of the C++ language.
- Basic Syntax and Data Types
- Control Flow (loops, conditions)
- Functions and Recursion
- Object-Oriented Programming (Classes, Inheritance, Polymorphism)
- Data Structures (Arrays, Linked Lists, Stacks, Queues, Trees)
- Algorithms (Sorting, Searching)
- Memory Management (Pointers, Dynamic Memory)
- Exception Handling
- C++ Standard Library (STL)
This repository is organized into sections based on different C++ concepts:
- Learn about variables, constants, and different data types in C++.
- Includes
if-else
, loops (for
,while
,do-while
), andswitch
statements.
- Function definitions, calling functions, overloading functions, and recursion.
- Key OOP concepts such as classes, objects, inheritance, polymorphism, and encapsulation.
- Implementations of common data structures like arrays, linked lists, stacks, queues, and binary trees.
- Learn sorting algorithms like Bubble Sort, Merge Sort, Quick Sort, and searching algorithms like Binary Search.
- Working with pointers, dynamic memory allocation using
new
anddelete
.
- Using
try
,catch
, andthrow
to handle exceptions in C++.
- Explore common STL containers like
vector
,list
,map
,set
, and iterators.
The repository is organized into subfolders based on each C++ concept: