About the function of system("PAUSE") C++ ??

Status
Not open for further replies.

MooMin

Newbie level 1
Joined
Nov 25, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
I would like to ask how to write a function that has the same objective as system("PAUSE") but can display any words we like?

e.g. system("PAUSE") -- would display "Press any key to continue..."
Myfunction -- would display "Press a key to start..."

Thanks
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…