Despite the fact that the languages ​​of this family are connected with each other, this does not mean that you can carelessly switch from one to another and expect to write beautiful code. You must learn linguistic idioms and features, test your strengths and way of thinking.
I would recommend reading the original Straustrup book (of course, a modern edition). This is the most specific reference (with the exception of the actual standard), and it is very clearly written. The advantage of this approach is that you will be taught to think “how would I do it in C ++”, and not “how to transliterate this piece of Java code so that it compiles”. (Also, this approach eliminates any risk that you might have to “learn C first . ” ).
On MacOSX, download and create a free GCC or get Xcode (which comes with GCC). For iOS, I don’t know, I have a suspicion that you cannot deploy your own code on it.
Kerrek SB
source share