no operator defined which takes a right-hand operand of type 'class std::basic_string

Dear 丶 2023-06-18 13:53 43阅读 0赞

问题:

  1. 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

发表评论

表情:
评论列表 (有 0 条评论,43人围观)

还没有评论,来说两句吧...

相关阅读