Hi,
I am fresh with code blocks.And I met some obvious problems,
here shows the message.How to make it right?
/*the source file*/
#include <stdio.h>
int main (void)
{
int a=10;
int b=20;
printf("%hd + %hd = %hd",a,b,a+b);
return 0;
}
And the problem is,
Compiling: Untitled1.c
Execution of 'mingw32-gcc.exe -Wall -g -I"C:\Program Files\CodeBlocks\MinGW\bin" -c C:\mingw\CodeBlocks\MinGW\bin\test\Untitled1.c -o obj\Debug\Untitled1.o' in 'C:\mingw\CodeBlocks\MinGW\bin\test' failed.
Nothing to be done.
could you please tell me why it failed ? I would appreciate it very much if anser me .