error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class std::basic_s
2012-06-08 08:02
543 查看
没有添加头文件<string>,cout不能直接输出string类的变量。
相关文章推荐
- 【原】error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string'
- error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class Stude
- error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::wstring'
- error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string'
- 解决 C++错误 error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CString' (or there is no
- C2679: binary '<<' : no operator found which takes a right-hand operand of type 'const std::basic
- error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::wstring'
- error C2679: binary '<<' : no operator defined which takes a right-hand operand of type '' (or there is no acceptable conversion
- 错误 1 error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::str
- error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string'
- C++,如何输出string类型的数据(报错:no operator defined which takes a right-hand operand of type 'class std::bas)
- error C2679: binary '<<' : no operator defined which takes a right-hand operand of type '' (or there is no acceptable conversion
- Error 1 error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::
- error C2677: binary '-' : no global operator defined which takes type 'class CString' (or there is n
- error C2678: binary '>>' : no operator found which takes a left-hand operand of type 'std::
- error C2678 binary '<' : no operator found for map<std::string, shared_ptr<Foo>>
- error C2039: "nocreate": 不是"std::basic_ios<char,std::char_traits<char>>
- error C2679: binary '<<' : no operator found 解决办法
- error C2079: “out”使用未定义的 class“std::basic_ofstream<_Elem,_Traits>”
- class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<ch