I tried it with Visual C++ but this is what I got:

--------------------Configuration: GUi2 - Win32 Debug--------------------
Compiling...
GUI2.cpp
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/GUi2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

GUi2.exe - 2 error(s), 0 warning(s)