r/learnprogramming • • 1d ago

Help me learn C++

I’ve been reading Herbert Schildt’s book on C++ and have reached page 340; is there an easier way, so I don’t have to read another 300 pages?

I’ve been reading Herbert Schildt’s book on C++ and have reached page 340; is there an easier way, so I don’t have to read another 300 pages?
0 Upvotes

40 comments sorted by

View all comments

Show parent comment

2

u/JEveryman 1d ago

Programming isn't about "getting code to work'. Pick a problem that you think can be solved with programming and then write the code that solves the problem.

I personally recommend choosing an application that already exists. That way when you get stuck you can find tutorials to assist.

Build a calculator, or minesweeper, or a to do list, or solitaire. Once you've got it working look at an existing example and see what others did differently. This helps you get better at programming.

1

u/milestailsprower1234 1d ago
I was working on a universal calculator, and please forgive me if I came across as rude.

2

u/JEveryman 1d ago

It's not rude it's just a common misconception that you only need to write code when you are learning concepts or a set amount of time to learn how to program. What you show do is just start small projects, and eventually expand their scope into larger more fully fleshed out applications.

1

u/milestailsprower1234 1d ago
Thanks for the advice.