0_0_26385344_4639.c: In function 'main':
0_0_26385344_4639.c:12:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < strlen(t); ++i)//处理每个字符
^
0_0_26385344_4639.c:12:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_26385344_4639.c:12:37: error: expected expression before '/' token
for (int i = 0; i < strlen(t); ++i)//处理每个字符
^
0_0_26385344_4639.c:12:37: error: stray '\264' in program
0_0_26385344_4639.c:12:37: error: stray '\246' in program
0_0_26385344_4639.c:12:37: error: stray '\300' in program
0_0_26385344_4639.c:12:37: error: stray '\355' in program
0_0_26385344_4639.c:12:37: error: stray '\303' in program
0_0_26385344_4639.c:12:37: error: stray '\277' in program
0_0_26385344_4639.c:12:37: error: stray '\270' in program
0_0_26385344_4639.c:12:37: error: stray '\366' in program
0_0_26385344_4639.c:12:37: error: stray '\327' in program
0_0_26385344_4639.c:12:37: error: stray '\326' in program
0_0_26385344_4639.c:12:37: error: stray '\267' in program
0_0_26385344_4639.c:12:37: error: stray '\373' in program
0_0_26385344_4639.c:14:3: error: stray '\274' in program
if(t[i]!='5')//继续输入
^
0_0_26385344_4639.c:14:3: error: stray '\314' in program
0_0_26385344_4639.c:14:3: error: stray '\320' in program
0_0_26385344_4639.c:14:3: error: stray '\370' in program
0_0_26385344_4639.c:14:3: error: stray '\312' in program
0_0_26385344_4639.c:14:3: error: stray '\344' in program
0_0_26385344_4639.c:14:3: error: stray '\310' in program
0_0_26385344_4639.c:14:3: error: stray '\353' in program
0_0_26385344_4639.c:34:11: error: redefinition of 'i'
for (int i = 0; i < cnt; ++i)
^
0_0_26385344_4639.c:12:11: note: previous definition of 'i' was here
for (int i = 0; i < strlen(t); ++i)//处理每个字符
^
0_0_26385344_4639.c:34:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < cnt; ++i)
^
0_0_26385344_4639.c:36:3: error: expected expression before '/' token
//printf("%d\n",num[i] );
^
0_0_26385344_4639.c:38:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = i; j < cnt; ++j)
^
0_0_26385344_4639.c:51:11: error: redefinition of 'i'
for (int i = 0; i < cnt; ++i)
^
0_0_26385344_4639.c:34:11: note: previous definition of 'i' was here
for (int i = 0; i < cnt; ++i)
^
0_0_26385344_4639.c:51:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < cnt; ++i)
^
|