gcc

Andre Kirchner sieg1974@yahoo.com
Mon Mar 31 02:28:00 GMT 2003


Hi,

try 

./a.out

Andre

--- Arash Farmand <arashfarmand@hotmail.com> wrote:
> Platform:       Mandrake Linux 9.0 Standard Edition
> gcc version:    3.2
>
======================================================
> 
> I wrote this simple C program (using Kwrite) called
> test.c and I left a carriage return after the last
> bracket:
> 
> #include<stdio.h>
> 
> int main(void)
> {
>    printf("Hello world!");
>    return(0);
> }
> 
>
=====================================================
> 
> In the Gnome terminal, I compiled using the basic
> gcc
> test.c command which created the file a.out. In the
> same directory of a.out, I typed "a.out" from the
> Gnome terminal and got the following message:
> "bash: a.out: command not found"
> Any suggestions?
> 
> 
> 
> 
> 
> 
> 
> 
>
_________________________________________________________________
> Tired of spam? Get advanced junk mail protection
> with MSN 8.  
> http://join.msn.com/?page=features/junkmail
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



More information about the Gcc-help mailing list