:: Re: [DNG] Learning C
Etusivu
Poista viesti
Vastaa
Lähettäjä: the pterodactyl
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Learning C
On Mon, Sep 23, 2024 at 09:05:02PM -0500, o1bigtenor via Dng wrote:
>
> except whether I type in the code or copy and paste it - - - - well the
> compiler pukes out
>
> >$ gcc -Wall -o bicycles.c
> >gcc: fatal error: no input files
> >compilation terminated.


Omit the -o. This option specifies the output executable to create in this
scenario. With no -o, your executable will be called `a.out'.

HTH,

--
Life is code, and then you die.