Better not call the "system" functions like system ("pause").
Your job can be very well done using the function cin.get() which does the same function without invoking the system procedures which incur heavy overheads.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
Offline 8,871 posts
since Jun 2006