Moving to C++

Can anyone recommend a book for making the transition from C to C++? I’m very familiar with C programming and have exposure to OOP from playing around with Java. So, this would ideally be a concise text that concentrates on moving to C++ and covers things like syntax, constructors, inheritance rules, etc.

Thanks.

Sounds like a pretty niche topic. Did you find anything on google?

Yes, but it's always nice to hear from someone with first hand experience.

This is a wierd one, but there is "Expert C programming" by Peter Van Der Linden. His last chapter is "You know C, so C++ is easy!" This is really a basic introduction, from there you need a real C++ book.

I started with "Teach Yourself C++ in 21 Days". I liked it, but some people hate it.

But the thing is - The Arduino won't run most standard C++ programs because it doesn't have a keyboard, display, or disk storage. And, most of the Arduino library is unique and it won't run on a regular computer. Plus, I haven't seen anyone doing object oriented programming on the Arduino.

So, C/C++ on the Arduino is almost a different language with the same basic structure & rules as standard C or C++.

DVDdoug:
Plus, I haven't seen anyone doing object oriented programming on the Arduino.

That was written tongue-in-cheek, I assume?

Other than objects like String and Serial, you mean?

AWOL:
That was written tongue-in-cheek, I assume?

I would assume so, since all the Arduino library source code I have looked at uses Class and Object constructs.

As I said, I think I just need a primer on C++ structures and rules. Figured that would be easier than wading through a large book with chapters on “Hello World”, loops, conditionals, pointers, etc. Guess I’ll just grab the Barnes and Nobel gift card that I got for Christmas and go browse the shelves.

C++ the core language looks exactly what you're looking for.

loops, conditionals, pointers, etc.

So, you are expert on those already?

PaulS:
So, you are expert on those already?

Enough so.

wildbill:
C++ the core language looks exactly what you're looking for.

Thanks. I ordered it from Amazon. Arriving tomorrow.