Skip to main content

Explore our questions

149 votes
15 answers
31k views

Why did memory-managed languages like Java, Javascript, and C# retain the `new` keyword?

2 votes
2 answers
195 views

Optimal way to share data between different classes

0 votes
4 answers
2k views

Share Global Variable in DLL, feasible or naive?

4 votes
2 answers
927 views

How to make max-heap stable with counter and account for counter overflow?

1 vote
1 answer
87 views

How to Handle Additional Parameters in State Transition for State Pattern in C++

179 votes
5 answers
75k views

What's the reason for not using C++17's [[nodiscard]] almost everywhere in new code?

9 votes
4 answers
2k views

Is the inability to find code by searching for a class name a reason to avoid using auto in c++ variable declarations?

4 votes
4 answers
990 views

Is updating a macro value in the Xcode preprocessor's macros violating the open–closed principle?

5 votes
1 answer
508 views

Confused on how abstraction and encapsulation is helpful

2 votes
1 answer
98 views

C++: Good approach to handle libxml2 resource management in a wrapper

10 votes
5 answers
16k views

In C++, why shouldn't all function parameters be references?

1 vote
1 answer
67 views

CMake Reusability and Package Management

5 votes
3 answers
500 views

C++ and memory safety

0 votes
2 answers
137 views

Why do you need to use pass by reference in C++ to change the value of the arguments inside the function?

Browse more Questions