Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

No more blah, blah, blah! -- Kirk, "Miri", stardate 2713.6


devel / comp.lang.c / Best way to learn C?

SubjectAuthor
* Best way to learn C?Torbjörn Svensson Diaz
+* Re: Best way to learn C?Stefan Ram
|+- Re: Best way to learn C?Torbjörn Svensson Diaz
|`- Re: Best way to learn C?Philipp Klaus Krause
+* Re: Best way to learn C?Öö Tiib
|`* Re: Best way to learn C?Torbjörn Svensson Diaz
| +- Re: Best way to learn C?Öö Tiib
| `- Re: Best way to learn C?Stefan Ram
+* Re: Best way to learn C?Bonita Montero
|+* Re: Best way to learn C?Torbjörn Svensson Diaz
||+* Re: Best way to learn C?Bonita Montero
|||`* Re: Best way to learn C?Guillaume
||| +- Re: Best way to learn C?Bonita Montero
||| `- Re: Best way to learn C?Jim Jackson
||`* Re: Best way to learn C?Manfred
|| `* Re: Best way to learn C?Bonita Montero
||  `* Re: Best way to learn C?Bart
||   +- Re: Best way to learn C?Bonita Montero
||   `- Re: Best way to learn C?Malcolm McLean
|`* Re: Best way to learn C?Keith Thompson
| +* Re: Best way to learn C?Bonita Montero
| |`- Re: Best way to learn C?David Brown
| `* Re: Best way to learn C?David LaRue
|  `- Re: Best way to learn C?David Brown
+- Re: Best way to learn C?Lew Pitcher
+- Re: Best way to learn C?Malcolm McLean
+* Re: Best way to learn C?luser droog
|`* Re: Best way to learn C?Ben Bacarisse
| `* Re: Best way to learn C?Manfred
|  `* Re: Best way to learn C?Ben Bacarisse
|   `* Re: Best way to learn C?Manfred
|    +- Re: Best way to learn C?Ben Bacarisse
|    `* Re: Best way to learn C?Stefan Ram
|     +- Re: Best way to learn C?Keith Thompson
|     `- Re: Best way to learn C?Scott Lurndal
`- Re: Best way to learn C?John Forkosh

Pages:12
Best way to learn C?

<spkh0p$gll$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19500&group=comp.lang.c#19500

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: torbjorn...@gmail.com (Torbjörn Svensson Diaz)
<torbjorn.svensson.diaz@gmail.com>
Newsgroups: comp.lang.c
Subject: Best way to learn C?
Date: Sat, 18 Dec 2021 12:34:49 +0100
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <spkh0p$gll$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 11:34:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="71cb86eff37254b93bd9ba5412d94087";
logging-data="17077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+P37CUTky24kP/VOXh86hdD1zyvDoMflYCSnUBa+CZCA=="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:Hh/nKrjB2qaHF94ewD5LFQNDY0o=
Content-Language: en-US
 by: Torbjörn Svensson D - Sat, 18 Dec 2021 11:34 UTC

Hello!

What is the best way to learn C? Which are the best tutorials and which
are the best books? Can someone please give me a little guidance?

--
Torbjörn Svensson Diaz

Re: Best way to learn C?

<C-20211218131937@ram.dialup.fu-berlin.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19502&group=comp.lang.c#19502

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram...@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: 18 Dec 2021 12:21:43 GMT
Organization: Stefan Ram
Lines: 11
Expires: 1 Mar 2022 11:59:58 GMT
Message-ID: <C-20211218131937@ram.dialup.fu-berlin.de>
References: <spkh0p$gll$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de XvyxW6f/UcmbypwHqoLISQnDgrBA0rvq0wsg57RZ0uSBg/
X-Copyright: (C) Copyright 2021 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Accept-Language: de-DE, en-US, it, fr-FR
 by: Stefan Ram - Sat, 18 Dec 2021 12:21 UTC

=?UTF-8?Q?Torbj=c3=b6rn_Svensson_Diaz?= <torbjorn.svensson.diaz@gmail.com> writes:
>What is the best way to learn C? Which are the best tutorials and which
>are the best books? Can someone please give me a little guidance?

Check out

"Modern C" by Jens Gustedt

.

Re: Best way to learn C?

<6072f4ec-e487-4221-b560-62ce7565d6b1n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19503&group=comp.lang.c#19503

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a37:b5c3:: with SMTP id e186mr2018424qkf.747.1639830328845;
Sat, 18 Dec 2021 04:25:28 -0800 (PST)
X-Received: by 2002:ac8:5b90:: with SMTP id a16mr2587009qta.300.1639830328731;
Sat, 18 Dec 2021 04:25:28 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sat, 18 Dec 2021 04:25:28 -0800 (PST)
In-Reply-To: <spkh0p$gll$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=94.246.251.164; posting-account=pysjKgkAAACLegAdYDFznkqjgx_7vlUK
NNTP-Posting-Host: 94.246.251.164
References: <spkh0p$gll$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6072f4ec-e487-4221-b560-62ce7565d6b1n@googlegroups.com>
Subject: Re: Best way to learn C?
From: oot...@hot.ee (Öö Tiib)
Injection-Date: Sat, 18 Dec 2021 12:25:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 12
 by: Öö Tiib - Sat, 18 Dec 2021 12:25 UTC

On Saturday, 18 December 2021 at 13:35:01 UTC+2, Torbjörn Svensson Diaz wrote:
> Hello!
>
> What is the best way to learn C? Which are the best tutorials and which
> are the best books? Can someone please give me a little guidance?

If you want to learn to program then C might be is not best choice of
language for starting. If you already have learned to program in some
other language then C just teaches you to be bit more responsible and
pay bit more attention to efficiency of your results. Otherwise it is
extremely simple.

Re: Best way to learn C?

<spkk12$2mo$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19504&group=comp.lang.c#19504

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 13:26:10 +0100
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <spkk12$2mo$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 12:26:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="39aec95fcf390d4e22123bfed9ade6cb";
logging-data="2776"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AB5PM7clLFBnHY4gktk8HJ5iO25dHfiI="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:Hb0Tyqc9SO2y4qq2T0zN/BffqXs=
In-Reply-To: <spkh0p$gll$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sat, 18 Dec 2021 12:26 UTC

Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
> Hello!
> What is the best way to learn C? Which are the best tutorials and which
> are the best books? Can someone please give me a little guidance?

Absolutely sufficient for this bad language:
http://cslabcms.nju.edu.cn/problem_solving/images/c/cc/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf

Re: Best way to learn C?

<spklc1$bae$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19506&group=comp.lang.c#19506

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: torbjorn...@gmail.com (Torbjörn Svensson Diaz)
<torbjorn.svensson.diaz@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 13:49:05 +0100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <spklc1$bae$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me>
<C-20211218131937@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 12:49:05 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="71cb86eff37254b93bd9ba5412d94087";
logging-data="11598"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FfG362dm4vsIvCPF/OVOeB6ai8sA1YEArbYSvfaTgBQ=="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:UVKfXjeRQXZx5vlnr8Wc19Dx3eo=
In-Reply-To: <C-20211218131937@ram.dialup.fu-berlin.de>
Content-Language: en-US
 by: Torbjörn Svensson D - Sat, 18 Dec 2021 12:49 UTC

On 2021-12-18 13:21, Stefan Ram wrote:
> =?UTF-8?Q?Torbj=c3=b6rn_Svensson_Diaz?= <torbjorn.svensson.diaz@gmail.com> writes:
>> What is the best way to learn C? Which are the best tutorials and which
>> are the best books? Can someone please give me a little guidance?
>
> Check out
>
> "Modern C" by Jens Gustedt

Ok. Thanks.

--
Torbjörn Svensson Diaz

Re: Best way to learn C?

<spklcj$bae$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19507&group=comp.lang.c#19507

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: torbjorn...@gmail.com (Torbjörn Svensson Diaz)
<torbjorn.svensson.diaz@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 13:49:23 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <spklcj$bae$2@dont-email.me>
References: <spkh0p$gll$1@dont-email.me>
<6072f4ec-e487-4221-b560-62ce7565d6b1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 12:49:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="71cb86eff37254b93bd9ba5412d94087";
logging-data="11598"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R1+ZFruTXJTl2lF2jwQGH9quac0e7pi8gXzjPA9atmQ=="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:NSkpHhutDMdlysxF4j6hEAZwpXE=
In-Reply-To: <6072f4ec-e487-4221-b560-62ce7565d6b1n@googlegroups.com>
Content-Language: en-US
 by: Torbjörn Svensson D - Sat, 18 Dec 2021 12:49 UTC

On 2021-12-18 13:25, Öö Tiib wrote:
> On Saturday, 18 December 2021 at 13:35:01 UTC+2, Torbjörn Svensson Diaz wrote:
>> Hello!
>>
>> What is the best way to learn C? Which are the best tutorials and which
>> are the best books? Can someone please give me a little guidance?
>
> If you want to learn to program then C might be is not best choice of
> language for starting. If you already have learned to program in some
> other language then C just teaches you to be bit more responsible and
> pay bit more attention to efficiency of your results. Otherwise it is
> extremely simple.

I already know some Python.

--
Torbjörn Svensson Diaz

Re: Best way to learn C?

<spkldk$bae$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19508&group=comp.lang.c#19508

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: torbjorn...@gmail.com (Torbjörn Svensson Diaz)
<torbjorn.svensson.diaz@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 13:49:56 +0100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <spkldk$bae$3@dont-email.me>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 12:49:56 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="71cb86eff37254b93bd9ba5412d94087";
logging-data="11598"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gzCSSphSbJUxDneT3FH5odvXmahjh5hw7tKaC+LvHHQ=="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:JX1qDAFzzkFCOEmjzHVczGMUUvM=
In-Reply-To: <spkk12$2mo$1@dont-email.me>
Content-Language: en-US
 by: Torbjörn Svensson D - Sat, 18 Dec 2021 12:49 UTC

On 2021-12-18 13:26, Bonita Montero wrote:
> Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
>> Hello!
>> What is the best way to learn C? Which are the best tutorials and
>> which are the best books? Can someone please give me a little guidance?
>
> Absolutely sufficient for this bad language:
> http://cslabcms.nju.edu.cn/problem_solving/images/c/cc/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf
>

Thanks. But what is so bad about C in your opinion?

--
Torbjörn Svensson Diaz

Re: Best way to learn C?

<spkr33$fps$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19510&group=comp.lang.c#19510

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 15:26:44 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <spkr33$fps$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<spkldk$bae$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 14:26:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="39aec95fcf390d4e22123bfed9ade6cb";
logging-data="16188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198QBCNokRZPIaNa+FduDM1ls5L/8wuqMo="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:ube7LOZ0jnbbAKBccE8Cw9ipZHY=
In-Reply-To: <spkldk$bae$3@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sat, 18 Dec 2021 14:26 UTC

Am 18.12.2021 um 13:49 schrieb Torbjörn Svensson Diaz:

>> Absolutely sufficient for this bad language:
>> http://cslabcms.nju.edu.cn/problem_solving/images/c/cc/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf

> Thanks. But what is so bad about C in your opinion?

Becaues C has only the simplest language facilities and
you have to do anything on your own. Other languages make
programming much easier.

Re: Best way to learn C?

<857005d5-5c56-4620-a524-f5d4b9ea02c2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19514&group=comp.lang.c#19514

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a37:8d86:: with SMTP id p128mr4870544qkd.706.1639839225955;
Sat, 18 Dec 2021 06:53:45 -0800 (PST)
X-Received: by 2002:a37:9b4a:: with SMTP id d71mr4832795qke.319.1639839225823;
Sat, 18 Dec 2021 06:53:45 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sat, 18 Dec 2021 06:53:45 -0800 (PST)
In-Reply-To: <spklcj$bae$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=94.246.251.164; posting-account=pysjKgkAAACLegAdYDFznkqjgx_7vlUK
NNTP-Posting-Host: 94.246.251.164
References: <spkh0p$gll$1@dont-email.me> <6072f4ec-e487-4221-b560-62ce7565d6b1n@googlegroups.com>
<spklcj$bae$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <857005d5-5c56-4620-a524-f5d4b9ea02c2n@googlegroups.com>
Subject: Re: Best way to learn C?
From: oot...@hot.ee (Öö Tiib)
Injection-Date: Sat, 18 Dec 2021 14:53:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 26
 by: Öö Tiib - Sat, 18 Dec 2021 14:53 UTC

On Saturday, 18 December 2021 at 14:49:33 UTC+2, Torbjörn Svensson Diaz wrote:
> On 2021-12-18 13:25, Öö Tiib wrote:
> > On Saturday, 18 December 2021 at 13:35:01 UTC+2, Torbjörn Svensson Diaz wrote:
> >> Hello!
> >>
> >> What is the best way to learn C? Which are the best tutorials and which
> >> are the best books? Can someone please give me a little guidance?
> >
> > If you want to learn to program then C might be is not best choice of
> > language for starting. If you already have learned to program in some
> > other language then C just teaches you to be bit more responsible and
> > pay bit more attention to efficiency of your results. Otherwise it is
> > extremely simple.
>
> I already know some Python.

Good choice. It is tricky to find problems for solving what Python is not
suitable and C is among best candidates. I mean in industry there are
plenty but not so lot of for hobbyist beginner. Especially now when there
appears to be major shortage of semiconductor products.

Re: Best way to learn C?

<Python-20211218155930@ram.dialup.fu-berlin.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19515&group=comp.lang.c#19515

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram...@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: 18 Dec 2021 15:00:04 GMT
Organization: Stefan Ram
Lines: 11
Expires: 1 Mar 2022 11:59:58 GMT
Message-ID: <Python-20211218155930@ram.dialup.fu-berlin.de>
References: <spkh0p$gll$1@dont-email.me> <6072f4ec-e487-4221-b560-62ce7565d6b1n@googlegroups.com> <spklcj$bae$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de UsYiDa2oNFKQhnPV6Jpe3Qtm0q8H8nx/WSwfHBtm7+fsm9
X-Copyright: (C) Copyright 2021 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Accept-Language: de-DE, en-US, it, fr-FR
 by: Stefan Ram - Sat, 18 Dec 2021 15:00 UTC

=?UTF-8?Q?Torbj=c3=b6rn_Svensson_Diaz?= <torbjorn.svensson.diaz@gmail.com> writes:
>I already know some Python.

Recently someone in a newsgrouped asked how to do a string
switch statement in C. I was about to answer, "Just use a
high-level language like Python!". But then I remembered that
Python has no switch statement at all! LOL!

(Only the recent Python 3.10 now has a similar "match" statement.)

Re: Best way to learn C?

<spl1jm$pcg$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19527&group=comp.lang.c#19527

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 16:17:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <spl1jm$pcg$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 16:17:58 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c4ec91fe83cbff086dd972211dcafd6a";
logging-data="26000"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PpYGkUv3wxfRIfJEVZP/SbdGOu9xg65o="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:qPSQpnvvOilYGEfMc/jQvgH8+0U=
 by: Lew Pitcher - Sat, 18 Dec 2021 16:17 UTC

On Sat, 18 Dec 2021 12:34:49 +0100, Torbjörn Svensson Diaz wrote:

> Hello!
>
> What is the best way to learn C?

Write lots of code. Tackle small projects at first, then move on
to larger projects that progressively challenge your skills and
knowledge.
Make mistakes, find out /why/ they were mistakes, and then correct them.
Refine your skills.

> Which are the best tutorials and which are the best books?

That's mostly a matter of personal opinion, usually governed by the
student's skills and preferences.

> Can someone please give me a little guidance?

Others here will have better advice.
--
Lew Pitcher
"In Skills, We Trust"

Re: Best way to learn C?

<spl3oq$qbo$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19529&group=comp.lang.c#19529

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!Puiiztk9lHEEQC0y3uUjRA.user.46.165.242.75.POSTED!not-for-mail
From: non...@add.invalid (Manfred)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 17:54:50 +0100
Organization: Aioe.org NNTP Server
Message-ID: <spl3oq$qbo$1@gioia.aioe.org>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<spkldk$bae$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="27000"; posting-host="Puiiztk9lHEEQC0y3uUjRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Manfred - Sat, 18 Dec 2021 16:54 UTC

On 12/18/2021 1:49 PM, Torbjörn Svensson Diaz wrote:
> On 2021-12-18 13:26, Bonita Montero wrote:
>> Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
>>> Hello!
>>> What is the best way to learn C? Which are the best tutorials and
>>> which are the best books? Can someone please give me a little guidance?
>>
>> Absolutely sufficient for this bad language:
>> http://cslabcms.nju.edu.cn/problem_solving/images/c/cc/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf
>>
>
> Thanks. But what is so bad about C in your opinion?
>

Careful with this question to this person ;)
She is systematically whining about how bad C is compared to C++

(Incidentally, that link may be legal in China but may be not in other
countries)

Re: Best way to learn C?

<spl5vb$om8$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19531&group=comp.lang.c#19531

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 18:32:28 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <spl5vb$om8$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<spkldk$bae$3@dont-email.me> <spl3oq$qbo$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 17:32:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="39aec95fcf390d4e22123bfed9ade6cb";
logging-data="25288"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5lNx+ZEbNAtTwq2iMxFoq+TQEDGHbwvA="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:XvcfKMvX6yKS9HbKr+UqwBcISGE=
In-Reply-To: <spl3oq$qbo$1@gioia.aioe.org>
Content-Language: de-DE
 by: Bonita Montero - Sat, 18 Dec 2021 17:32 UTC

Am 18.12.2021 um 17:54 schrieb Manfred:
> On 12/18/2021 1:49 PM, Torbjörn Svensson Diaz wrote:
>> On 2021-12-18 13:26, Bonita Montero wrote:
>>> Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
>>>> Hello!
>>>> What is the best way to learn C? Which are the best tutorials and
>>>> which are the best books? Can someone please give me a little guidance?
>>>
>>> Absolutely sufficient for this bad language:
>>> http://cslabcms.nju.edu.cn/problem_solving/images/c/cc/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf
>>>
>>
>> Thanks. But what is so bad about C in your opinion?
>>
>
> Careful with this question to this person ;)
> She is systematically whining about how bad C is compared to C++

C is the worst language compared to any other language
which is suitable for systems-progtamming, not only C++.

Re: Best way to learn C?

<spl8t9$e7k$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19538&group=comp.lang.c#19538

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 18:22:32 +0000
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <spl8t9$e7k$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<spkldk$bae$3@dont-email.me> <spl3oq$qbo$1@gioia.aioe.org>
<spl5vb$om8$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Dec 2021 18:22:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="26bf0af5e5e6395621b07f6cdc1a725f";
logging-data="14580"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uWqwuZM9RGxXqP6je3VGfJ+1+ztOqQVw="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:Rv3B3VsozDDKpzYKrgaBwQfsm9E=
In-Reply-To: <spl5vb$om8$1@dont-email.me>
 by: Bart - Sat, 18 Dec 2021 18:22 UTC

On 18/12/2021 17:32, Bonita Montero wrote:
> Am 18.12.2021 um 17:54 schrieb Manfred:
>> On 12/18/2021 1:49 PM, Torbjörn Svensson Diaz wrote:
>>> On 2021-12-18 13:26, Bonita Montero wrote:
>>>> Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
>>>>> Hello!
>>>>> What is the best way to learn C? Which are the best tutorials and
>>>>> which are the best books? Can someone please give me a little
>>>>> guidance?
>>>>
>>>> Absolutely sufficient for this bad language:
>>>> http://cslabcms.nju.edu.cn/problem_solving/images/c/cc/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf
>>>>
>>>
>>> Thanks. But what is so bad about C in your opinion?
>>>
>>
>> Careful with this question to this person ;)
>> She is systematically whining about how bad C is compared to C++
>
> C is the worst language compared to any other language
> which is suitable for systems-progtamming, not only C++.

I normally use my own systems language which I rate as superior to C in
many ways, although it is not significantly higher level.

Yet I would rate C far above C++ for such purposes. At least C++ as it
is normally used, which is usually not by just writing C-style code; it
has to involve considerably more clutter.

A lot of language implementations are based around C. A lot of languages
also use C as a target or intermediate form; rarely C++.

Most libraries I come across use a basic, C-compatible API, usable from
many languages, even interpreted ones. A C++ API would be pretty much
unusable from any other language.

The smallest C implementation I've seen (of a reasonably full-featured
C99), is a 180KB, 1-million-line-per-second compiler. I don't know the
C++ equivalent, but I doubt it is that small or that fast.

So, while I agree that C could be a lot better, I think there is a need
for such a lower-level, small-footprint systems language. Such a
language isn't C++.

Re: Best way to learn C?

<spla4q$lh7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19540&group=comp.lang.c#19540

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 19:43:39 +0100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <spla4q$lh7$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<spkldk$bae$3@dont-email.me> <spl3oq$qbo$1@gioia.aioe.org>
<spl5vb$om8$1@dont-email.me> <spl8t9$e7k$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 18 Dec 2021 18:43:38 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="39aec95fcf390d4e22123bfed9ade6cb";
logging-data="22055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WpQj50SkSrjn9Ap4rP4pyAhM3hPbCIkg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:6mlnZbVVyqrXEnin9rbuCyyfkR4=
In-Reply-To: <spl8t9$e7k$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sat, 18 Dec 2021 18:43 UTC

Am 18.12.2021 um 19:22 schrieb Bart:

> Yet I would rate C far above C++ for such purposes. At least C++ as it
> is normally used, which is usually not by just writing C-style code; it
> has to involve considerably more clutter.

C++ has the same efficiency if you use it properly but you write a
fraction of the code and if you use it properly, you have much more
readability. C should belongs to the museum.

Re: Best way to learn C?

<87czlt6rr3.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19548&group=comp.lang.c#19548

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sat, 18 Dec 2021 22:19:44 -0800
Organization: None to speak of
Lines: 20
Message-ID: <87czlt6rr3.fsf@nosuchdomain.example.com>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="673c625a844bfdb5f5ee20e169bd0beb";
logging-data="13166"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196seO8HyH1cMyaG+Fig/mt"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:V6GIN22Sb0bXDW+brvMbg3zmWeU=
sha1:zO2jJSpkb9SAs9K+npvw2jBaDi8=
 by: Keith Thompson - Sun, 19 Dec 2021 06:19 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
> Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
>> Hello!
>> What is the best way to learn C? Which are the best tutorials and
>> which are the best books? Can someone please give me a little
>> guidance?
>
> Absolutely sufficient for this bad language:
> http://[DELETED]/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf

That's a link to a pirated copy of a copyrighted book. Legitimate
copies are available from various book sellers, including in electronic
formats (Amazon Kindle, probably others).

Shame on you.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Re: Best way to learn C?

<spmt5r$prh$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19549&group=comp.lang.c#19549

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sun, 19 Dec 2021 10:14:36 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <spmt5r$prh$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<87czlt6rr3.fsf@nosuchdomain.example.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 19 Dec 2021 09:14:35 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bb3aa90df93646582c03f51598201b08";
logging-data="26481"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sRC/InB9VIFAfcrW77vznkdzZcdHlQQ4="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Cancel-Lock: sha1:4mowHSla2j5Zs0tIFtC+NViKGSk=
In-Reply-To: <87czlt6rr3.fsf@nosuchdomain.example.com>
Content-Language: de-DE
 by: Bonita Montero - Sun, 19 Dec 2021 09:14 UTC

Am 19.12.2021 um 07:19 schrieb Keith Thompson:
> Bonita Montero <Bonita.Montero@gmail.com> writes:
>> Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
>>> Hello!
>>> What is the best way to learn C? Which are the best tutorials and
>>> which are the best books? Can someone please give me a little
>>> guidance?
>>
>> Absolutely sufficient for this bad language:
>> http://[DELETED]/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf
>
> That's a link to a pirated copy of a copyrighted book. Legitimate
> copies are available from various book sellers, including in electronic
> formats (Amazon Kindle, probably others).

With popular books there are often hundreds of them if
you search for "bookname doctype:pdf". Isn't this cool ?

Re: Best way to learn C?

<XnsAE052C239A340hueydlltampabayrrcom@46.165.242.75>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19550&group=comp.lang.c#19550

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!jMrZ/NsyDiVSuXh3zN9oUA.user.46.165.242.75.POSTED!not-for-mail
From: huey....@tampabay.rr.com (David LaRue)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sun, 19 Dec 2021 09:20:21 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <XnsAE052C239A340hueydlltampabayrrcom@46.165.242.75>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me> <87czlt6rr3.fsf@nosuchdomain.example.com>
Injection-Info: gioia.aioe.org; logging-data="48862"; posting-host="jMrZ/NsyDiVSuXh3zN9oUA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Xnews/5.04.25
X-Notice: Filtered by postfilter v. 0.9.2
 by: David LaRue - Sun, 19 Dec 2021 09:20 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote in
news:87czlt6rr3.fsf@nosuchdomain.example.com:

> Bonita Montero <Bonita.Montero@gmail.com> writes:
>> Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
>>> Hello!
>>> What is the best way to learn C? Which are the best tutorials and
>>> which are the best books? Can someone please give me a little
>>> guidance?
>>
>> Absolutely sufficient for this bad language:
>> http://[DELETED]/The_C_Programming_Language_%282nd_Edition_Ritchie_Ker
>> nighan%29.pdf
>
> That's a link to a pirated copy of a copyrighted book. Legitimate
> copies are available from various book sellers, including in
> electronic formats (Amazon Kindle, probably others).
>
> Shame on you.
>

Agreed.

Best way to learn any language is to read its rules and then build what you
want. Start small and grow the details. I still have Ritchie's book
within reach should it ever be needed. Why throw away something that
rarely changes. That is a great feature of C. Another is that while you
can buy code written by others to make things you can just as easily make
them yourself.

Re: Best way to learn C?

<a39197f7-90f6-4ca6-8f0f-45672680e6d5n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19551&group=comp.lang.c#19551

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ac8:5c45:: with SMTP id j5mr8713005qtj.58.1639911348706;
Sun, 19 Dec 2021 02:55:48 -0800 (PST)
X-Received: by 2002:a05:620a:702:: with SMTP id 2mr6658703qkc.333.1639911348589;
Sun, 19 Dec 2021 02:55:48 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 19 Dec 2021 02:55:48 -0800 (PST)
In-Reply-To: <spkh0p$gll$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:9ddb:8e70:b3b8:9472;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:9ddb:8e70:b3b8:9472
References: <spkh0p$gll$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a39197f7-90f6-4ca6-8f0f-45672680e6d5n@googlegroups.com>
Subject: Re: Best way to learn C?
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Sun, 19 Dec 2021 10:55:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 21
 by: Malcolm McLean - Sun, 19 Dec 2021 10:55 UTC

On Saturday, 18 December 2021 at 11:35:01 UTC, Torbjörn Svensson Diaz wrote:
> Hello!
>
> What is the best way to learn C? Which are the best tutorials and which
> are the best books? Can someone please give me a little guidance?
>
It just depends what sort of background you have. I was an assembly language
programmer before I learned C. So in my case it was "What's the funny asterisk?"
"It's the indirection operator." "Oh", and I understoof pointers.

If you've never used a language that allows direct memory access before, that's
unlikely to be adequate. From experience, pointers cause a great deal of trouble
to many newbies. But they are the heart of C. Once you understand them, pretty
much everything else just works as anyone would expect - you've got loops,
if statements, and subroutine calls, like any other pricedural language.

Re: Best way to learn C?

<4c899266-2975-4289-a93b-ce1b38832debn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19552&group=comp.lang.c#19552

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a37:8d86:: with SMTP id p128mr6664307qkd.706.1639911595038;
Sun, 19 Dec 2021 02:59:55 -0800 (PST)
X-Received: by 2002:a05:622a:48e:: with SMTP id p14mr4740168qtx.553.1639911594938;
Sun, 19 Dec 2021 02:59:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 19 Dec 2021 02:59:54 -0800 (PST)
In-Reply-To: <spl8t9$e7k$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:9ddb:8e70:b3b8:9472;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:9ddb:8e70:b3b8:9472
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<spkldk$bae$3@dont-email.me> <spl3oq$qbo$1@gioia.aioe.org>
<spl5vb$om8$1@dont-email.me> <spl8t9$e7k$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4c899266-2975-4289-a93b-ce1b38832debn@googlegroups.com>
Subject: Re: Best way to learn C?
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Sun, 19 Dec 2021 10:59:55 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 11
 by: Malcolm McLean - Sun, 19 Dec 2021 10:59 UTC

On Saturday, 18 December 2021 at 18:22:44 UTC, Bart wrote:
>
> So, while I agree that C could be a lot better, I think there is a need
> for such a lower-level, small-footprint systems language. Such a
> language isn't C++.
>
You can implement a C compiler from scratch. You can't implement a C++
compiler unless you've got a huge budget, which means that you must be
in the business of compiler development itself.

However generally it's easier to retarget gcc. There might be cases where
this isn't possible.

Re: Best way to learn C?

<713a16cf-d9e0-4056-a70e-e8c7b93727den@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19554&group=comp.lang.c#19554

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:4ce:: with SMTP id q14mr9308362qtx.627.1639923516828;
Sun, 19 Dec 2021 06:18:36 -0800 (PST)
X-Received: by 2002:a05:620a:44c1:: with SMTP id y1mr7222272qkp.187.1639923516618;
Sun, 19 Dec 2021 06:18:36 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 19 Dec 2021 06:18:36 -0800 (PST)
In-Reply-To: <spkh0p$gll$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=97.87.183.68; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
NNTP-Posting-Host: 97.87.183.68
References: <spkh0p$gll$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <713a16cf-d9e0-4056-a70e-e8c7b93727den@googlegroups.com>
Subject: Re: Best way to learn C?
From: luser.dr...@gmail.com (luser droog)
Injection-Date: Sun, 19 Dec 2021 14:18:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 17
 by: luser droog - Sun, 19 Dec 2021 14:18 UTC

On Saturday, December 18, 2021 at 5:35:01 AM UTC-6, Torbjörn Svensson Diaz wrote:
> Hello!
>
> What is the best way to learn C? Which are the best tutorials and which
> are the best books? Can someone please give me a little guidance?
>

Others have given good book suggestions. For the best /tutorial/, I'd recommend
Brian Kernighan's original tutorial paper. It's a little outdated and quirky. But it's
well written and *short*. It gives a reasonably complete overview that should
make a more modern text easier to follow.

https://www.lysator.liu.se/c/bwk-tutor.html

Re: Best way to learn C?

<8735mopqm9.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19555&group=comp.lang.c#19555

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sun, 19 Dec 2021 15:21:34 +0000
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <8735mopqm9.fsf@bsb.me.uk>
References: <spkh0p$gll$1@dont-email.me>
<713a16cf-d9e0-4056-a70e-e8c7b93727den@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="c78496f45d3798f7f0289f5e03f05e14";
logging-data="4139"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zNVpZ0lseNBGu3xIVeHeqWLXw5lugMVk="
Cancel-Lock: sha1:Ti9pm/Zr3psh8u+yyBYRB+7k+NA=
sha1:7eiBUeJBb5V7aNKOvYHMIl6iFOQ=
X-BSB-Auth: 1.e44cc5f82cabdaa8b917.20211219152134GMT.8735mopqm9.fsf@bsb.me.uk
 by: Ben Bacarisse - Sun, 19 Dec 2021 15:21 UTC

luser droog <luser.droog@gmail.com> writes:

> On Saturday, December 18, 2021 at 5:35:01 AM UTC-6, Torbjörn Svensson Diaz wrote:
>> What is the best way to learn C? Which are the best tutorials and
>> which are the best books? Can someone please give me a little
>> guidance?
>>
>
> Others have given good book suggestions. For the best /tutorial/, I'd
> recommend Brian Kernighan's original tutorial paper. It's a little
> outdated and quirky. But it's well written and *short*. It gives a
> reasonably complete overview that should make a more modern text
> easier to follow.
>
> https://www.lysator.liu.se/c/bwk-tutor.html

No, I can't agree. At time, maybe, but not now. Amongst the big
problems are: no function prototypes, implicit int, old-style function
definitions, the old =<op> syntax, unique structure tags (because they
are all interchangeable), no initialisation of structures nor of local
variables and '\0' as an end-of-file marker.

But then there's almost no use of library functions, no unsigned types,
no typedef, no long, no void, no const and all local declarations have
to be at the start of a function. Some of these would, perhaps, be
deliberately omitted from a first tutorial, but I would not students to
learn that C has only four types: char, int float and double.

I suppose it's still possible that this is the best tutorial but that
says more about the others than it does about the suitability of this
one (there are a lot of awful ones out there).

--
Ben.

Re: Best way to learn C?

<spnm73$s67$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19556&group=comp.lang.c#19556

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sun, 19 Dec 2021 17:21:54 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <spnm73$s67$1@dont-email.me>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<87czlt6rr3.fsf@nosuchdomain.example.com> <spmt5r$prh$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 19 Dec 2021 16:21:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="753ede66e0e7aca579d9b44103d22a83";
logging-data="28871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18s2vN699AK7HMdNqfAunfHmJPZT86buPU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:0MAJCm2RtsCB/+bxXJ+ZOHu5sW4=
In-Reply-To: <spmt5r$prh$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Sun, 19 Dec 2021 16:21 UTC

On 19/12/2021 10:14, Bonita Montero wrote:
> Am 19.12.2021 um 07:19 schrieb Keith Thompson:
>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>> Am 18.12.2021 um 12:34 schrieb Torbjörn Svensson Diaz:
>>>> Hello!
>>>> What is the best way to learn C? Which are the best tutorials and
>>>> which are the best books? Can someone please give me a little
>>>> guidance?
>>>
>>> Absolutely sufficient for this bad language:
>>> http://[DELETED]/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf
>>>
>>
>> That's a link to a pirated copy of a copyrighted book.  Legitimate
>> copies are available from various book sellers, including in electronic
>> formats (Amazon Kindle, probably others).
>
> With popular books there are often hundreds of them if
> you search for "bookname doctype:pdf". Isn't this cool ?

No - it is /not/ "cool". It is encouraging copyright violation, which
is illegal in most countries, a crime in some, and immoral in all.
There might be some justification (though this is not the place to argue
it) if the book were unavailable in legal ways and the publisher had
been refusing to make it available - but that is not the case here.

There are enough free sources of information about C that are easily
available.

Re: Best way to learn C?

<spns2v$vsl$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19557&group=comp.lang.c#19557

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!aioe.org!Puiiztk9lHEEQC0y3uUjRA.user.46.165.242.75.POSTED!not-for-mail
From: non...@add.invalid (Manfred)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sun, 19 Dec 2021 19:02:06 +0100
Organization: Aioe.org NNTP Server
Message-ID: <spns2v$vsl$1@gioia.aioe.org>
References: <spkh0p$gll$1@dont-email.me>
<713a16cf-d9e0-4056-a70e-e8c7b93727den@googlegroups.com>
<8735mopqm9.fsf@bsb.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="32661"; posting-host="Puiiztk9lHEEQC0y3uUjRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Manfred - Sun, 19 Dec 2021 18:02 UTC

On 12/19/2021 4:21 PM, Ben Bacarisse wrote:
> luser droog <luser.droog@gmail.com> writes:
>
>> On Saturday, December 18, 2021 at 5:35:01 AM UTC-6, Torbjörn Svensson Diaz wrote:
>>> What is the best way to learn C? Which are the best tutorials and
>>> which are the best books? Can someone please give me a little
>>> guidance?
>>>
>>
>> Others have given good book suggestions. For the best /tutorial/, I'd
>> recommend Brian Kernighan's original tutorial paper. It's a little
>> outdated and quirky. But it's well written and *short*. It gives a
>> reasonably complete overview that should make a more modern text
>> easier to follow.
>>
>> https://www.lysator.liu.se/c/bwk-tutor.html
>
> No, I can't agree. At time, maybe, but not now. Amongst the big
> problems are: no function prototypes, implicit int, old-style function
> definitions, the old =<op> syntax, unique structure tags (because they
> are all interchangeable), no initialisation of structures nor of local
> variables and '\0' as an end-of-file marker.
>
> But then there's almost no use of library functions, no unsigned types,
> no typedef, no long, no void, no const and all local declarations have
> to be at the start of a function. Some of these would, perhaps, be
> deliberately omitted from a first tutorial, but I would not students to
> learn that C has only four types: char, int float and double.
>
> I suppose it's still possible that this is the best tutorial but that
> says more about the others than it does about the suitability of this
> one (there are a lot of awful ones out there).
>

In short, along the lines of the same reasoning, could one say that K&R2
is still among the best choices available?

Re: Best way to learn C?

<spnskb$17ug$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19558&group=comp.lang.c#19558

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!UgLt14+w9tVHe1BtIa3HDQ.user.46.165.242.75.POSTED!not-for-mail
From: mess...@bottle.org (Guillaume)
Newsgroups: comp.lang.c
Subject: Re: Best way to learn C?
Date: Sun, 19 Dec 2021 19:11:06 +0100
Organization: Aioe.org NNTP Server
Message-ID: <spnskb$17ug$1@gioia.aioe.org>
References: <spkh0p$gll$1@dont-email.me> <spkk12$2mo$1@dont-email.me>
<spkldk$bae$3@dont-email.me> <spkr33$fps$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="40912"; posting-host="UgLt14+w9tVHe1BtIa3HDQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Content-Language: fr
X-Notice: Filtered by postfilter v. 0.9.2
 by: Guillaume - Sun, 19 Dec 2021 18:11 UTC

Le 18/12/2021 à 15:26, Bonita Montero a écrit :
> Am 18.12.2021 um 13:49 schrieb Torbjörn Svensson Diaz:
>
>>> Absolutely sufficient for this bad language:
>>> http://cslabcms.nju.edu.cn/problem_solving/images/c/cc/The_C_Programming_Language_%282nd_Edition_Ritchie_Kernighan%29.pdf
>
>
>> Thanks. But what is so bad about C in your opinion?
>
> Becaues C has only the simplest language facilities and
> you have to do anything on your own. Other languages make
> programming much easier.

So (even if that was kinda obvious from many of your other posts),
you're here in comp.lang.c *only* to endlessly claim C is really bad,
and to promote other languages, mainly C++ as far as I've read.

That's typical trolling.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor