📜  c程序隐藏控制台窗口-C编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:40.084000             🧑  作者: Mango

代码示例1
#include
#define _WIN32_WINNT 0x0500
#include 


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