问题:
no operator defined which takes a right-hand operand of type 'class std::basic_string
原因:
输入字符串的时候,没有引用<string>库函数,使用<cstring>是没用的
解决:
在代码开始处添加:#include <string>
参考:
no operator defined which takes a right-hand operand of type 'class std::bas