aplusb.cpp: In function 'int main()':
aplusb.cpp:8:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
8 | cin>>a>>b;
| ^~~
| std::cin
In file included from aplusb.cpp:2:
/usr/include/c++/11/iostream:60:18: note: 'std::cin' declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
aplusb.cpp:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
9 | cout<<a+b;
| ^~~~
| std::cout
In file included from aplusb.cpp:2:
/usr/include/c++/11/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~