100DaysOfGameDev: Day 6
Day six of hating on this book and on OS X. I finished the calculator program, however the code example provided in the book was incomplete. I had to do some tinkering to fix it, although I guess I can count it as an exercise. After I fixed the code, I spent more time trying to compile it, because seems like even to compile a simple program on mac you don't use gcc
, not g++
nor clang
, but specifically clang++
. I always thought, that on most systems including Mac, g++
is a symbolic link to gcc
with different flags, and I never even knew about the existence of clang++
. Not to mention, that I am already 255 pages in yet it doesn't talk about how you compile your program. That's it for today, be safe, update your Xcode, and use clang++
on mac!