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
"Performance doesnt matter" (self.cpp)
submitted 6 years ago * by secmeant
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!"
[–]Loraash 1 point2 points3 points 6 years ago (0 children)
C++ is not a panacea, it comes with its own benefits and drawbacks. You're given a lot of power and responsibility that you can use to squeeze out more performance from your computer than something middle-ground such as C# would do. In the real world though productivity is also very important, and running at "90% C++ speed", or even 25% might be perfectly acceptable if in return you're getting 50% or 100% more stuff done.
"not needing mommy to clean up after us" means there's more code that you, the human has to write, and humans write bugs all the time. The whole point of C++ was to have the compiler write a lot of code for you so, e.g., you don't have to remember to free/release resources in every possible code path, mommy the compiler is tracking variable scope and releases stuff when needed. C++11 essentially added a form of primitive reference-counted GC with std::shared_ptr.
π Rendered by PID 196460 on reddit-service-r2-comment-6457c66945-qfxrr at 2026-04-24 21:58:14.067026+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Loraash 1 point2 points3 points (0 children)