Sorry if this is very basic stuff but here's the story - I've just borrowed a book from a friend to try and teach myself C++, I've opened up Project builder and started a new C++ file. Lesson 1 - The basics of C++, I typed the following in,
/*
* hello.cpp
* Created by jeff on Tue Jun 19 2001.
* Copyright (c) 2001 __CompanyName__. All rights reserved.
*
*/
#include <Carbon/Carbon.h>
#include <iostream>
int main ()
{
cout<<"Hello World!";
return 0;
}
Then I saved it as hello.cpp and opened up the terminal to compile it using,
cc hello.cpp and it comes back with the message below-
/usr/bin/ld: Undefined symbols:
___ls__7ostreamPCc
_cout
What went wrong?

Cheers
[ 06-19-2001: Message edited by: JH ]