首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

初学者的有关问题

2012-03-18 
菜鸟的问题#include iostream.h#include stringusingnamespacestdvoidmain(){stringacin a}erro

菜鸟的问题
#include <iostream.h>
#include <string>
using   namespace   std;
void   main()
{
string   a;
cin> > a;
}
error   C2679:   binary   '> > '   :   no   operator   defined   which   takes   a   right-hand   operand   of   type   'class   std::basic_string <char,struct   std::char_traits <char> ,class   std::allocator <ch
我已经这问题困扰久了,请问是什么错误呀、


[解决办法]
汗LS的。。。

热点排行