  | | | how to execute an excutable file | how to execute an excutable file 2007-02-27 - By Johan Lithander
Back You most likely tried to run it as a.out instead of ./a.out The current working directory is usually not in the PATH (and shouldn't be in the PATH either !!!). /J
__ __
From: redhat-install-list-bounces@(protected) [mailto:redhat-install-list-bounces@(protected)] On Behalf Of Nofriyadi Nurdam Sent: den 27 februari 2007 10:39 To: redhat-install-list@(protected) Subject: how to execute an excutable file
Hi all,
I have compiled the program "HelloWorld.c". The C compiler gave me the executable file a.out as output. As I executed the a.out in console, I got answer "command not found". Is there someone who can tell me about that.
Thanks in advance Nofriyadi
__ __
We won't tell. Get more on shows <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265> you hate to love (and love to hate): Yahoo! <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265> TV's Guilty Pleasures list.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=786354009-27022007><FONT face=Arial color=#0000ff size=2>You most likely tried to run it as a.out instead of ./a.out</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=786354009-27022007><FONT face=Arial color=#0000ff size=2>The current working directory is usually not in the PATH (and shouldn't be in the PATH either !!!).</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=786354009-27022007><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=786354009-27022007><FONT face=Arial color=#0000ff size=2>/J</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=786354009-27022007><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> redhat-install-list-bounces@(protected) [mailto:redhat-install-list-bounces@(protected)] <B>On Behalf Of </B>Nofriyadi Nurdam<BR><B>Sent:</B> den 27 februari 2007 10:39<BR><B>To:</B> redhat-install-list@(protected)<BR><B>Subject:</B> how to execute an excutable file <BR></FONT><BR></DIV> <DIV></DIV>Hi all,<BR><BR>I have compiled the program "HelloWorld.c". <BR>The C compiler gave me the executable file a.out as output.<BR>As I executed the a .out in console, I got answer "command not found".<BR>Is there someone who can tell me about that.<BR><BR>Thanks in advance<BR>Nofriyadi<BR> <P> <HR SIZE=1> We won't tell. Get more on <A href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265" >shows you hate to love</A><BR>(and love to hate): <A href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265" >Yahoo! TV's Guilty Pleasures list.</A></BODY></HTML>
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |