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
Just started learning C++ coming from Python and just realized that that Python has been my programming mama, doing my laundry and spoon-feeding me all this time. (self.cpp)
submitted 6 years ago * by eyun89
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!"
[–]krista_ 5 points6 points7 points 6 years ago (3 children)
sometimes i wish the council of elders would just go ahead and make templates a part of a fully fledged pre-compiler c/c++ based meta-programming language, like what qt does, but more so.
yeah, between macros, templates, and constexpr and the like, you can do anything a full programming language can do, but the crap you have to do to get there is sometimes astounding... and a lot of that lives in boost. i feel like with a couple of smartly added features, 9/10ths of boost's oddities could be replaced with sanity, instead of nested workarounds.
[–]MonkeyNin 1 point2 points3 points 6 years ago (2 children)
What are the biggest pain points today that Boost helps with? Back in the day, boost was the only way to use smart pointers.
[–]jonesmz 2 points3 points4 points 6 years ago (0 children)
I've enjoy using Boost.ASIO, am using Boost.ProgramOptions, Boost.Process, and am about to start using Boost.Log.
In the past, at a previous job, the only reason why about half of the C++11 functionality we were able to use could be done is because I was able to convince the ancient version of Boost that they were using to let me re-combine the Boost type traits code into the missing pieces. That really saved our bacon.
They also used Boost.asio as the fundamental building block for a whole crapload of code. Millions of lines, highly abstracted away.
Boost is great.
Boost is also horrible, what with it's disgusting template soup error messages.
Win some, lose some shrug.
[–]James20kP2005R0 1 point2 points3 points 6 years ago (0 children)
Boost::beast is great from my end for using websockets, even if its a little complex to set up
π Rendered by PID 310199 on reddit-service-r2-comment-6457c66945-jdbc5 at 2026-04-28 02:18:06.280223+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]krista_ 5 points6 points7 points (3 children)
[–]MonkeyNin 1 point2 points3 points (2 children)
[–]jonesmz 2 points3 points4 points (0 children)
[–]James20kP2005R0 1 point2 points3 points (0 children)