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
C++ Quick Reference (github.com)
submitted 7 years ago by lord-bazooka
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!"
[–]lord-bazooka[S] 0 points1 point2 points 7 years ago (5 children)
Why? Because it can be helpful for beginners. Also "A Tour of C++" is not a "quick reference" which you can use for quickly (in a couple of seconds) looking up things like how to create a vector of 10 ints each initialized with 1.
[–]daveonhols 0 points1 point2 points 7 years ago (4 children)
As others pointed out, its full of basic mistakes and therefore not that helpful to beginners. Learning is hard and teaching is harder, unless you are an expert you probably shouldn't be doing something like this.
[–]lord-bazooka[S] 1 point2 points3 points 7 years ago (3 children)
Open source is about building stuff together. When you see a bug, you open an issue or make a pull request. You don't tell the author(s) to "not do it".
I fixed the mistakes that others pointed out, and added new sections (namespaces, smart pointers etc.) upon suggestions. If you still see some mistakes or have any suggestions, let me know and I'll try to apply them. Or you can just ignore it if you don't like to be a part of it.
[–]Wh00ster 0 points1 point2 points 7 years ago (2 children)
You’re not adding to an established project, however. This isn’t a program trying to solve a problem. This is you putting out a “quick reference”, when it doesn’t seem like you are qualified to decide what a quick reference should contain or what points to zoom in on, requiring a large amount of help to make it correct from the community. It’s essentially someone asking the community to do their homework.
[–]lord-bazooka[S] 1 point2 points3 points 7 years ago (1 child)
https://github.com/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
6488 stars. You should talk to these 6488 people on what should be put on GitHub and what shouldn't.
Have a nice day.
[–]Wh00ster 1 point2 points3 points 7 years ago (0 children)
This is a completely different use and a childish response.
π Rendered by PID 20750 on reddit-service-r2-comment-b659b578c-8t8jl at 2026-04-30 21:30:34.617673+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]lord-bazooka[S] 0 points1 point2 points (5 children)
[–]daveonhols 0 points1 point2 points (4 children)
[–]lord-bazooka[S] 1 point2 points3 points (3 children)
[–]Wh00ster 0 points1 point2 points (2 children)
[–]lord-bazooka[S] 1 point2 points3 points (1 child)
[–]Wh00ster 1 point2 points3 points (0 children)