int main()
{
std::string str;
std::cout << "Hello world!" << std::endl;
std::cin >> str;
return 0;
}
#include <iostream>
int main()
{
std::cout << "Hello world!" << std::endl;
system("pause");
return 0;
}
wait, didn't the console runner program do that automatically? :?
The simple solution is:
Ok, the new console_runner you supplied adds this feature.
-Now I ask, is there any way to close the console automatically when my application terminates - some settings in the environment for instance?