What's your first error?
I don't know what's going on on your system, but your program works fine.
My test of your test:
[apj@wattsx apj]$ gcc -o test test.c
[apj@wattsx apj]$ ll
-rwxrwxr-x1 apj apj 11369 Nov 5 22:24 test
-rw-rw-r--1 apj apj 107 Nov 5 22:24
On Tuesday 05 November 2002 03:22 am, you is done writ:
> Just to test gcc, I tried to compile this:
>
> ***test.c***
> #include
> int main(int argc, char *argv[]) {
>printf("By Jove, it works!\n");
>return 0;
> }
> *** end file ***
>
> with this:
> gcc -o test test.c
>
> And it didn't wor