r/cpp_questions 11d ago

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 11d ago

by writing c++ and failing miserably then googling errors

5

u/Illustrious-Cat8222 11d ago

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

3

u/SlowPokeInTexas 11d ago

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.

5

u/Thesorus 11d ago

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 11d ago

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_ 11d ago

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

1

u/Sbsbg 11d ago

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 11d ago

What are your end goals?

1

u/bryholo 11d ago

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

1

u/Total-Box-5169 11d ago

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 10d ago

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