Forem

C++

Official tag for the C++ programming language.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
The Definitive Guide to OpenGL VBOs, VAOs, and EBOs

The Definitive Guide to OpenGL VBOs, VAOs, and EBOs

2
Comments 1
11 min read
The State Design pattern in C++ using timer and notification

The State Design pattern in C++ using timer and notification

Comments
6 min read
Cycle Detection for Directed Graphs(DFS with recursion stack) C++: Story

Cycle Detection for Directed Graphs(DFS with recursion stack) C++: Story

Comments
3 min read
Cycle Detection using Union-Find C++: Story

Cycle Detection using Union-Find C++: Story

Comments
3 min read
Cycle Detection for Undirected Graphs(DFS with parent tracking) C++: Story

Cycle Detection for Undirected Graphs(DFS with parent tracking) C++: Story

Comments
3 min read
DFS Graph Traversal using Recursion C++: Story

DFS Graph Traversal using Recursion C++: Story

Comments
3 min read
BFS Graph Traversal C++: Story

BFS Graph Traversal C++: Story

Comments
3 min read
DFS Graph Traversal using Stack C++: Story

DFS Graph Traversal using Stack C++: Story

Comments
3 min read
Prims Algorithm C++: Story

Prims Algorithm C++: Story

Comments
4 min read
Union-Find(With Rank) C++: Story

Union-Find(With Rank) C++: Story

Comments
3 min read
I built a Backend web Framework from Scratch in C++
Cover image for I built a Backend web Framework from Scratch in C++

I built a Backend web Framework from Scratch in C++

45
Comments 7
8 min read
I “Vibe” Built a System Inspired by Nature's Math, and It's 1.82x Faster Than Nginx
Cover image for I “Vibe” Built a System Inspired by Nature's Math, and It's 1.82x Faster Than Nginx

I “Vibe” Built a System Inspired by Nature's Math, and It's 1.82x Faster Than Nginx

1
Comments
4 min read
Union-Find(Without Rank) C++: Story

Union-Find(Without Rank) C++: Story

Comments
4 min read
🎿“Minimum Operations to Make the Integer Zero” LeetCode: 2749 [C++, JavaScript, Python]
Cover image for 🎿“Minimum Operations to Make the Integer Zero” LeetCode: 2749 [C++, JavaScript, Python]

🎿“Minimum Operations to Make the Integer Zero” LeetCode: 2749 [C++, JavaScript, Python]

17
Comments 4
4 min read
Latches in C++ 20 concurrency - just like the CountdownLatch of Java concurrency package...

Latches in C++ 20 concurrency - just like the CountdownLatch of Java concurrency package...

Comments
3 min read
My C++ exploration - concurrency - async and future - driven by the Intrinsic Motivation...

My C++ exploration - concurrency - async and future - driven by the Intrinsic Motivation...

Comments
3 min read
The Barrier in C++ 20 concurrency - the programmer in me is still thriving...

The Barrier in C++ 20 concurrency - the programmer in me is still thriving...

Comments
3 min read
Harmony Between OOP and Data-Oriented Design

Harmony Between OOP and Data-Oriented Design

Comments
7 min read
My Open Source Journey Begins with GitHub & Magic Enum

My Open Source Journey Begins with GitHub & Magic Enum

Comments
2 min read
C++ 20 - concurrency - stop_token in jthread - politely interrupting the thread...

C++ 20 - concurrency - stop_token in jthread - politely interrupting the thread...

Comments
3 min read
I Built a GPT Model from Scratch in C++ (Runs on 2GB RAM!)
Cover image for I Built a GPT Model from Scratch in C++ (Runs on 2GB RAM!)

I Built a GPT Model from Scratch in C++ (Runs on 2GB RAM!)

Comments
2 min read
C++ Templates Tutorial: Complete Guide to Generic Programming (2025) (With Examples)

C++ Templates Tutorial: Complete Guide to Generic Programming (2025) (With Examples)

28
Comments 8
21 min read
⏱️ O(N) to O(1): How Prefix Sum Will Change Your Code Forever
Cover image for ⏱️ O(N) to O(1): How Prefix Sum Will Change Your Code Forever

⏱️ O(N) to O(1): How Prefix Sum Will Change Your Code Forever

Comments
2 min read
C++ Superset 2.0.0

C++ Superset 2.0.0

Comments
1 min read
Released Loom v1.0.0 Beta - A fast, minimal text editor.
Cover image for Released Loom v1.0.0 Beta - A fast, minimal text editor.

Released Loom v1.0.0 Beta - A fast, minimal text editor.

6
Comments 1
2 min read
loading...