Thread: getche();

  1. #1
    Mmm. Purple.
    Join Date
    May 2002


    i know ive been here alot today, and i think this is the same question as a few posts ago but
    int a=0;
    cout<<"after this will be the key i pressed";
    The thing is....I DONT WANT NUMBER AFTER "pressed"
    Im using Dev-C++ dos programming
    Last edited by krappykoder; 03-01-2003 at 09:25 AM.

  2. #2
    Registered User
    Join Date
    Sep 2002
    What's the question?


    What? I don't want number after pressed? What'd you mean?
    Last edited by Travis Dane; 03-01-2003 at 09:52 AM.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002

    Re: getche();

    >>I DONT WANT NUMBER AFTER "pressed"
    getche() echos the key to the screen. To suppress it, use getch() (if you have it)
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem with login thingy....
    By Huskar in forum C Programming
    Replies: 4
    Last Post: 03-31-2009, 06:23 PM
  2. Writing my own getche() function
    By Mavix in forum C Programming
    Replies: 4
    Last Post: 11-08-2006, 05:51 AM
  3. Problem with getche()
    By Caze in forum C++ Programming
    Replies: 2
    Last Post: 05-01-2005, 09:30 AM
  4. charactor count wthout getche function..?
    By gardenair in forum C Programming
    Replies: 3
    Last Post: 05-18-2003, 04:04 AM
  5. getche() with cin.getline() ?
    By marCplusplus in forum C++ Programming
    Replies: 8
    Last Post: 12-21-2001, 02:13 AM