Hey all. I was just wondering how to make the console remain after your console app has finished running... Mine closes like the second that the program runs.
Printable View
Hey all. I was just wondering how to make the console remain after your console app has finished running... Mine closes like the second that the program runs.
:)Code:#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello World!\n");
system("pause");
return 0;
}
Thank you!