Hey all, I just started programming in C about....twelve hours ago lol. I'm still on my first program (you know, the one where you get the computer to type out "Hello, world!"). Now I am pretty sure that my code is correct, but for some reason when I execute the program, the DOS window comes up but then it automatically shuts down...it does it so fast that the dos window flashes instead of staying open.
I'm running Windows XP, and I'm starting to think that its not the fault of my code but rather my system. Any help here?
Heres my code, btw:
Thanks for any assistanceCode:#include <stdio.h> int main() { printf("Hello brave new world!\n"); return 0; }