哪位高手说下呀,,, 小弟在这里跪谢了,《〈〈〈〈〈〈〈〈
错误代码:
--------------------Configuration: 1654 - Win32 Debug--------------------
Compiling...
1654.cpp
d:\program files\microsoft visual studio\vc98\include\ios.h(104) : error C2371: 'ostream' : redefinition; different basic types
d:\program files\microsoft visual studio\vc98\include\iosfwd(257) : see declaration of 'ostream'
d:\program files\microsoft visual studio\vc98\include\istream.h(64) : error C2371: 'istream' : redefinition; different basic types
d:\program files\microsoft visual studio\vc98\include\iosfwd(256) : see declaration of 'istream'
执行 cl.exe 时出错.
1654.exe - 1 error(s), 0 warning(s)
程序:
#include "stdafx.h"
#include "Sales_item.h"
#include "iostream.h"
int main(int argc, char* argv[])
{
Sales_item book;
cin>>book;
cout<<book<<endl;
return 0;
}
MYYA
素胚勾勒不出你
相关分类