Re: where does cc send the output by default
From: Artie Gold (artiegold_at_austin.rr.com)
Date: 02/25/05
- Previous message: Michael B Allen: "Portability / Conditional Compilation"
- In reply to: David Schwartz: "Re: where does cc send the output by default"
- Next in thread: David Schwartz: "Re: where does cc send the output by default"
- Reply: David Schwartz: "Re: where does cc send the output by default"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Feb 2005 22:26:03 -0600
David Schwartz wrote:
> "Greenhorn" <teachgreenhorn@yahoo.com> wrote in message
> news:1109287121.298930.52920@z14g2000cwz.googlegroups.com...
>
>>Hi,
>>The program generated by the below code through cc doesn't give me any
>>output on the terminal.
>
>
>>[sharko@localhost ~]$ cc test.c
>>[sharko@localhost ~]$ test
>>[sharko@localhost ~]$
>
>
> Why are you typing 'test' when the path to your program is './test'? You
> are not trying to invoke a command called 'test', you are trying to execute
> the contents of the file.
>
> DS
>
>
Well, no. It's ./a.out.
--ag [who missed that when replying on c.l.c ;-)]
-- Artie Gold -- Austin, Texas http://it-matters.blogspot.com (new post 12/5) http://www.cafepress.com/goldsays
- Previous message: Michael B Allen: "Portability / Conditional Compilation"
- In reply to: David Schwartz: "Re: where does cc send the output by default"
- Next in thread: David Schwartz: "Re: where does cc send the output by default"
- Reply: David Schwartz: "Re: where does cc send the output by default"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|