hide console window with c++ code code example
Example 1: how to hide the console c++
#include <WinUser.h>
int main
{
ShowWindow(GetConsoleWindow(), SW_HIDE);
return 0;
}
Example 2: how to hide the c++ console
#include <WinUser.h>
ShowWindow(GetConsoleWindow(), SW_HIDE);