the error: no operator << matches these operands

妖狐艹你老母 2021-12-01 15:54 317阅读 0赞

string imageName;

cout <<”imageName is” << imageName <<endl;

the error: no operator << matches these operands这个出现的原因是在输出字符串的时候没有加头文件

the solution:

#include “iostream”

#include

发表评论

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

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

相关阅读