Re: Newbie very confused
- Posted by Tom Mar 16, 2009
- 1284 views
When a program is finished, the window with the results gets "put away". The cure for this is to add
? gets(0)
as the last line of the program. What this does request input ( the gets(0) part), and then displays the result ( the ? part ). You then see your results, and when you type anything on the keyboard, the program finishes.