binary ‘>>‘: no operator found which takes a right-hand operand of type ‘std::string‘
文章目录问题解决方法解释问题binary ‘>>’: no operator found which takes a right-hand operand of type ‘std::string’ (or there is no acceptable conversion) 解决方法增加包含头文件#include <string>解释使用std::string而不包含它的头文件可以在一些编译器上工作,这些编译器会间接将的部分导入到或其他头文件中,但这不是标准的,不