Question:
Best book to learn c++ on a mac?
Oscar
2013-12-19 12:34:17 UTC
Hey Guys

So I have officially decided to learn c++ for game development, and I need a beginners book to teach me the basics. I know the basics of Java, since I bought "Beginning programming in Java for Dummies".

The problem is, I work on a mac, and I have heard that some books like the c++ for Dummies (I think), doesn't explain anything about the mac versions.

Sooo, which book is the best to learn the basics of c++, even though I work on a mac. Any help is appreciated

Thaaank, You!
Four answers:
2013-12-19 18:39:43 UTC
Like Ducan said, C++ is still C++. Any C++ tutorial will work.



Somethings to keep in mind is that you will not be able to use the windows.h header inside XCode. If you want to run anything with the windows.h header you will have to use Visual Studios IDE inside Bootcamp.



Another thing to keep in mind is to ignore all the system() functions because those are Visual Studio IDE functions that only works inside the Visual Studios IDE.
?
2016-12-17 12:00:30 UTC
Best Xcode Book
2013-12-19 12:54:03 UTC
The Mac version is C++ so any book on standard C++ will be fine. The standard GCC / LLVM compilers installed with XCode are all you need.



If the book mentions Windows then it will likely include the non-standard Windows version of C++ which is best avoided at all times.



http://libcxx.llvm.org





http://www.cprogramming.com/tutorial/lesson1.html
Jim
2013-12-19 13:08:31 UTC
http://www.cplusplus.com/doc/tutorial/


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...