An open API service indexing awesome lists of open source software.

https://github.com/schak04/cpp-learning-journey

My hands-on journey through C++, from the basics to OOP and STL. An ongoing and growing collection of what I learn.
https://github.com/schak04/cpp-learning-journey

c-plus-plus c-plus-plus-coding c-plus-plus-language c-plus-plus-programming coding cpp cpp-coding cpp-programming learning programming

Last synced: 5 days ago
JSON representation

My hands-on journey through C++, from the basics to OOP and STL. An ongoing and growing collection of what I learn.

Awesome Lists containing this project

README

        

# C++ Programming - Learning Journey

Welcome to my **C++ Programming** repository! This repo contains the code I wrote while learning C++ for the first time. It serves as a personal reference and may help others who are just starting out as well.

## 📚 Topics Covered

- **Basic Syntax**: Variables, Data Types, Operators, and Control Flow (if, for, while)
- **Functions**: Declaration, Definition, and Recursion
- **Pointers & References**: Memory addresses and pointer arithmetic
- **Object-Oriented Programming (OOP)**: Classes, Objects, Inheritance, Polymorphism, Encapsulation
- **File Input/Output (I/O)**: Reading from and writing to files using fstream
- **Standard Template Library (STL)**: Vectors, Maps, Sets, Pairs, and Algorithms
- **Basic Algorithms**: Searching, Sorting, etc.

## 🧑‍💻 Usage

To run any of the C++ programs in this repo:

1. **Clone the repo**:

```bash
git clone https://github.com/schak04/cpp-learning-journey.git
```

2. **Navigate into the project folder**:

```bash
cd cpp-learning-journey
```

3. **Compile and run a program** (example for `hello.cpp`):

```bash
g++ hello.cpp -o hello
./hello
```

## 📝 Files

Each `.cpp` file is named based on the concept it demonstrates.

## 🔄 Ongoing Progress
This repository is a work in progress. I will continue to add more code and examples as I explore new C++ concepts, projects, and challenges. Stay tuned for more updates!