I try to use c++ test.cpp -o test.out
it shows me that "/usr/bin/ld: /usr/lib/libSystem.dylib load command 6 unknown cmd field". I only typed like
#include<iostream.h>
int main()
{
cout << "Hello" << endl;
return 0;
}
Why I can't output a simple C++?
It could work when I used X 10.0x. What happens now?
Help me please and thanx~
it shows me that "/usr/bin/ld: /usr/lib/libSystem.dylib load command 6 unknown cmd field". I only typed like
#include<iostream.h>
int main()
{
cout << "Hello" << endl;
return 0;
}
Why I can't output a simple C++?
It could work when I used X 10.0x. What happens now?
Help me please and thanx~