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

 

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

 

 

posted on 2012-06-08 08:02  铁树银花  阅读(3585)  评论(0编辑  收藏  举报

导航