How I can compile this C++ code that fails with "'::main' must return 'int'"? [migrated]
- by krisu
I have tried to find a solution that make batch file start flashing on taskbar and only good solution was this post on Stack Overflow.
But I can't compile the code with WinGW or anything else to EXE, only getting this error:
hello.cpp:6:32: error: '::main' must return 'int'
Right now, I'm using TDM-GCC to compile code, because it's bit…