fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int i, j;
  6. double d;
  7. i = 10;
  8. j = 20;
  9. d = 99.101;
  10. cout « "Вот несколько чисел:
  11. cout « i;
  12. cout « ' ';
  13. cout « j;
  14. cout « ' ';
  15. cout « d;
  16. return 0;
  17. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:10:1: error: stray '\302' in program
 cout « "Вот несколько чисел:
 ^
prog.cpp:10:1: error: stray '\253' in program
prog.cpp:10:9: warning: missing terminating " character
 cout « "Вот несколько чисел:
         ^
prog.cpp:10:1: error: missing terminating " character
 cout « "Вот несколько чисел:
 ^
prog.cpp:11:1: error: stray '\302' in program
 cout « i;
 ^
prog.cpp:11:1: error: stray '\253' in program
prog.cpp:12:1: error: stray '\302' in program
 cout « ' ';
 ^
prog.cpp:12:1: error: stray '\253' in program
prog.cpp:13:1: error: stray '\302' in program
 cout « j;
 ^
prog.cpp:13:1: error: stray '\253' in program
prog.cpp:14:1: error: stray '\302' in program
 cout « ' ';
 ^
prog.cpp:14:1: error: stray '\253' in program
prog.cpp:15:1: error: stray '\302' in program
 cout « d;
 ^
prog.cpp:15:1: error: stray '\253' in program
prog.cpp: In function 'int main()':
prog.cpp:11:1: error: expected ';' before 'cout'
 cout « i;
 ^
prog.cpp:12:9: error: expected ';' before '\x20'
 cout « ' ';
         ^
prog.cpp:13:9: error: expected ';' before 'j'
 cout « j;
         ^
prog.cpp:14:9: error: expected ';' before '\x20'
 cout « ' ';
         ^
prog.cpp:15:9: error: expected ';' before 'd'
 cout « d;
         ^
stdout
Standard output is empty