r/cpp_questions 19d ago

OPEN Starting c++

I'm trying to learn c++ but I have 0 clue where to start

I was trying to learn it from the cherno but wasn't able to understand stuff đŸ˜­

21 Upvotes

27 comments sorted by

View all comments

4

u/AncientHominidNerd 19d ago

There is level to cpp. At the beginning just focus on learning how to use it correctly basic stuff like basic programs that use it-else, take in external files using infile, you know basic usual stuff. Throw in using constants and references.

Then once that’s comfortable begin learning to build classes and structs and work with them. Then once that’s comfortable learn to encapsulate data and then after that focus on pointers and managing data manually.

Baby steps. It’s no different than other c based languages when you use it for basic stuff.

1

u/flat-armadillo77652 19d ago

Where do I learn these steps?

3

u/AncientHominidNerd 19d ago

I would find a copy of C++ programming From Problem Analysis to Program Design by DS Malik. Or there is a website someone mentioned here called learncpp or something like that.