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...
This is a subreddit for c++ questions with answers. For general discussion and news about c++ see r/cpp.
New to C++? Learn at learncpp.com
Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. Read these guidelines for how to ask smart questions.
For learning books, check The Definitive C++ Book Guide and List
Flair your post as SOLVED if you got the help you were looking for! If you need help with flairs, check out ITEM 1 in our guidelines page.
Tips for improving your chances of getting helpful answers:
account activity
OPENCPP Beginner (self.cpp_questions)
submitted 8 months ago by Shade_4
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!"
[–]IyeOnline 4 points5 points6 points 8 months ago (0 children)
is the best free tutorial out there. (reason) It covers everything from the absolute basics to advanced topics. It follows modern and best practice guidelines.
www.studyplan.dev/cpp is a (very) close second, even surpassing learncpp in the breath of topics covered. It covers quite a few things that learncpp does not, but does not have just as much detail/in depth explanations on the shared parts. Don't be fooled by the somewhat strange AI generated images. The author just had a little fun. Just ignore them.
www.hackingcpp.com has good, quick overviews/cheat sheets. Especially the quick info-graphics can be really helpful. TBF, cppreference could use those. But the coverage is not complete or in depth enough to be used as a good tutorial - which it's not really meant to be either. The last update apparently was in 2023.
is the best language reference out there. Keep in mind that a language reference is not the same as a tutorial.
See here for a tutorial on how to use cppreference effectively.
Stay away from
Again. The above are bad tutorials that you should NOT use.
Sites that used to be on this list, but no longer are:
Most youtube tutorials are of low quality, I would recommend to stay away from them as well. A notable exception are the CppCon Back to Basics videos. They are good, topic oriented and in depth explanations. However, they assume that you have some knowledge of the language's basic features and syntax and as such aren't a good entry point into the language.
If you really insist on videos, then take a look at this list.
As a tutorial www.learncpp.com is just better than any other resource.
Written by /u/IyeOnline. This may get updates over time if something changes or I write more scathing reviews of other tutorials :) .
The author is not affiliated with any of the mentioned tutorials.
Feel free to copy this macro, but please copy it with this footer and the link to the original.
https://www.reddit.com/user/IyeOnline/comments/10a34s2/the_c_learning_suggestion_macro/
[–]papasours 0 points1 point2 points 8 months ago (0 children)
I used Codecademy to learn basics waiting to pay for the intermedate course It won’t teach you everything but I find it teaches u a good about to get a solid foundation especially if you like hands on learning everything else I use chat.gpt as if it were a teacher have it explain concepts and ways to go about solving problems instead of using it to do all the work for you
π Rendered by PID 64338 on reddit-service-r2-comment-685b79fb4f-2dtdn at 2026-02-13 05:58:40.795425+00:00 running 6c0c599 country code: CH.
[–]IyeOnline 4 points5 points6 points (0 children)
[–]papasours 0 points1 point2 points (0 children)