If you want to hide the console, you can call FreeConsole in windows
#include <Windows.h>
int main()
{
FreeConsole();
}
, . , Windows GUI Windows, ,
#include <windows.h>
int WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
return 0;
}