怎么總是報錯
#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
你花括弧用的是中文的
{}?? {}
前面的那一個是中文的 后面的是英文的 有點差別