这个程序错在哪儿?编译一直报错。 cpp(13) : error C2109: subscript requires array or pointer type

日期:2021-12-28 13:12:32 人气:1

这个程序错在哪儿?编译一直报错。 cpp(13) : error C2109: subscript requires array or pointer type

#include<iostream.h>
main()
{
int i,j;
float sum=0;
float temp=0;
float top=0;
int flag;
int score[][3]={{90,100,90},{95,95,80},{85,100,100}}; // <-----这样定义二维数组
for(i=0;i<3;i++
    A+
热门评论