Compiler output
prog.cpp: In function 'int main()':
prog.cpp:6:5: error: 'cin' was not declared in this scope
std:cin >> a >> b;
^
prog.cpp:6:5: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.9/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
prog.cpp:7:1: error: duplicate label 'std'
std:cout << a + b;
^
prog.cpp:7:5: error: 'cout' was not declared in this scope
std:cout << a + b;
^
prog.cpp:7:5: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.9/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
prog.cpp:6:1: warning: label 'std' defined but not used [-Wunused-label]
std:cin >> a >> b;
^