Hide the console window
#include <stdio.h>
#include <stdlib.h>
#define _WIN32_WINNT 0x0500
#include <windows.h>
 
HWND hWnd;
 
int main(int argc, char* argv[])
{
    //invisible - hide console window
    hWnd = GetConsoleWindow();
    ShowWindow(hWnd, SW_HIDE);
 
    return 0;
}
Categories: C Tags: , , , ,
%d bloggers like this: