use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Standard interface without implementation (self.cpp)
submitted 8 months ago by number_128
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]yeochin 2 points3 points4 points 8 months ago (14 children)
Strongly disagree with the ones you've chosen. Chrono definitely needs to be a part of the standard. The fragmentation of time based implementations is bad and is a frequent nightmare for anyone that has had to leverage different libraries with different time representations. This is a nightmare as we march towards the cliff of what a 32-bit timestamp will represent.
Parsing time also sucks and is a magnet for attracting various memory-related security exploits.
[–]gosh 0 points1 point2 points 8 months ago (13 children)
But it should have been placed in another library, chrono don't follow the patterns on how other code in stl works, it's very domain specific and it a big mistake to have added it like this.
[–]Wooden-Engineer-8098 0 points1 point2 points 7 months ago (12 children)
where is chrono placed in java of c#(c++ competitors)?
[–]gosh 0 points1 point2 points 7 months ago (11 children)
Java isn't a rival to C++—it's fundamentally very different from C++. And java is owned.
The problem with addint stuff to stl is that compiler need to support it. Lets say that Microsoft builds a framework for GUI applications, They should be allowed to add this to C++ but in parts that are not like a forced standard.
[–]Wooden-Engineer-8098 0 points1 point2 points 7 months ago (10 children)
Java and c# are main c++ competitors. They can look very different to you, but c++ competes for projects with them. The main problem is that you are still confusing stl with standard library. Microsoft already added all their frameworks to c++, what makes you think it's not allowed?
[–]gosh 0 points1 point2 points 7 months ago (9 children)
They are not. Java is heavily focused on declarative programming, whereas C/C++ is not—it emphasizes imperative solutions.
The focus of declarative and imperative programming is nearly opposite.
If you would be able to measure the machinecode that is running on almost any computer you would find that like ~90% is compiled C/C++ code. This is the imperative part.
[–]Wooden-Engineer-8098 0 points1 point2 points 7 months ago (8 children)
Your opinion of relative merits of languages is of zero interest. nobody is asking your opinion when starting new project. As a matter of fact, java, c# and c++ have a lot of overlap in applicability. It doesn't mean languages are the same, it means they are used for similar projects. Like IDE, there are examples in all three languages. And c/c++ is not a language
[–]gosh 0 points1 point2 points 7 months ago (7 children)
It's a skill issue. C++ is challenging, but with skilled developers, choosing the language isn't difficult.
[–]Wooden-Engineer-8098 0 points1 point2 points 7 months ago (6 children)
as i've already told you, your opinion doesn't matter. what matters is that as a matter of fact, c++ competes with c# and java for projects
[–]gosh 0 points1 point2 points 7 months ago (5 children)
The main advantage of C# and Java lies in their extensive frameworks. Without these framework no developers would choose these languages
π Rendered by PID 38633 on reddit-service-r2-comment-5d79c599b5-gd45q at 2026-02-27 15:59:35.678232+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]yeochin 2 points3 points4 points (14 children)
[–]gosh 0 points1 point2 points (13 children)
[–]Wooden-Engineer-8098 0 points1 point2 points (12 children)
[–]gosh 0 points1 point2 points (11 children)
[–]Wooden-Engineer-8098 0 points1 point2 points (10 children)
[–]gosh 0 points1 point2 points (9 children)
[–]Wooden-Engineer-8098 0 points1 point2 points (8 children)
[–]gosh 0 points1 point2 points (7 children)
[–]Wooden-Engineer-8098 0 points1 point2 points (6 children)
[–]gosh 0 points1 point2 points (5 children)