12345678
#include <windows.h> int main() { FreeConsole(); // whatever code you want here. return 0; }