0_0_37412720_28934.cpp: In function 'void flag1(char*)':
0_0_37412720_28934.cpp:19:34: error: 'strlen' was not declared in this scope
for (int i = 2; i < strlen(nb); i++)
^
0_0_37412720_28934.cpp:31:27: error: 'printf' was not declared in this scope
printf("%d/%d\n", x, y);
^
0_0_37412720_28934.cpp: In function 'void flag0(char*)':
0_0_37412720_28934.cpp:37:34: error: 'strlen' was not declared in this scope
for (int i = 2; i < strlen(nb); i++)
^
0_0_37412720_28934.cpp:47:33: error: 'printf' was not declared in this scope
printf("%d/%d\n", sum1, xiao);
^
0_0_37412720_28934.cpp: In function 'int main()':
0_0_37412720_28934.cpp:54:19: error: 'scanf' was not declared in this scope
scanf("%d", &n);
^
0_0_37412720_28934.cpp:55:13: error: 'getchar' was not declared in this scope
getchar();
^
0_0_37412720_28934.cpp:59:16: error: 'gets' was not declared in this scope
gets(nb);
^
0_0_37412720_28934.cpp:61:38: error: 'strlen' was not declared in this scope
for (int i = 2; i < strlen(nb); i++)
^
|