Re: gcc does not work on mac os x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tanja,

>this is the code:

That's not valid C++ (ISO 14882-1998) code.

Try this instead for your hallo.cpp source...
#include <iostream>

int main()
{
  std::cout << "hallo" << std::endl;
}

It appears that your C++ reference books are slightly out of date.

HTH,
--Eljay

PS:  I've been using GCC on Mac OS X for several years.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux