fork download
  1. int main(argc, argv) int argc; char** argv;
  2. {
  3. return 0;
  4. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:10: error: ‘argc’ was not declared in this scope
 int main(argc, argv) int argc; char** argv;
          ^
prog.cpp:1:16: error: ‘argv’ was not declared in this scope
 int main(argc, argv) int argc; char** argv;
                ^
prog.cpp:1:20: error: expression list treated as compound expression in initializer [-fpermissive]
 int main(argc, argv) int argc; char** argv;
                    ^
prog.cpp:1:22: error: expected ‘,’ or ‘;’ before ‘int’
 int main(argc, argv) int argc; char** argv;
                      ^
prog.cpp:2:1: error: expected unqualified-id before ‘{’ token
 {
 ^
stdout
Standard output is empty