怎么總是報(bào)錯(cuò)
#include <stdio.h>
int main()
{
? ? int arrFirst[3] = {1,2,3};
? ? int arrSecond[] = {1,2,3};
? ? int arrThird[3];
? ? arrThird[0]= 1;
? ? arrThird[1]= 2;
? ? arrThird[2]= 3;
? ? printf("%d\n",arrFirst[1]);
? ? printf("%d\n",arrSecond[1]);
? ? printf("%d\n",arrThird[1]);
? ? return 0;
}
2016-03-20
你花括弧用的是中文的
{}?? {}
前面的那一個(gè)是中文的 后面的是英文的 有點(diǎn)差別