stop and close console

Jan 24, 2013 at 1:51am
How stop console and close to X not Press enter to exit....
Jan 24, 2013 at 6:30am
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 Jan 24, 2013 at 6:33am
Jan 24, 2013 at 1:16pm
I have stop console and close to X not Press enter to exit....
Jan 24, 2013 at 2:06pm
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.
Jan 24, 2013 at 2:48pm
I not goot speak english apeak polish?
Feb 6, 2013 at 4:46am
Use Google translator. What do you mean to X?
Topic archived. No new replies allowed.