After downloading and installing Code::Blocks
with MinGW
, I just started a new console project on it and it created a main.c
file with this content:
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
And it does compile. However, when I run it, no "Hello world!" is shown in the console and there is a message like
Process terminated with status 1993077897 (0 minutes, 3 seconds)
or
Process terminated with status -1073741510 (0 minutes, 7 seconds)
in the build log.
I can truly say that I just don't know what went wrong.