Search:

Type: Posts; User: cgkanchi; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    15
    Views
    18,116

    AFAIK, getch() and getche() aren't ANSI C...

    AFAIK, getch() and getche() aren't ANSI C functions. Therefore, you are not guaranteed that they will work. I know for a fact that it doesn't work on gcc and that it works on Turbo/Borland C++.
    ...
  2. Replies
    15
    Views
    18,116

    I was just about to say the same thing. scanf()...

    I was just about to say the same thing. scanf() is a very fussy function. Sometimes, it just refuses to scan. To get single letters from input, I find getchar() to be much much better.

    Cheers,...
Results 1 to 2 of 2