Search:

Type: Posts; User: ulti-killer

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,972

    1) Why getchar() needs to call twice if preceding...

    1) Why getchar() needs to call twice if preceding code uses scanf()?
    2) How to design to achieve Press any key to continue...?
  2. Replies
    8
    Views
    1,972

    #include int main() {...

    #include <stdio.h>

    int main()
    {
    printf("Press any key to continue...");
    getchar();
    return 0;
    }
  3. Replies
    8
    Views
    1,972

    system("pause")

    Is there any way to replace system("pause")? :confused:
Results 1 to 3 of 3