fork download
  1. for(unsigned int i = 0; i < 3 ; i ++);
  2. std::cout<<“Hello World”<<std::endl;
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:2:16: error: stray ‘\342’ in program
     std::cout<<“Hello World”<<std::endl;
                ^
prog.cpp:2:17: error: stray ‘\200’ in program
     std::cout<<“Hello World”<<std::endl;
                 ^
prog.cpp:2:18: error: stray ‘\234’ in program
     std::cout<<“Hello World”<<std::endl;
                  ^
prog.cpp:2:30: error: stray ‘\342’ in program
     std::cout<<“Hello World”<<std::endl;
                              ^
prog.cpp:2:31: error: stray ‘\200’ in program
     std::cout<<“Hello World”<<std::endl;
                               ^
prog.cpp:2:32: error: stray ‘\235’ in program
     std::cout<<“Hello World”<<std::endl;
                                ^
prog.cpp:1:1: error: expected unqualified-id before ‘for’
 for(unsigned int i = 0; i < 3 ; i ++);
 ^~~
prog.cpp:1:25: error: ‘i’ does not name a type
 for(unsigned int i = 0; i < 3 ; i ++);
                         ^
prog.cpp:1:33: error: ‘i’ does not name a type
 for(unsigned int i = 0; i < 3 ; i ++);
                                 ^
prog.cpp:2:10: error: ‘cout’ in namespace ‘std’ does not name a type
     std::cout<<“Hello World”<<std::endl;
          ^~~~
stdout
Standard output is empty