c++ hide the console window code example
Example: c++ hide show console
#include <windows.h>
int main
{
ShowWindow(GetConsoleWindow(), SW_HIDE);
//ShowWindow(GetConsoleWindow(), SW_SHOW);
return 0;
}
#include <windows.h>
int main
{
ShowWindow(GetConsoleWindow(), SW_HIDE);
//ShowWindow(GetConsoleWindow(), SW_SHOW);
return 0;
}