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
{
^