how to use iostream.h under SUN ?# Unix - 噫吁兮,危乎高哉
y*i
1 楼
i want to use old classes in iostream.h , ifstream.h ...
#include
#include
...
cout<ifstream s("a");
s.gcount();
...
compile is ok, but link will give error:
Undefined symbol:
cout
gcount
seems this is linker problem, how to tell linker to use iostream?
#include
#include
...
cout<ifstream s("a");
s.gcount();
...
compile is ok, but link will give error:
Undefined symbol:
cout
gcount
seems this is linker problem, how to tell linker to use iostream?