I can't seem to see the results displayed on the dos prompt because it happens so fast. Is there any code i could use to delay the message so i can see the output values? Here is the code i used but it doesn't seem to work:
include <stdio.h>
int main(int argc, char argv)
{
printf ("Press ENTER to continue.\n");
getchar (); / wait for input /
return 0;
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I can't seem to see the results displayed on the dos prompt because it happens so fast. Is there any code i could use to delay the message so i can see the output values? Here is the code i used but it doesn't seem to work:
include <stdio.h>
int main(int argc, char argv)
{
printf ("Press ENTER to continue.\n");
getchar (); / wait for input /
return 0;
}
Just found a good link for the FAQs after i posted and solved my problem. Thanks for looking!