Sep 10, 2002 #1 zanza Programmer Feb 18, 2002 89 US what would be the fastest way to pause the system (something like "getch()"?) until the user presses a key? žÅNžÅ
what would be the fastest way to pause the system (something like "getch()"?) until the user presses a key? žÅNžÅ
Sep 10, 2002 #2 Leibnitz Programmer Apr 6, 2001 393 CA you can also try: Code: #include <stdlib.h> .... .. system("pause"); Upvote 0 Downvote
Sep 14, 2002 #4 hughLg Programmer Feb 18, 2002 136 MY here's a C function to do that: Code: int pause() { char c = getch(); if ((c == 0) || (c == 224)) return getch(); return c; } but need <conio.h>. Upvote 0 Downvote
here's a C function to do that: Code: int pause() { char c = getch(); if ((c == 0) || (c == 224)) return getch(); return c; } but need <conio.h>.