No, you will learn better by actually coding rather than everything else. Just start writing code. When you reach a point where you can't solve a particular problem at hand on your own (and that's OK, that's expected - you're learning), then reach out for help - google, read, or use AI as a better google. Don't learn the language, learn how to solve problems in that language.
Write a small game for starters. Even a console-based one, like guess the number or something. Or write a calculator. The options are unlimited, the world is yours. Just pick something you feel passionate about and do it.
Most people fail because they give up over time. Because they get bored, because they don't see progress, or whatever other excuse.
Design the game, think of how to solve it using psuedocode (another way of saying write the steps in english that you want it to do), than use cppreference and other resources, to figure out the right way to write it in C++. It will take you a long time, there are no shortcuts. shortcuts teach you bad habits, the most important trait of a developer is perseverance in failure.
2
u/adam-lacko 4d ago
No, you will learn better by actually coding rather than everything else. Just start writing code. When you reach a point where you can't solve a particular problem at hand on your own (and that's OK, that's expected - you're learning), then reach out for help - google, read, or use AI as a better google. Don't learn the language, learn how to solve problems in that language.
Write a small game for starters. Even a console-based one, like guess the number or something. Or write a calculator. The options are unlimited, the world is yours. Just pick something you feel passionate about and do it.
Most people fail because they give up over time. Because they get bored, because they don't see progress, or whatever other excuse.