\aa.h|20|error:no match for 'operator>>' in 'std::cin >> "\37777777723\37777777642\37777777723\377我用codeblochs编写一个类函数的时候,怎么不能通过编译,

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/13 05:00:32

\aa.h|20|error:no match for 'operator>>' in 'std::cin >> "\37777777723\37777777642\37777777723\377我用codeblochs编写一个类函数的时候,怎么不能通过编译,
\aa.h|20|error:no match for 'operator>>' in 'std::cin >> "\37777777723\37777777642\37777777723\377
我用codeblochs编写一个类函数的时候,怎么不能通过编译,

\aa.h|20|error:no match for 'operator>>' in 'std::cin >> "\37777777723\37777777642\37777777723\377我用codeblochs编写一个类函数的时候,怎么不能通过编译,
cin是从标准输入流中提取数据给变量赋值,可是“英语”、“数学”、“C++语言”是常量.看你的意思应该是这样写:
cout > scores[0];
cout > scores[1];
cout > scores[2];