Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To (press a key to continue)

Status
Not open for further replies.

LTLHAWK

Technical User
Jan 3, 2002
5
US
Hi,

I know this is a basic question, but I am new to programming so here goes. Is there a function I can use at the end of my dos program that will wait for the "enter" or any other key to be pressed before terminating.
 
well after a little searching in this forum I found my answer.

I used;

#include conio.h
...
ch=getch();

Thank you for the help..this site is awesum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top