stop and close console

How stop console and close to X not Press enter to exit....
Can you be more specific please?

As I interpret the question...

If you want to close the console window but leave the program still running, call FreeConsole() (http://msdn.microsoft.com/en-us/library/windows/desktop/ms683150%28v=vs.85%29.aspx)

If you want to kill the program from the console window, type Ctrl-C in the console window.

sorry if i didn't answer the question!
Last edited on
I have stop console and close to X not Press enter to exit....
English, Please.

Anyways you may just let it run in an infinite loop, looking for some function that just waits randomly like in Windows "Sleep" until user presses X.
I not goot speak english apeak polish?
Use Google translator. What do you mean to X?
Topic archived. No new replies allowed.