Thread
:
Output not visible
View Single Post
05-25-2009, 01:25 PM
#
2
(
permalink
)
jamiemac2005
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,883
OS
: Vista, various linux distros
Re: Output not visible
Hey, add the following to your code:
Code:
cin.get();
It will wait for the user to press enter before the program closes. (e.g. put it at the end, after your output routine).
It's a common problem/thing but you'll get used to it.
Cheers,
Jamey
__________________
Myspace
jamiemac2005
View Public Profile
Visit jamiemac2005's homepage!
Find More Posts by jamiemac2005
System Specs