:: Re: [DNG] Learning C
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: o1bigtenor
Fecha:  
Cc: dng
Asunto: Re: [DNG] Learning C
On Tue, Sep 24, 2024 at 3:44 AM Didier Kryn <kryn@???> wrote:

> Le 24/09/2024 à 04:05, o1bigtenor via Dng a écrit :
> > learning Gnu C
>
>      The title looks bad, sorry. I have a great admiration for Gnu in
> general, but there shouldn't be a thing named "Gnu C". There is C and
> there is a C standard and it is not set by Gnu. Maybe there is no other
> ressource on the web. However, when looking at this web resource I see
> it refers to C99 and Gnu extensions and this seems very outdated.

>
>      In the mean time we had C11 and now the current standard is C17
> which corrects some errors of C11. The C compilers and C libraries
> nowadays are working on implementing the next standard, C21, IIRC.

>
>      The GU C resource I found on the web also states that GCC is the
> "Gnu Compiler Collection", but, a few years ago, for the second time in
> history, GCC has divorced from the FSF, because of issues with RMS.

>


Had heard of that particular kerfuffle - - - seems to me to be mostly
related to personality issues rather than technical stuff.

>
>      In general there are two references for C programming: the C
> standard and the POSIX standard. All OSes aim to more or less comply to
> both, and I recommend avoiding as much as possible GNU extensions or
> whatever extension.

>
>      Refering to the standard is not the proper way of learning though.
> I consider the best way is to take lessons, and the second best way is
> to use a good book. A book about C only, not "C and C++".

>


Hmmmmm - - - so there are a whole pile of 'secret handshakes' and the
like in the learning of 'C' to necessitate the need for lessons - - -
that's
too bad. Having read many reports of poor quality C programming I am
somehow then even less impressed.
You're recommending a good book - - - - imo there are likely a
plethora of books - - - how does one determine which are good ones without
previous understanding? (Seriously - - - to accurately determine the
quality
of a didactic text takes expertise and when one is starting the learning
process what one is exactly short of is that - - - expertise!)

Over to you for more information.

Regards