Compiler output
prog.cpp:4:5: warning: second argument of 'int main(int, char*)' should be 'char **' [-Wmain]
int main(int argc, char *argv)
^
prog.cpp: In function 'int main(int, char*)':
prog.cpp:7:7: warning: unused variable 'ok' [-Wunused-variable]
bool ok = false;
^
prog.cpp:8:7: warning: unused variable 'locomotive' [-Wunused-variable]
bool locomotive = false;
^
prog.cpp:9:6: warning: unused variable 'contor' [-Wunused-variable]
int contor = 0;
^
prog.cpp:10:6: warning: variable 'bytes' set but not used [-Wunused-but-set-variable]
int bytes;
^
prog.cpp: At global scope:
prog.cpp:4:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char *argv)
^
prog.cpp:4:26: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char *argv)
^