:: Re: [DNG] Learning C
Top Page
Delete this message
Reply to this message
Author: tito
Date:  
To: dng
Subject: Re: [DNG] Learning C
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>.


Ciao,
Tito