haitao:
应该用什么头文件?我用了<fstream.h>却报102个错
[阅读: 2959] 2004-12-23 04:10:10
Compiling...
CommIni.cpp
d:\vs6\vc98\include\ios.h(146) : error C2872: 'streambuf' : ambiguous symbol
d:\vs6\vc98\include\ios.h(159) : error C2872: 'ostream' : ambiguous symbol
d:\vs6\vc98\include\ios.h(159) : error C2872: 'ostream' : ambiguous symbol
d:\vs6\vc98\include\ios.h(160) : error C2872: 'ostream' : ambiguous symbol
d:\vs6\vc98\include\ios.h(180) : error C2872: 'streambuf' : ambiguous symbol
d:\vs6\vc98\include\ios.h(207) : error C2872: 'streambuf' : ambiguous symbol
d:\vs6\vc98\include\ios.h(210) : error C2872: 'streambuf' : ambiguous symbol
d:\vs6\vc98\include\ios.h(219) : error C2872: 'ostream' : ambiguous symbol
d:\vs6\vc98\include\streamb.h(90) : error C2872: 'streampos' : ambiguous symbol
d:\vs6\vc98\include\streamb.h(90) : error C2872: 'streamoff' : ambiguous symbol
d:\vs6\vc98\include\streamb.h(91) : error C2872: 'streampos' : ambiguous symbol
d:\vs6\vc98\include\streamb.h(91) : error C2872: 'streampos' : ambiguous symbol
d:\vs6\vc98\include\ios.h(258) : error C2872: 'ios' : ambiguous symbol
...