I've installed the December 2002 developer tools which are the latest dev tools onto 10.2.8.Here is my little test cpp program.
#include <iostream>
using namespace std
void main ()
{
}
I then try to compile the code[
[Powerbook:~/Documents] danny% cc assignment1.cpp
and get this error message .... Can't cc find the library iostream or what is wrong.
Thanks in advance
assignment1.cpp:3: parse error before `void'
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h: In function `const _Tp&
std::min(const _Tp&, const _Tp&

[with _Tp = size_t]':
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:793: instantiated from here
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:153: `__b' undeclared
(first use this function)
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:153: (Each undeclared
identifier is reported only once for each function it appears in.)
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:153: `__a' undeclared
(first use this function)
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h: In function `bool
std::lexicographical_compare(_InputIter1, _InputIter1, _InputIter2,
_InputIter2) [with _InputIter1 = const signed char*, _InputIter2 = const
signed char*]':
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:805: instantiated from here
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:745: `__first1'
undeclared (first use this function)
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:745: `__last1'
undeclared (first use this function)
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:745: `__first2'
undeclared (first use this function)
/usr/include/gcc/darwin/3.1/g++-v3/bits/stl_algobase.h:745: `__last2'
undeclared (first use this function)
/usr/include/gcc/darwin/3.1/g++-v3/cmath: In function `_Tp
std::__pow_helper(_Tp, int) [with _Tp = double]':
/usr/include/gcc/darwin/3.1/g++-v3/cmath:426: instantiated from here
/usr/include/gcc/darwin/3.1/g++-v3/cmath:399: `__n' undeclared (first use this
function)
/usr/include/gcc/darwin/3.1/g++-v3/cmath:399: `__x' undeclared (first use this
function)
/usr/include/gcc/darwin/3.1/g++-v3/cmath:399: `__cmath_power' undeclared (first
use this function)
[Powerbook:~/Documents] danny%