how to hide terminal in c++ code code example
Example 1: hide terminal window c++
// Detaches the calling process from its console.
BOOL FreeConsole(void);
Example 2: hide terminal window c++
myConsole = GetConsoleWindow();
ShowWindow(myConsole,SW_HIDE);