I\'ve got a simple hello world example that I\'m trying to compile on OS X, named hw.cpp:
hw.cpp
#include #include usin
Compiling it with gcc requires you to pass a number of command line options. Compile it with g++ instead.
gcc
g++