Hi, I want to read input from the user in text mode QT application and this doesn't stop the program to enter the name:
Code:
I didn't add the line where I want to write the contents into enteredName...how can I do that?
Printable View
Hi, I want to read input from the user in text mode QT application and this doesn't stop the program to enter the name:
Code:
I didn't add the line where I want to write the contents into enteredName...how can I do that?
The following example is from QTextStream docs: