0_0_27616112_15301.cpp:1:11: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_27616112_15301.cpp: In function 'int main()':
0_0_27616112_15301.cpp:10:22: error: 'scanf' was not declared in this scope
scanf("%d", &num);
^
0_0_27616112_15301.cpp:11:14: error: 'getchar' was not declared in this scope
getchar();
^
0_0_27616112_15301.cpp:14:23: error: 'gets' was not declared in this scope
gets(string);
^
0_0_27616112_15301.cpp:15:32: error: 'strlen' was not declared in this scope
length=strlen(string);
^
0_0_27616112_15301.cpp:21:17: error: expected ';' before '{' token
{
^
0_0_27616112_15301.cpp:21:17: error: expected primary-expression before '{' token
0_0_27616112_15301.cpp:21:17: error: expected ')' before '{' token
0_0_27616112_15301.cpp:45:29: error: 'printf' was not declared in this scope
printf("yes");
^
0_0_27616112_15301.cpp:48:28: error: 'printf' was not declared in this scope
printf("no");
^
0_0_27616112_15301.cpp:53:29: error: 'printf' was not declared in this scope
printf("\n");
^
|