Hello,
You could use the function getch() in the dos headerfile conio.h, which usually is what i do.
Example:
#include <conio.h>
int main(void)
{
...
...
getch();
}
Note that getch() doesn't work on the UNIX-platform.
You could also insert a pause, which you do like this:
#include...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.