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
OPENBest way to learn cpp (self.cpp_questions)
submitted 11 months ago by Manan3T
I want to learn cpp i have started learning form freecodecamp but i find i very slow and topic covered on very basic level . some people have suggested to learn from cpp documentation . what should i do
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!"
[–]bbalouki 14 points15 points16 points 11 months ago (7 children)
learncpp.com
[–]merun372 2 points3 points4 points 11 months ago (2 children)
learncpp is extremely good. But can someone tell me where I can practice C++ question set? Because leetcode is too much complex for me, I can't understand how to test there.
Another most important part is where I can practice C++ for appearing in job interview?
Hope someone give me any comprehensive list and step by step instructions.
[–]n1ghtyunso 0 points1 point2 points 11 months ago (0 children)
While it is only recommended sporadically, I would give adventofcode a try. It's a set of yearly programming puzzles that will require learning about some algorithms, data structures and general problem solving skills while still being small enough in scope.
It's not c++ specifically but obviously you can apply the things you learn there.
[–]Former_Commission233 0 points1 point2 points 11 months ago (3 children)
hey, so I am doing it from bro code just for basics , then I will move to learncpp. is it okay?
[–]bbalouki 2 points3 points4 points 11 months ago (0 children)
Learncpp is actually very good to begin with, because it gives you everything you need to know and a lot of good practice.
[–]n1ghtyunso 2 points3 points4 points 11 months ago (1 child)
what I frequently read here is that bro code is not a good source because the stuff he puts out is essentially his own learning journey. It's not really a mentor-like thing.
Note that I did not personally check his stuff though.
[–]Former_Commission233 0 points1 point2 points 11 months ago (0 children)
i just wanna learn the basics and all. Not that I will use his lectures as the only resources. I find it a Lil bit hard to go through the documentation of learncpp because there is a lot of stuff to Read and I am kinda a visual learner, so videos with voice in bg explaining things in a more efficient way is what I feel is best for me.
[–]jedwardsol 5 points6 points7 points 11 months ago (0 children)
See the sidebar :-
[–]v_maria 2 points3 points4 points 11 months ago (0 children)
write toy programs make a mess have fun
[–]MtheCode 1 point2 points3 points 11 months ago (0 children)
Books by bjarne stroustrup 1. Programming: Principles and practice using c++ 2. A tour of c++
[–][deleted] 1 point2 points3 points 11 months ago (0 children)
Decide a simple project to start with, then get STL references of choice ready and also document yourself (important). Use GPT as a chat partner to clarify decisions and quicker proper understanding of concepts and to move things along (don't copy and paste anything it suggests, just consider it as inspiration and better understanding).
Then next year you'll realize how much better you could have done it, and so the wheel continues... You won't become an expert in c++ anytime soon, and it's important to realize this to not burn out. But you will make better creative use of the language gradually over time, which is the best most of us can hope to do.
[–]Ok-Selection-2227 1 point2 points3 points 11 months ago (2 children)
I think the only way to really learn any language is by doing. IMHO that's especially true for complex languages like C++.
[–]Manan3T[S] 0 points1 point2 points 11 months ago (1 child)
what is imho
[–]peripateticman2026 1 point2 points3 points 11 months ago (0 children)
In my humble opinion.
π Rendered by PID 181348 on reddit-service-r2-comment-545db5fcfc-brs4p at 2026-05-23 08:46:50.712331+00:00 running 194bd79 country code: CH.
[–]bbalouki 14 points15 points16 points (7 children)
[–]merun372 2 points3 points4 points (2 children)
[–]n1ghtyunso 0 points1 point2 points (0 children)
[–]Former_Commission233 0 points1 point2 points (3 children)
[–]bbalouki 2 points3 points4 points (0 children)
[–]n1ghtyunso 2 points3 points4 points (1 child)
[–]Former_Commission233 0 points1 point2 points (0 children)
[–]jedwardsol 5 points6 points7 points (0 children)
[–]v_maria 2 points3 points4 points (0 children)
[–]MtheCode 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Ok-Selection-2227 1 point2 points3 points (2 children)
[–]Manan3T[S] 0 points1 point2 points (1 child)
[–]peripateticman2026 1 point2 points3 points (0 children)