0_0_39167090_11916.cpp: In function 'int main()':
0_0_39167090_11916.cpp:11:10: error: 'scanf' was not declared in this scope
11 | while(scanf("%c%c%c",&a,&b,&c)!=EOF)
| ^~~~~
0_0_39167090_11916.cpp:11:36: error: 'EOF' was not declared in this scope
11 | while(scanf("%c%c%c",&a,&b,&c)!=EOF)
| ^~~
0_0_39167090_11916.cpp:1:1: note: 'EOF' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | void swap(char* a, char*b)
0_0_39167090_11916.cpp:16:7: error: 'printf' was not declared in this scope
16 | printf("%c %c %c\n",a,b,c);
| ^~~~~~
0_0_39167090_11916.cpp:16:7: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
|