:: Re: [DNG] Learning C
Startseite
Nachricht löschen
Nachricht beantworten
Autor: o1bigtenor
Datum:  
CC: dng
Betreff: Re: [DNG] Learning C
On Tue, Sep 24, 2024 at 1:16 AM tito <farmatito@???> wrote:

> On Mon, 23 Sep 2024 21:05:02 -0500
> o1bigtenor via Dng <dng@???> wrote:
>
> > Greetings
> >
> > Well - - - - enmasse there was a declaration of 'learn C (my son!!)'.
> >
> > So I'm trying to work my way through the book "learning Gnu C".
> >
> > Chapter 3 first exercise 1 is here:
> > https://www.nongnu.org/c-prog-book/online/c355.html#AEN369
> >
> > 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.
> >
> > so has something changed?
> >
> > (Book is from the early 2000s maybe things have changed - - - -
> ??????????)
> >
> > Please advise
>
> Hi,
>
> $gcc -Wall bicycles.c -o bicycles
>
> $gcc --help
>  -o <file>                Place the output into <file>.

>
>
> Works - - - thank you!