Hi folks!I was wondering if anyone knows how can i make my program to wait for the user to press <ENTER> and then continue with the rest of the commands.In a Pascal program example:
...
Type: Posts; User: now5
Hi folks!I was wondering if anyone knows how can i make my program to wait for the user to press <ENTER> and then continue with the rest of the commands.In a Pascal program example:
...
Gee,guys,thanks for all the help!!
I mean,i can't believe that so many people would like to comment my piece of code,and help me understand why this output occurs.Really appreciated,fellows!
On...
The program continues to behave the same.
oh by the way i am using the gcc compiler in a Unix system.
#include <stdio.h>
#define WAIT system("sleep 2")
main()
{
printf("Helllo\n");
WAIT;
}