I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index »

an error and a warning

john\′s Photo
11 Jan 09, 11:07PM
an error and a warning
Hi, just tried myself under OSX. With gcc, I get errors also.

But isn't gcc for compiling straight c, not c++. So try use: g++, thus:
g++ test.cpp -lm -o test
works perfectly. Getting exact same results as those illustrated.
Currently you need to be logged in to leave a message.