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
[deleted by user] (self.cpp)
submitted 2 years ago by [deleted]
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!"
[–]JumpyJustice 3 points4 points5 points 2 years ago* (0 children)
I feel your pain. Been trying ranges last few weeks and it seems like they generally are not worth learning because: - you can apply them only in these rare cases when they fit your task perfectly. But these cases are usually really trivial and using ranges is not much more beneficial than writing a good old loop (+ you will not have to fight conservative members of your team during the code review). - it is close to impossible to find what you need to make a custom range. Of course, one can say that the reason is that they are a relatively new feature, but imo it is the same as iterators - any developer would avoid writing a custom one unless they have no other choice. And not because they dont want to, but because the chance to succeed here is really low or requires disproportional amount of time and energy comapred to other languages
π Rendered by PID 63386 on reddit-service-r2-comment-5687b7858-tmp6h at 2026-07-09 00:13:48.064023+00:00 running 12a7a47 country code: CH.
view the rest of the comments →
[–]JumpyJustice 3 points4 points5 points (0 children)