Ok, so I use Win2000.
I made a C console project, but everytime I try running/building(or both), it shows this:
Then, if I open it without building, it says:
'C:\Documents' is not known as an intern(inside) or extern(outside) command, an unexecutable program or a command files.
Press Enter to continue.
(I've translated from french, for my cpu language is french
, so it might no be very... easy to understand..)
The only thing is this is my code:
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Bonjour\n");
system("PAUSE");
return 0;
}
So, it's supposed to show "Bonjour"(which means "Hi"), skip a line and then I should press enter to close it, but the message is not shown. It is supposed to be due to the fact that I can't build main.c before running it, but... why can't I build it?
When I try building it, it shows exactly this( in the Build log, at the bottom):
Execution of 'mingw32-gcc.exe -O -Wmain -pedantic-error -pedantic -w -W -Wall -g -c main.c -o .objs\main.o' in 'C:\Documents and Settings\All Users.WINNT\Menu Démarrer\Programmes\CodeBlocks' failed.
Please help me, I really need help...