0_0_39330353_4759.cpp: In function 'int main()':
0_0_39330353_4759.cpp:6:3: error: 'scanf' was not declared in this scope
6 | scanf("%d%d",&a,&b);
| ^~~~~
0_0_39330353_4759.cpp:7:3: error: 'printf' was not declared in this scope
7 | printf("%d\n",a+b);
| ^~~~~~
0_0_39330353_4759.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | int main()
0_0_39330353_4759.cpp:8:7: error: 'getchar' was not declared in this scope
8 | c = getchar();
| ^~~~~~~
0_0_39330353_4759.cpp:8:7: note: 'getchar' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
|