1:
2110583.338867\Main.cpp(42) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
istream(1000): could be 'std::basic_istream<_Elem,_Traits> &std::operator >><std::char_traits<char>>(std::basic_istream<_Elem,_Traits> &,signed char *)'
错误的原因:若出现以上错误,请检查#include<iostream> #include<string> 都不要包含.h,记住去除.h