If you were to purchase a book on C++ (for learning) it would be

I mentioned in another post I have the Complete Reference on C++ (by Schildt), 3rd edition. I think it’s a really good book. Covers both C and C++. I was just looking for an updated version.
But got to thinking, it’s a “reference”, and perhaps I would do better with a book geared more toward learning.

So, if you were going to purchase (or suggest a book to purchase) in order to better learn C++ and OOP, which book would you suggest?

I’ve “dabbled” in programming for years, but am not an expert, nor novice. So any book directed at either of those would not be what I would be looking for.

Hi, my go to is ‘C++ Inside & Out’ by Bruce Eckel on Osborne books. My copy is quite old but I believe it’s still in print. ISBN 0-07-881809-5.

It’s not a book but there is a great YouTube tutorial series about C++ made by “The Cherno”:
https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb

1 Like

I’ll check that out. I much prefer books though. Nothing against them, sometimes they just don’t work for me.

I don’t think C or C++ has changed all that much, but dang, most of my stuff is at least 40 years old, (you should see my stock of parts!)

1 Like

Thanks, I’d completely forgotten about this bloke. He’s a GOAT!

The Herbert Schildt book was my textbook at the university. We all students bought that because our teacher followed that in class and recommended to buy. If I were to buy /study one now, I would have chosen something that will help embedded C++ interviews.

Moderator’s edit. I have removed the link to what appears to be a website offering copyright material. Apologies if you can prove that this is indeed a legal site, then I’ll happily ask you for the URL again, and re-edit this post.

Thanks.
Norm.

I can recommend “Real-Time C++” by Christopher Kormanyos, 3rd ed, 2018. It goes pretty deep, but - most importantly - it covers “modern C++” - in this case C++17.

The companion code is at GitHub - ckormanyos/real-time-cpp: Source code for the book Real-Time C++, by Christopher Kormanyos · GitHub - from the README:

Projects in this repo are programmed OS-less in pure all-bare-metal mode making use of self-written startup code. No external libraries other than native C++ and its own standard libraries are used.

Anyway, my 2 cents …

-jcw

1 Like

Thanks, I’ll check that out also.

Man, I am SO wishing I had spent more time in my younger days on stuff like this instead of reading data books.

Something i whish i had seen / read earlier in my life is “Clean Code” by Uncle Bob (Robert C. Martin).
Watching this series changed the way i code completely (i didn’t read the book). Anyone who is programming (commercial or just for hobby like me) should have seen / read this.

1 Like

I’m probably beyond help in that area. But I’m sure I can get something out of that one. I will admit, my code is messy. I try too much stuff, too rapid fire, and save too much other stuff “just in case” or for reference (sometimes what worked, other times what didn’t…)

1 Like