Hi
I have installed Xcode 3 on my Mac OS X 10.5.1, and i want to use it to program C++. But the problem is that I really don't know how!
I went to start a new project, and selected Carbon C++ Standard.
Then I added a cpp file to it, and used the very simple code:
#include <iostream>
int main(void)
{
cout << "Hello World!";
return 0;
}
but it did not compile! Why?
THanks
I have installed Xcode 3 on my Mac OS X 10.5.1, and i want to use it to program C++. But the problem is that I really don't know how!
I went to start a new project, and selected Carbon C++ Standard.
Then I added a cpp file to it, and used the very simple code:
#include <iostream>
int main(void)
{
cout << "Hello World!";
return 0;
}
but it did not compile! Why?
THanks