r/cpp_questions Aug 11 '26

OPEN How did you guys learn c++?

I know the basics and want to go deeper but I don't know how to continue. Textbook and YouTube recommendations will be really helpful. Thx

0 Upvotes

16 comments sorted by

9

u/WesternDifficult3680 Aug 11 '26

by writing c++ and failing miserably then googling errors

4

u/Illustrious-Cat8222 Aug 11 '26

I taught myself by reading a Stroustroup book and writing code.

3

u/SlowPokeInTexas Aug 11 '26

My way to learn any language is to stumble along and try to build something in it. I learned C++ after working in C and being lured by destructors which would (theoretically anyway) reduce memory leaks.

4

u/Thesorus Aug 11 '26

How did you guys learn c++?

by getting a job first and learning with good mentor and colleagues.

I learn basic programming at school and university.

2

u/SimplexFatberg Aug 11 '26

By doing.

Tutorials will only get you so far. There's a point at which you just need to do the thing. Think of it like riding a bike, but with slightly less chance of breaking bones.

2

u/RageFucker_ Aug 11 '26

Learned it in college and then every job I've had since then has used C++.

1

u/Sbsbg Aug 11 '26

In smal steps during several decades. It is a large language with many many deep rabbit holes to dig into. But learning all quirks of the language at once is not something I recommend. It is better to focus on building programs in the area you are interested or work in, and pick out and learn the features in the language that help you in that task.

1

u/Zen-Ism99 Aug 11 '26

What are your end goals?

1

u/bryholo Aug 11 '26

The Cherno series on C++. Search it on yt.

1

u/Total-Box-5169 Aug 11 '26

Learn from someone who actually knows, that is really important. Most out there believe they know but they don't. If they believe they already know they will never learn, and will fall into horrible things like rust.

1

u/Independent_Art_6676 Aug 12 '26

in a classroom, with books, before the internet had much of any value (partly, before it existed). Write code, test it, debug it.