y**i 发帖数: 357 | 1 i want to use old classes in iostream.h , ifstream.h ...
#include
#include
...
cout<<"a";
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? |
|