#include <stdio.h>
main()
{
printf("Hello World\n");
}
However after saving it as hello.c and then compiling it, i tried to run the program and you can see it comes up a blank screen with hello world written on it so it does work but it only stays for a split second and then disapears, can anyone tell me why this program wont display hello world untill i close it, i'm confused as to why it only runs momentarily, Thanks
Ady
Edited by Jaan, 01 September 2009 - 02:29 AM.
Please use code tags when you are posting your codes!


Sign In
Create Account

Back to top









