r/learnprogramming • u/milestailsprower1234 • 1h 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?
3
Upvotes
•
u/milestailsprower1234 54m ago
4
u/Aggravating_Chef_656 1h ago
Im just gonna say it, C++ is the devils languague, it will be a pain in the arse to learn no matter what
1
u/Sagittarius_B1 1h ago
Is there something wrong with the book? Because if not, then what's the issue? And yeah obviously if you don't want to read you have a gazillion resources online
1
u/mc_pm 1h ago
We have no idea what is on page 340.
But, leave that book aside - how much time are you spending actually typing in code and fighting to get it to run?
1
u/_user1980 1h ago
I suggest you try Object-Oriented Programming in C++, Fourth Edition Robert Lafore and Programming: Principles and Practice Using C++ Second Edition Bjarne Stroustrup. it helped me a lot
3
u/Dazzling_Music_2411 1h ago edited 1h ago
If you can't even manage to read one book, then C++ is definitely not for you. Sorry.
PS. I haven't read Schildt, but looking it up it seems more like a reference book. If you're serious about learning, rather start with Stroustrup, perhaps Tour of C++.
And why have you formatted your post so awfully? It makes it hard to read.
1
u/Zen-Ism99 1h ago
learncpp.com
and
Books, practice, patience…
•
u/shipitcodes 58m ago
Since pointers were where you got stuck, I'd pause the book and write a tiny singly linked list from scratch, printing the addresses with std::cout as you go. Drawing the boxes and arrows on paper next to the output makes pointers click way faster than reading about them. OOP also tends to make more sense after that, because you've already built objects that point at each other.
•
u/betarage 16m ago
I am not sure if that book is good or not but you are already halfway done so keep reading it. most online guides are really bad the longer ones will have more examples. but may still not talk about certain things that are important and just waste a lot of time doing the same things over and over and not really explaining the point of it. So I hope this book is not like that.