0_0_33849964_15625.cpp:65:11: error: 'MAXL' was not declared in this scope
int digit[MAXL]; //将n的各位拆分
^
0_0_33849964_15625.cpp: In function 'void output(int, int)':
0_0_33849964_15625.cpp:77:9: error: 'digit' was not declared in this scope
digit[MAXL - 1] = 0;
^
0_0_33849964_15625.cpp:77:15: error: 'MAXL' was not declared in this scope
digit[MAXL - 1] = 0;
^
0_0_33849964_15625.cpp:80:22: error: 'MAXL' was not declared in this scope
for (int i = MAXL - 1; n > 0; i--)
^
0_0_33849964_15625.cpp:82:13: error: 'digit' was not declared in this scope
digit[i] = n % 10;
^
0_0_33849964_15625.cpp:90:29: error: 'MAXL' was not declared in this scope
for (int i = 0; i < MAXL; i++)
^
0_0_33849964_15625.cpp:91:17: error: 'digit' was not declared in this scope
if (digit[i] != -1)
^
0_0_33849964_15625.cpp: In function 'int main()':
0_0_33849964_15625.cpp:126:16: error: 'digit' was not declared in this scope
memset(digit, -1, sizeof(digit));
^
|