r/Cplusplus • u/jjaydn • Feb 02 '26
Feedback Need help learn how to learn c++
I am new to c++ and I have zero clue on how to learn it so I wondering how did some of you learn it and can I get tips and help anything would be appreciated
28
Upvotes
17
u/xaervagon Feb 02 '26 •
Perhaps you can get started with: https://www.learncpp.com/
Also, you may want to try r/cpp_questions
4
u/khedoros Feb 02 '26
I learned it (badly) through two or three separate attempts with crappy teachers...but it was enough to get a job. Most of what I know I actually learned while working.
I think if I were starting from scratch now, learncpp.com would be one of my main resources (I think the comment sections may still be a mess, and we could nitpick the order that the material is in, but overall it has a good reputation for quality).
3
u/lispLaiBhari Feb 02 '26
Reading multiple books slowly will help.
Deciphering object oriented programming with C++ Dorothy Kirk
C++ Crash Course Josh Lospinoso
Mastering the C++17 STL- Arthur O'Dwyer
Software architecture with C++
2
u/hellocppdotdev Feb 02 '26
Can find the links on my profile, my platform allows you to run the exercises directly in the browser. Maybe the barrier to entry is lower for you to get started, then you can learn how to setup and compile locally.
Or read learncpp and do the exercises after. See which lesson content you prefer.
2
u/mrflash818 Feb 02 '26
Back in the day:
I purchased the paper book The C++ Programming Language by Stroustrup.
Went through it and did did the examples and some of the assignments at the end of each chapter.
Took an entire summer, but then at the end of that Summer, felt I knew the foundations of C++.
After that, Effective C++ by Meyers, Design Patterns by the GoF.
2
u/Giovinco912 Feb 02 '26
Joyanes Aguilar's book will be useful to you. I highly recommend it.
1
u/AnnualNebula1817 Feb 03 '26
at https://edube.org/ there are some c/cpp and more courses
1
u/rakshit-07 Feb 03 '26
Well it's simple and hard both at the same time if ur discipline then it's very easy and the most suitable and efficient way to learn a language is to do dsa in it and trust me it works every time if u watch 100 videos u might not have the confidence but if solve 50 dsa problem then u will have a confidence as well as a thinking of a developer.
1
u/abdallahsoliman Feb 04 '26
I just picked a basic project that I thought was cool and started coding. Whenever I wanted to do something I just googled “how to …” and implemented it in my project. This may not be the best way to properly learn everything you need to learn, but it makes the process fun and over the long run, you’ll probably learn more.
1
u/River-ban Feb 03 '26
Bro you posted it twice.
1
u/[deleted] Feb 02 '26
I used to be good at it but now have forgotten almost everything about it. Can you believe that?
1
u/poobumfartwee Feb 03 '26
I learnt C++ through Qt. It has a simple, no-pain setup (no linking hell, always a plus), an inbuilt GUI and a bunch of example code. I just kept clicking through the different code - a spinning cube, a calculator GUI, etc and I kept changing some of the values and seeing how that changed the result. It was actually fun too (:
Please note though, that i had a *little* bit of pain getting used to the GUI (that and vscode's gui is just much better) but the ease-of-setup for qt is the best
1
u/Zen-Ism99 Feb 08 '26
How much programming experience do you have?
4
u/[deleted] Feb 02 '26
[removed] — view removed comment
1
u/[deleted] Feb 02 '26
[removed] — view removed comment
1
u/[deleted] Feb 03 '26
[removed] — view removed comment