Hi, this is the first time that I've used C. Anyway, I downloaded a C compiler (dev-C++), and I typed in this:
#include <stdio.h>
main()
{
printf("Hello, world!\n");
return 0;
}
When I run the program, it doesn't print the "Hello, world!", but I just see a dos window quickly flash on my screen. What (and where) should I add to this code to prevent this?