Hi All,
Apologies if this question has been asked a thousand times before but I've been scouring the inter-web to no avail. How do you get getline/cin to work? In the Application Output window, I have created a prompt that allows me to enter some data. When I press return to complete my data input, my application does not respond :
while (std::getline(std::cin, buffer))
{
// do some work here NOTE: I can enter data in Eclipse IDE, but not in QT 4.
}
while (std::getline(std::cin, buffer))
{
// do some work here NOTE: I can enter data in Eclipse IDE, but not in QT 4.
}
To copy to clipboard, switch view to plain text mode
Any ideas as to how I can enter data in the application console?
Regards
John
Bookmarks