U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Console app: Pressing any key does not close window!
Console app: Pressing any key does not close window! [message #49129] Sun, 24 December 2017 06:28 Go to previous message
ptkacz is currently offline  ptkacz
Messages: 89
Registered: March 2017
Member
Not sure if any one logged the following U++ feature. When a U++ console app has finished processing, one is prompted to close the window by pressing "any key". Unfortunately this doesn't work with the exception of pressing the enter key. Maybe this message should be updated, or the code for exiting the console app updated? Anyways, here's the code followed by a screen shot.

Code:
#include <iostream>
#include <iostream> 

int main(int argc, const char *argv[])
{
	std::cout << "Go ahead and press any key!" << std::endl;
	return 0;
}


Screen Shot
index.php?t=getfile&id=5464&private=0
 
Read Message
Read Message
Previous Topic: Link Libraries
Next Topic: How to change shortcut in TheIDE?
Goto Forum:
  


Current Time: Wed May 20 19:10:57 GMT+2 2026

Total time taken to generate the page: 0.00731 seconds