c Programme masquer la fenêtre de la console

#include<stdio.h>
#define _WIN32_WINNT 0x0500
#include <windows.h>


int main(int argc,char** argv){   
    HWND hWnd = GetConsoleWindow();
    ShowWindow( hWnd, SW_MINIMIZE );
    ShowWindow( hWnd, SW_HIDE );
    return 0;
}
JulesG10