fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. cout << "Poznaj samego siebie, a stanie przed tobą cały świat." \n ;
  6. cout << "Sokrates z Aten" \n ;
  7. cout << "Moje dobre strony:" \n ;
  8. cout << "zawsze uśmiechnięta, pogodna, miła, uczciwa, towarzyska" \n ;
  9. return 0;
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:5:70: error: stray ‘\’ in program
   cout << "Poznaj samego siebie, a stanie przed tobą cały świat." \n ;
                                                                      ^
prog.cpp:6:29: error: stray ‘\’ in program
   cout << "Sokrates z Aten" \n ;
                             ^
prog.cpp:7:32: error: stray ‘\’ in program
   cout << "Moje dobre strony:" \n ;
                                ^
prog.cpp:8:72: error: stray ‘\’ in program
   cout << "zawsze uśmiechnięta, pogodna, miła, uczciwa, towarzyska" \n ;
                                                                        ^
prog.cpp: In function ‘int main()’:
prog.cpp:5:69: error: expected ‘;’ before ‘n’
   cout << "Poznaj samego siebie, a stanie przed tobą cały świat." \n ;
                                                                     ^ ~
                                                                     ;
prog.cpp:6:28: error: expected ‘;’ before ‘n’
   cout << "Sokrates z Aten" \n ;
                            ^ ~
                            ;
prog.cpp:7:31: error: expected ‘;’ before ‘n’
   cout << "Moje dobre strony:" \n ;
                               ^ ~
                               ;
prog.cpp:8:71: error: expected ‘;’ before ‘n’
   cout << "zawsze uśmiechnięta, pogodna, miła, uczciwa, towarzyska" \n ;
                                                                       ^ ~
                                                                       ;
stdout
Standard output is empty