DEV Community

C++

Official tag for the C++ programming language.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Under the hood: The Importance of sizeof in C and C++

Under the hood: The Importance of sizeof in C and C++

Comments 5
7 min read
DAY 42 - Cheapest Flights Within K Stops

DAY 42 - Cheapest Flights Within K Stops

Comments
4 min read
DAY 41 - Shortest Path in a Binary Matrix

DAY 41 - Shortest Path in a Binary Matrix

2
Comments
4 min read
Advanced Thread Safety in C++

Advanced Thread Safety in C++

6
Comments
19 min read
C++ Learning Resources

C++ Learning Resources

1
Comments 1
1 min read
DAY 35- Word Ladder I

DAY 35- Word Ladder I

Comments
3 min read
Design Pattern - Factory

Design Pattern - Factory

Comments
7 min read
I tried making a terminal based file exploration package

I tried making a terminal based file exploration package

5
Comments
3 min read
A Comprehensive Guide to Various Sorting Algorithms in C++

A Comprehensive Guide to Various Sorting Algorithms in C++

2
Comments
13 min read
What is the difference between Java and C++?

What is the difference between Java and C++?

1
Comments
1 min read
The Binary Search (Chop) Algorithm - with examples in C

The Binary Search (Chop) Algorithm - with examples in C

Comments
2 min read
Singletons in C++

Singletons in C++

1
Comments 5
10 min read
CLI Library Management-System C++

CLI Library Management-System C++

1
Comments 1
9 min read
Modern C++ or Rust - Basic borrowing system concept

Modern C++ or Rust - Basic borrowing system concept

Comments 3
3 min read
Beyond Pointers: How Rust outshines C++ with its Borrow Checker

Beyond Pointers: How Rust outshines C++ with its Borrow Checker

9
Comments 2
11 min read
C++, Static Object - Singleton pattern

C++, Static Object - Singleton pattern

Comments 11
1 min read
DILI #5

DILI #5

Comments
2 min read
Undefined Behavior in C and C++

Undefined Behavior in C and C++

7
Comments 5
8 min read
DAY 26 - Matrix Chain Multiplication

DAY 26 - Matrix Chain Multiplication

Comments
4 min read
Terrible tips for a C++ developer

Terrible tips for a C++ developer

7
Comments
2 min read
Selection Sort

Selection Sort

1
Comments
1 min read
Introduction to Windows GUI Programming with C++: Building Your First Window

Introduction to Windows GUI Programming with C++: Building Your First Window

1
Comments
4 min read
DAY 25 - Longest String Chain

DAY 25 - Longest String Chain

Comments
3 min read
C++, Static Object - share data

C++, Static Object - share data

Comments 4
1 min read
Best Practices for Memory Management in C++: How Do You Prevent Leaks and Optimize Resource Usage?

Best Practices for Memory Management in C++: How Do You Prevent Leaks and Optimize Resource Usage?

10
Comments 3
1 min read
Bubble Sort

Bubble Sort

1
Comments
1 min read
Did I learn it? #3

Did I learn it? #3

Comments
1 min read
C++ References

C++ References

3
Comments
12 min read
DAY 23 - Best Time to Buy and Sell Stock III

DAY 23 - Best Time to Buy and Sell Stock III

Comments
5 min read
DAY 22 - Best Time to Buy and Sell Stock II

DAY 22 - Best Time to Buy and Sell Stock II

Comments
5 min read
Micro-Post: Simple Logging PreProcessor Macro

Micro-Post: Simple Logging PreProcessor Macro

Comments
2 min read
DAY 21 - Edit Distance

DAY 21 - Edit Distance

Comments
4 min read
DAY 20 - Longest Palindromic Subsequence

DAY 20 - Longest Palindromic Subsequence

2
Comments
3 min read
DILI #4

DILI #4

Comments
2 min read
C++, remove all duplicated, multiple value in sorted vector

C++, remove all duplicated, multiple value in sorted vector

Comments 2
1 min read
C++, print floating-point number with precision, customise format

C++, print floating-point number with precision, customise format

Comments 1
1 min read
DAY 19 - Longest Common Substring

DAY 19 - Longest Common Substring

Comments
3 min read
C++, Delete(erase) item from vector in O(1) time

C++, Delete(erase) item from vector in O(1) time

Comments 4
1 min read
C++,use reference(&) to speed up your functions

C++,use reference(&) to speed up your functions

Comments 1
1 min read
Into the Extreme – Fold-Expressions

Into the Extreme – Fold-Expressions

Comments
3 min read
DAY 17 - Minimum sum partition

DAY 17 - Minimum sum partition

Comments
3 min read
Unlocking the Potential of FORTIFY_SOURCE

Unlocking the Potential of FORTIFY_SOURCE

Comments
4 min read
DAY 16 - Partition Equal Subset Sum

DAY 16 - Partition Equal Subset Sum

Comments
5 min read
DAY 15 - Subset Sum Problem

DAY 15 - Subset Sum Problem

Comments
4 min read
Streaming RTMP To Local Using C++ And GStreamer

Streaming RTMP To Local Using C++ And GStreamer

3
Comments
4 min read
DAY 14 - Grid Unique Paths II

DAY 14 - Grid Unique Paths II

Comments
4 min read
DAY 13 - House Robber

DAY 13 - House Robber

Comments 1
2 min read
DAY 12 - Count Good Numbers

DAY 12 - Count Good Numbers

Comments
2 min read
Fold expressions in C++

Fold expressions in C++

1
Comments
9 min read
DAY 11 - Combination Sum

DAY 11 - Combination Sum

Comments
2 min read
C++, map operator []

C++, map operator []

Comments
1 min read
中缀表达式转换为后缀表达式

中缀表达式转换为后缀表达式

Comments
2 min read
DAY 10 - Subset Sums

DAY 10 - Subset Sums

Comments
2 min read
DAY 9 - Candy Distribution Problem

DAY 9 - Candy Distribution Problem

Comments
2 min read
DAY 8 - Jump Game

DAY 8 - Jump Game

Comments
2 min read
Calling C++ functions from your Rust code

Calling C++ functions from your Rust code

Comments
2 min read
DAY 7- Minimum number of Coins

DAY 7- Minimum number of Coins

Comments
2 min read
c++, check object class type

c++, check object class type

2
Comments 6
1 min read
Did I learn it? #2

Did I learn it? #2

1
Comments
2 min read
DAY 6 - Longest Consecutive Sequence

DAY 6 - Longest Consecutive Sequence

Comments
2 min read
loading...