Hello all. I've just installed Qt Creator 1.3.0 in Ubuntu 9.10. I want to use Qt Creator 1.3.0 to develop simple console applications like this:
#include <iostream>
using namespace std;
int main()
{
int n, m;
cout << "Enter numbers: ";
cin >> n >> m;
cout << n << " " << m;
return 0;
}
It compile. When I run it, program prints "Enter numbers: ". I enter two numbers separated with space in Application Output, but application don't react on any number.
Plz, help me. How to use standard C++ console input in Qt Creator? I've tried to use 'Run in terminal' option, but it doesn't help.