编程论坛
注册
登录
编程论坛
→
C++教室
怎么会出错呢?
Noll_Nie
发布于 2011-05-15 14:15, 262 次点击
error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' (or there is no accep
table conversion)
这是什么意思啊?
指教下吧
3 回复
#2
寒风中的细雨
2011-05-15 15:21
看看代码
#3
specilize
2011-05-15 18:40
是不是你没有重载输出操作符
#4
donggegege
2011-05-16 13:59
好像是没有重载输出操作符,就用于类得输出啦
1