yes, try "./a.out"
The problem is that your home directory is not in your PATH
----- Original Message -----
From: "Robert Reed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 1:52 AM
Subject: [newbie] GCC
> Hello, I just installed Linux today, and then
> installed the gcc compiler, and its dependencies. I
> built a simple program hello.c:
>
> #include <stdio.h>
>
> main()
> {
> printf("Hello World\n");
> return 0;
> }
>
> After writing that, I compiled the code using:
> gcc hello.c
> I tried running it by typing:
> a.out
> And it just says that a.out is not found, but when I
> look into the directory, it is there. Anyone know
> what's happening?
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>