I created the test program that is given on the CD and it ran perfectly.
Now when I create new projects and copy code from the textbook I always get a 'exited with code 0' message and I don't see the output of the program.
Here is an example:
C:\unisa\cos2614\ezust\Exerc1411-build-desktop\debug\Exerc1411.exe exited with code 0
When I try to compile it from command prompt I don't get any errors but I also don't see a screen.
I copied and pasted the code straight from the textbook and I made the necessary changes given in Tut 102 to the project so it will compile in the command prompt.
Thanks, I'm getting there. I'd forgotten to check Run in terminal.
But now when I run it from Qt Creator, I get a dos window opening but all it says is "Press <RETURN> to close this window" and when I run it from command prompt, it waits a couple of seconds and then I get the prompt again.
I'm trying to run exercise 220.127.116.11 where I should be prompted to supply input.