r/learnprogramming • u/milestailsprower1234 • 43m 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/Sagittarius_B1 38m 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
•
u/milestailsprower1234 2m ago
•
u/mc_pm 32m 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?
•
u/_user1980 29m 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
•
u/Aggravating_Chef_656 14m ago
Im just gonna say it, C++ is the devils languague, it will be a pain in the arse to learn no matter what
•
u/Dazzling_Music_2411 29m ago edited 18m 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.
•
u/Zen-Ism99 10m ago
learncpp.com
and
Books, practice, patience…
•
u/shipitcodes 6m 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.