Re: where does cc send the output by default

From: Artie Gold (artiegold_at_austin.rr.com)
Date: 02/25/05

  • Next message: David Schwartz: "Re: where does cc send the output by default"
    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
    

  • Next message: David Schwartz: "Re: where does cc send the output by default"

    Relevant Pages

    • Re: Send mail
      ... In article, David Schwartz wrote: ... You could use 'system' to invoke a mail program in the background. ... laying around somewhere in which I bundled up ...
      (comp.os.linux.development.apps)
    • Re: invoking C-shell command through Perl script
      ... Neither of those invoke the csh. ... Fort Worth, Texas ...
      (comp.lang.perl.misc)