Answers for "hide console window in c"

C
0

c program hide console window

#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;
}
Posted by: Guest on December-30-2020

Code answers related to "C"

Browse Popular Code Answers by Language