no operator defined which takes a right-hand operand of type 'class std::basic_string
问题:
no operator defined which takes a right-hand operand of type 'class std::basic_string
原因:
输入字符串的时候,没有引用
解决:
在代码开始处添加:#include
参考:
no operator defined which takes a right-hand operand of type ‘class std::bas
还没有评论,来说两句吧...