// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include <stdio.h>
#include <windows.h>

extern "C" {
WINBASEAPI HWND WINAPI GetConsoleWindow(void);
}

int main()
{
   ShowWindow(GetConsoleWindow(), SW_HIDE);
   Sleep(5000);
   ShowWindow(GetConsoleWindow(), SW_SHOW);
   return 0;
}
