Job 13053

Owner
Szabó Károly
Problem
A+B
Source
0.09KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:5:2: error: 'cin' was not declared in this scope
  cin >> a>>b;
  ^
prog.cpp:5:2: 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:6:2: error: 'cout' was not declared in this scope
  cout << a+b;
  ^
prog.cpp:6:2: 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
                  ^

Questions?

Sponsors Gold