0_0_25048715_21761.cpp:1:11: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25048715_21761.cpp:2:11: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25048715_21761.cpp:3:11: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25048715_21761.cpp: In function 'void change(char*, int)':
0_0_25048715_21761.cpp:13:28: error: 'printf' was not declared in this scope
printf("%c", str[i]);
^
0_0_25048715_21761.cpp:15:16: error: 'printf' was not declared in this scope
printf("\n");
^
0_0_25048715_21761.cpp: In function 'int main()':
0_0_25048715_21761.cpp:26:23: error: 'scanf' was not declared in this scope
scanf("%s", &s);
^
0_0_25048715_21761.cpp:27:17: error: 'getchar' was not declared in this scope
getchar();
^
0_0_25048715_21761.cpp:28:35: error: 'strcmp' was not declared in this scope
if (strcmp(s, "ENDOFINPUT") == 0) {
^
0_0_25048715_21761.cpp:32:46: error: 'memset' was not declared in this scope
memset(str, '\0', 1000 * sizeof(char));
^
|