scanf2.cpp:1:1: error: 'include' does not name a type; did you mean '__has_include'?
include <iostream>
^~~~~~~
__has_include
scanf2.cpp: In function 'int main()':
scanf2.cpp:5:3: error: 'cin' was not declared in this scope
cin>>a;
^~~
scanf2.cpp:5:3: note: suggested alternative: 'main'
cin>>a;
^~~
main
scanf2.cpp:8:5: error: 'cout' was not declared in this scope
cout>>("00");
^~~~
scanf2.cpp:12:5: error: 'cout' was not declared in this scope
cout>>("0");
^~~~
scanf2.cpp:14:5: error: 'cout' was not declared in this scope
cout>>a;
^~~~