add this code in main() to stop the console from popping up ``` #ifdef _WIN32 DWORD procs[2]; DWORD procct = GetConsoleProcessList((LPDWORD)procs, 2); if (procct < 2) ShowWindow(GetConsoleWindow(), SW_HIDE); #endif ```
add this code in main() to stop the console from popping up