error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class std::...

 

没有添加头文件,cout不能直接输出string类的变量。

 

 

转载于:https://www.cnblogs.com/cszlg/archive/2012/06/08/2541206.html

你可能感兴趣的:(error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class std::...)