0_0_18897320_8844.cpp: In function 'int main()':
0_0_18897320_8844.cpp:7:5: error: expected initializer before 'char'
char str[120];
^
0_0_18897320_8844.cpp:12:12: error: invalid types 'int[int]' for array subscript
n[0]=0;n[1]=0;n[2]=0;n[3]=0;n[4]=0;
^
0_0_18897320_8844.cpp:12:19: error: invalid types 'int[int]' for array subscript
n[0]=0;n[1]=0;n[2]=0;n[3]=0;n[4]=0;
^
0_0_18897320_8844.cpp:12:26: error: invalid types 'int[int]' for array subscript
n[0]=0;n[1]=0;n[2]=0;n[3]=0;n[4]=0;
^
0_0_18897320_8844.cpp:12:33: error: invalid types 'int[int]' for array subscript
n[0]=0;n[1]=0;n[2]=0;n[3]=0;n[4]=0;
^
0_0_18897320_8844.cpp:12:40: error: invalid types 'int[int]' for array subscript
n[0]=0;n[1]=0;n[2]=0;n[3]=0;n[4]=0;
^
0_0_18897320_8844.cpp:13:14: error: 'str' was not declared in this scope
gets(str);
^
0_0_18897320_8844.cpp:14:9: error: 'l' was not declared in this scope
l=strlen(str);
^
0_0_18897320_8844.cpp:18:21: error: invalid types 'int[int]' for array subscript
{n[0]++;continue;}
^
0_0_18897320_8844.cpp:20:20: error: invalid types 'int[int]' for array subscript
{n[1]++;continue;}
^
0_0_18897320_8844.cpp:22:21: error: invalid types 'int[int]' for array subscript
{n[2]++;continue;}
^
0_0_18897320_8844.cpp:24:21: error: invalid types 'int[int]' for array subscript
{n[3]++;continue;}
^
0_0_18897320_8844.cpp:26:21: error: invalid types 'int[int]' for array subscript
{n[4]++;continue;}}
^
0_0_18897320_8844.cpp:27:60: error: invalid types 'int[int]' for array subscript
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n",n[0],n[1],n[2],n[3],n[4]);
^
0_0_18897320_8844.cpp:27:65: error: invalid types 'int[int]' for array subscript
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n",n[0],n[1],n[2],n[3],n[4]);
^
0_0_18897320_8844.cpp:27:70: error: invalid types 'int[int]' for array subscript
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n",n[0],n[1],n[2],n[3],n[4]);
^
0_0_18897320_8844.cpp:27:75: error: invalid types 'int[int]' for array subscript
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n",n[0],n[1],n[2],n[3],n[4]);
^
0_0_18897320_8844.cpp:27:80: error: invalid types 'int[int]' for array subscript
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n",n[0],n[1],n[2],n[3],n[4]);
^
|