Hi there,

I am very new at QT and have some knowledge on C++. My university has given us a textbook which explains very little about how or where to enter the code or what to choose when inputting the examples. If I type the Code in normal c++ it works. When I type it in a QT Application project file, the CIN statement doesn't allow one to input anything and I have to manually crash the program. Please can someone explain what I am doing wrong.

I'd really appreciate it.

Kind regards

Sam