Prompting....

This is a discussion on Prompting.... within the C++ Programming forums, part of the General Programming Boards category; Just wondering whether there is any hold the screen (console) until the user presses the enter key (or any other ...

  1. #1
    Registered User heljy's Avatar
    Join Date
    Mar 2002
    Posts
    36

    Prompting....

    Just wondering whether there is any hold the screen (console) until the user presses the enter key (or any other key).


    getchar() can be used in C, what about C++?

    Must be ANSI compatible.

    Thanks!
    If only life is as easy as C...

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    162
    Does the FAQ section say?

  3. #3
    Registered User heljy's Avatar
    Join Date
    Mar 2002
    Posts
    36
    getch and kbhit are not ANSI compatible.....

    Is that the only way that we can pause the screen??

    Any other tricks?

    (I need to make it work in Unix..)
    If only life is as easy as C...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-22-2009, 10:50 PM
  2. prompting user for data
    By radical in forum C Programming
    Replies: 5
    Last Post: 07-28-2005, 11:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21