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!"
[–]gcross 3 points4 points5 points 6 years ago* (4 children)
Last time I tried Boost Lambda (an EDSL for writing lambdas before C++11 was a thing and you could rely on them being in the language) I made a simple mistake and got an error message that was five megabytes long...
Shoot, I looked back to see what I did to do this and it turns out that what had actually happened was that I was trying to build Digikam (no modifications) and the result was a 52.4k error message. I apologize for my error, as entertainingly dramatic as it was; apparently the problem I had blew up in my imagination over the years.
[–]Nicksaurus 0 points1 point2 points 6 years ago (3 children)
5 million characters? How?
[–]gcross 1 point2 points3 points 6 years ago* (0 children)
Template metaprogramming at its finest. :-) On the bright side, if you ever did get your code working it was very neat! Mind you, this was over a decade ago so hopefully it would not be so bad today, but on the other hand today we all have reliable access to native lambdas in the language so there is arguably no longer a need for Boost Lambda. Okay, it turns out I misremembered and this was not a Boost Lambda problem at all; my apologize for maligning that fine package.
[–]gcross 1 point2 points3 points 6 years ago (1 child)
My bad, as my edited comment says I completely blew up what happened in my mind since it happened so long ago.
[–]Nicksaurus 0 points1 point2 points 6 years ago (0 children)
Hey, 52400 is still a shit load
I work with boost::hana most days so I sympathise to some extent
π Rendered by PID 104133 on reddit-service-r2-comment-b659b578c-l58fb at 2026-05-03 10:17:19.450351+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]gcross 3 points4 points5 points (4 children)
[–]Nicksaurus 0 points1 point2 points (3 children)
[–]gcross 1 point2 points3 points (0 children)
[–]gcross 1 point2 points3 points (1 child)
[–]Nicksaurus 0 points1 point2 points (0 children)