注册 登录
编程论坛 C++教室

C++初学,程序实验遇到问题,求高手指点一二。。。谢谢

loveshuang 发布于 2010-11-15 09:10, 507 次点击
\c++实验程序\133\3.cpp(98) : error C2784: 'class std::basic_ostream<_E,_Tr> &__cdecl std::operator <<(class std::basic_ostream<_E,_Tr> &,const _E *)' : could not deduce template argument for 'class std::basic_ostream<_E,_Tr> &' from 'class std::ba
    这个错误是什么意思呢???
1 回复
#2
玩出来的代码2010-11-15 15:33
参数推导问题,编译器不能根据你给的类型推导出相应的型别。只能看这么些了。
1