Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #111355 > unrolled thread

High quality resources for learning modern C?

Started byLeon Taylor <leontaylor476@gmail.com>
First post2017-06-03 04:44 -0700
Last post2017-06-11 15:54 -0700
Articles 20 on this page of 93 — 23 participants

Back to article view | Back to comp.lang.c


Contents

  High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 04:44 -0700
    Re: High quality resources for learning modern C? gazelle@shell.xmission.com (Kenny McCormack) - 2017-06-03 11:49 +0000
      Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 05:17 -0700
      Re: High quality resources for learning modern C? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-06-03 05:45 -0700
    Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 14:43 +0200
      Re: High quality resources for learning modern C? Noob <root@127.0.0.1> - 2017-06-03 17:21 +0200
        Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 18:15 +0200
          Re: High quality resources for learning modern C? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-03 21:16 +0200
            Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 22:56 +0200
            Re: High quality resources for learning modern C? Philipp Klaus Krause <pkk@spth.de> - 2017-06-03 23:32 +0200
          Re: High quality resources for learning modern C? Noob <root@127.0.0.1> - 2017-06-03 22:20 +0200
            Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 23:00 +0200
              Re: High quality resources for learning modern C? Noob <root@127.0.0.1> - 2017-06-04 00:03 +0200
                Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-04 00:08 +0200
    Re: High quality resources for learning modern C? Philipp Klaus Krause <pkk@spth.de> - 2017-06-03 18:32 +0200
      Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 17:05 -0700
    Re: High quality resources for learning modern C? Real Troll <real.troll@trolls.com> - 2017-06-03 13:30 -0400
      Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-03 18:59 +0100
        Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 20:49 +0200
          Re: High quality resources for learning modern C? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-03 21:12 +0200
            Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 23:13 +0200
              Re: High quality resources for learning modern C? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-03 23:37 +0200
            Re: High quality resources for learning modern C? Thiago Adams <thiago.adams@gmail.com> - 2017-06-03 15:12 -0700
              Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-04 00:16 +0200
        Re: High quality resources for learning modern C? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-03 21:08 +0200
          Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-03 21:08 +0100
          Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-06 19:29 +0100
        Re: High quality resources for learning modern C? Real Troll <Real.Troll@Trolls.com> - 2017-06-03 17:15 -0400
          Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-05 22:58 +0100
            Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-05 15:51 -0700
              Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-06 00:22 +0100
              Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-05 17:05 -0700
                Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-05 17:57 -0700
      Re: High quality resources for learning modern C? raltbos@xs4all.nl (Richard Bos) - 2017-06-03 18:13 +0000
        Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 17:07 -0700
        Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-03 18:20 -0700
          Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 19:59 -0700
      Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 20:39 +0200
      Re: High quality resources for learning modern C? Barry Schwarz <schwarzb@dqel.com> - 2017-06-03 14:01 -0700
      Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 17:08 -0700
    Re: High quality resources for learning modern C? David Brown <david.brown@hesbynett.no> - 2017-06-04 16:53 +0200
      Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-04 17:04 +0200
        Re: High quality resources for learning modern C? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-04 22:03 +0100
          Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-04 16:11 -0700
            Re: High quality resources for learning modern C? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-05 00:43 +0100
              Re: High quality resources for learning modern C? David Brown <david.brown@hesbynett.no> - 2017-06-05 11:56 +0200
                Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-05 03:28 -0700
                  Re: High quality resources for learning modern C? David Brown <david.brown@hesbynett.no> - 2017-06-05 12:39 +0200
      Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-04 16:06 -0700
        Re: High quality resources for learning modern C? Ian Collins <ian-news@hotmail.com> - 2017-06-05 14:09 +1200
      Re: High quality resources for learning modern C? raltbos@xs4all.nl (Richard Bos) - 2017-06-05 08:43 +0000
        Re: High quality resources for learning modern C? David Brown <david.brown@hesbynett.no> - 2017-06-05 12:08 +0200
          Re: High quality resources for learning modern C? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-06-05 03:49 -0700
          Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-05 14:53 +0200
        Re: High quality resources for learning modern C? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-05 11:48 +0100
        Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-05 07:28 -0700
          Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-05 11:52 -0700
            Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-05 12:23 -0700
            Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-05 12:46 -0700
              Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-05 17:46 -0700
                Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-06 01:58 +0100
                Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-05 20:09 -0700
                Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-05 20:16 -0700
                  Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-05 21:57 -0700
                    Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 07:36 -0700
                      Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-06 09:29 -0700
                        Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 10:13 -0700
                          Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-06 13:37 -0700
                            Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 15:23 -0700
                              Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-06 16:32 -0700
                                Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-06 19:02 -0700
                                  Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 20:20 -0700
                                    Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-07 18:36 -0700
                                      Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-07 19:25 -0700
                                        Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-07 20:09 -0700
                                          Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-07 20:56 -0700
                                          Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-08 09:03 -0700
                                        Re: High quality resources for learning modern C? James Kuyper <jameskuyper@verizon.net> - 2017-06-07 23:14 -0400
                                      Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-07 20:42 -0700
                                Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 20:08 -0700
                                  Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-07 07:46 -0700
                                    Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-07 09:02 -0700
                                      Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-07 15:14 -0700
                                        Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-07 16:36 -0700
                                          Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-08 08:10 -0700
                                            Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-08 10:43 -0700
                                          Re: High quality resources for learning modern C? "James R. Kuyper" <jameskuyper@verizon.net> - 2017-06-08 12:37 -0400
                                            Re: High quality resources for learning modern C? Tim Rentsch <txr@alumni.caltech.edu> - 2017-06-09 10:36 -0700
                                              Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-09 11:09 -0700
                                                Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-09 12:00 -0700
                                                  Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-09 12:45 -0700
                                                    Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-09 14:11 -0700
                                                Re: High quality resources for learning modern C? Tim Rentsch <txr@alumni.caltech.edu> - 2017-06-11 15:54 -0700

Page 1 of 5  [1] 2 3 4 5  Next page →


#111355 — High quality resources for learning modern C?

FromLeon Taylor <leontaylor476@gmail.com>
Date2017-06-03 04:44 -0700
SubjectHigh quality resources for learning modern C?
Message-ID<7b9d7ea8-2525-4f97-a0fe-dcf9830d4848@googlegroups.com>
Hi everyone,
I have gotten back into programming C after a long Hiatus. Like many of us, I learnt C from the K&R2 but I want to learn modern C (C99/C11).
Can any of you recommend a good book/resource?
Thanks, Leon.

[toc] | [next] | [standalone]


#111358

Fromgazelle@shell.xmission.com (Kenny McCormack)
Date2017-06-03 11:49 +0000
Message-ID<ogu7nh$fco$2@news.xmission.com>
In reply to#111355
In article <7b9d7ea8-2525-4f97-a0fe-dcf9830d4848@googlegroups.com>,
Leon Taylor  <leontaylor476@gmail.com> wrote:
>Hi everyone,
>I have gotten back into programming C after a long Hiatus. Like many of us, I
>learnt C from the K&R2 but I want to learn modern C (C99/C11).
>Can any of you recommend a good book/resource?
>Thanks, Leon.

Isn't the term "modern C" pretty much an oxymoron?

These days, even C++ is considered a legacy language.

-- 
The randomly chosen signature file that would have appeared here is more than 4
lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
	http://user.xmission.com/~gazelle/Sigs/DanaC

[toc] | [prev] | [next] | [standalone]


#111365

FromLeon Taylor <leontaylor476@gmail.com>
Date2017-06-03 05:17 -0700
Message-ID<d5073f8a-5e5d-4f6c-8d95-3dbfeadd0a94@googlegroups.com>
In reply to#111358
On Saturday, June 3, 2017 at 9:49:11 PM UTC+10, Kenny McCormack wrote:
> In article <7b9d7ea8-2525-4f97-a0fe-dcf9830d4848@googlegroups.com>,
> Leon Taylor  <leontaylor476@gmail.com> wrote:
> >Hi everyone,
> >I have gotten back into programming C after a long Hiatus. Like many of us, I
> >learnt C from the K&R2 but I want to learn modern C (C99/C11).
> >Can any of you recommend a good book/resource?
> >Thanks, Leon.
> 
> Isn't the term "modern C" pretty much an oxymoron?
> 
> These days, even C++ is considered a legacy language.
> 
> -- 
> The randomly chosen signature file that would have appeared here is more than 4
> lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
> in compliance with said RFCs, the actual sig can be found at the following URL:
> 	http://user.xmission.com/~gazelle/Sigs/DanaC

Sorry if I didn't make my original post clear - I know C is "old" compared to languages these days but I am looking for some resources on the C99/C11. I don't see how C++ is considered a legacy language, many applications and projects (unfortunately) use C++. Java and C# may be very popular for desktop software, but C++ is still very popular. 

[toc] | [prev] | [next] | [standalone]


#111368

FromMalcolm McLean <malcolm.arthur.mclean@gmail.com>
Date2017-06-03 05:45 -0700
Message-ID<8643c3f6-1890-460a-8fa6-67424830631f@googlegroups.com>
In reply to#111358
On Saturday, June 3, 2017 at 12:49:11 PM UTC+1, Kenny McCormack wrote:
> In article <7b9d7ea8-2525-4f97-a0fe-dcf9830d4848@googlegroups.com>,
> 
> Isn't the term "modern C" pretty much an oxymoron?
> 
> These days, even C++ is considered a legacy language.
> 
Yes, the whole point is that you need to write C functions ("Malcolm"
functions) once, and they last forever. So the algorithmic heart of
many a program is culled from a thirty year old edition of Numerical
Recipes.
Then you build up a GUI and maybe a bit of web access or networking
around that. That work can be done in a scripting language.

[toc] | [prev] | [next] | [standalone]


#111369

FromGOTHIER Nathan <nathan.gothier@gmail.com>
Date2017-06-03 14:43 +0200
Message-ID<20170603144351.fa8695bf47bdae37395b014f@gmail.com>
In reply to#111355
On Sat, 3 Jun 2017 04:44:52 -0700 (PDT)
Leon Taylor <leontaylor476@gmail.com> wrote:

> Hi everyone,
> I have gotten back into programming C after a long Hiatus. Like many of us, I
learnt C from the K&R2 but I want to learn modern C (C99/C11).
> Can any of you recommend a good book/resource?

If you have deep pockets you can order the latest ISO 9899 standard like
some people pretend to have done here. Nevertheless, I don't think it's
relevant to waste so much money as an individual for a standard not fully
implemented by popular compilers. You can get some drafts from the ISO working
group page to see the new features adopted by the ISO committee.

source: http://www.open-std.org/Jtc1/sc22/wg14/www/standards

Some features may be relevant but not all according to your review.

[toc] | [prev] | [next] | [standalone]


#111373

FromNoob <root@127.0.0.1>
Date2017-06-03 17:21 +0200
Message-ID<oguk06$f81$1@dont-email.me>
In reply to#111369
On 03/06/2017 14:43, GOTHIER Nathan wrote:

> Nevertheless, I don't think it's relevant to waste so much money
> as an individual for a standard not fully implemented by popular
> compilers.

I was under the impression that gcc fully supported
non-optional parts of C99 and C11.

https://gcc.gnu.org/c99status.html
https://gcc.gnu.org/wiki/C11Status

[toc] | [prev] | [next] | [standalone]


#111378

FromGOTHIER Nathan <nathan.gothier@gmail.com>
Date2017-06-03 18:15 +0200
Message-ID<20170603181545.878962a0c0e6c9759efa791d@gmail.com>
In reply to#111373
On Sat, 3 Jun 2017 17:21:52 +0200
Noob <root@127.0.0.1> wrote:

> On 03/06/2017 14:43, GOTHIER Nathan wrote:
> 
> > Nevertheless, I don't think it's relevant to waste so much money
> > as an individual for a standard not fully implemented by popular
> > compilers.
> 
> I was under the impression that gcc fully supported
> non-optional parts of C99 and C11.
> 
> https://gcc.gnu.org/c99status.html
> https://gcc.gnu.org/wiki/C11Status

Actually GCC doesn't support standard pragma directives and MSVS too.

[toc] | [prev] | [next] | [standalone]


#111401

Fromjacobnavia <jacob@jacob.remcomp.fr>
Date2017-06-03 21:16 +0200
Message-ID<ogv1nb$ta9$2@dont-email.me>
In reply to#111378
Le 03/06/2017 à 18:15, GOTHIER Nathan a écrit :
> On Sat, 3 Jun 2017 17:21:52 +0200
> Noob <root@127.0.0.1> wrote:
> 
>> On 03/06/2017 14:43, GOTHIER Nathan wrote:
>>
>>> Nevertheless, I don't think it's relevant to waste so much money
>>> as an individual for a standard not fully implemented by popular
>>> compilers.
>>
>> I was under the impression that gcc fully supported
>> non-optional parts of C99 and C11.
>>
>> https://gcc.gnu.org/c99status.html
>> https://gcc.gnu.org/wiki/C11Status
> 
> Actually GCC doesn't support standard pragma directives and MSVS too.
> 

Gcc supports all C99 BUT that standard pragmas. Saying that they do not 
fully implement C99 because that very minor feature is nonsense.

[toc] | [prev] | [next] | [standalone]


#111418

FromGOTHIER Nathan <nathan.gothier@gmail.com>
Date2017-06-03 22:56 +0200
Message-ID<20170603225636.5078c2dfbf0f543c6d898454@gmail.com>
In reply to#111401
On Sat, 3 Jun 2017 21:16:14 +0200
jacobnavia <jacob@jacob.remcomp.fr> wrote:

> Gcc supports all C99 BUT that standard pragmas. Saying that they do not 
> fully implement C99 because that very minor feature is nonsense.

A minor features to control the rounding issue with floats...

[toc] | [prev] | [next] | [standalone]


#111424

FromPhilipp Klaus Krause <pkk@spth.de>
Date2017-06-03 23:32 +0200
Message-ID<ogv9sf$fdl$1@solani.org>
In reply to#111401
Am 03.06.2017 um 21:16 schrieb jacobnavia:
> Le 03/06/2017 à 18:15, GOTHIER Nathan a écrit :
>> On Sat, 3 Jun 2017 17:21:52 +0200
>> Noob <root@127.0.0.1> wrote:
>>
>>> On 03/06/2017 14:43, GOTHIER Nathan wrote:
>>>
>>>> Nevertheless, I don't think it's relevant to waste so much money
>>>> as an individual for a standard not fully implemented by popular
>>>> compilers.
>>>
>>> I was under the impression that gcc fully supported
>>> non-optional parts of C99 and C11.
>>>
>>> https://gcc.gnu.org/c99status.html
>>> https://gcc.gnu.org/wiki/C11Status
>>
>> Actually GCC doesn't support standard pragma directives and MSVS too.
>>
> 
> Gcc supports all C99 BUT that standard pragmas. Saying that they do not
> fully implement C99 because that very minor feature is nonsense.

Arent't those standard pragmas optional for freestanding implementations?

Philipp

[toc] | [prev] | [next] | [standalone]


#111408

FromNoob <root@127.0.0.1>
Date2017-06-03 22:20 +0200
Message-ID<ogv5gl$be2$1@dont-email.me>
In reply to#111378
On 03/06/2017 18:15, GOTHIER Nathan wrote:
> On Sat, 3 Jun 2017 17:21:52 +0200
> Noob <root@127.0.0.1> wrote:
> 
>> On 03/06/2017 14:43, GOTHIER Nathan wrote:
>>
>>> Nevertheless, I don't think it's relevant to waste so much money
>>> as an individual for a standard not fully implemented by popular
>>> compilers.
>>
>> I was under the impression that gcc fully supported
>> non-optional parts of C99 and C11.
>>
>> https://gcc.gnu.org/c99status.html
>> https://gcc.gnu.org/wiki/C11Status
> 
> Actually GCC doesn't support standard pragma directives

http://port70.net/~nsz/c/c99/n1256.html#6.10.6

    #pragma STDC FP_CONTRACT on-off-switch
    #pragma STDC FENV_ACCESS on-off-switch
    #pragma STDC CX_LIMITED_RANGE on-off-switch
    on-off-switch: one of
                ON     OFF           DEFAULT

Which ones doesn't gcc support?

/me opens a search engine.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37845
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678

So the problem is only STDC FENV_ACCESS?

That's a pretty obscure corner-case to claim that
gcc doesn't support C99.

Regards.

[toc] | [prev] | [next] | [standalone]


#111420

FromGOTHIER Nathan <nathan.gothier@gmail.com>
Date2017-06-03 23:00 +0200
Message-ID<20170603230032.7191e601c4acbafc2f6dfd53@gmail.com>
In reply to#111408
On Sat, 3 Jun 2017 22:20:48 +0200
Noob <root@127.0.0.1> wrote:
 
> Which ones doesn't gcc support?

All standard pragma directives with the STDC token. It seems only GCC pragma
directives implementation is documented.

[toc] | [prev] | [next] | [standalone]


#111429

FromNoob <root@127.0.0.1>
Date2017-06-04 00:03 +0200
Message-ID<ogvbh5$ulq$1@dont-email.me>
In reply to#111420
On 03/06/2017 23:00, GOTHIER Nathan wrote:
> On Sat, 3 Jun 2017 22:20:48 +0200
> Noob <root@127.0.0.1> wrote:
>  
>> Which ones doesn't gcc support?
> 
> All standard pragma directives with the STDC token. It seems only GCC pragma
> directives implementation is documented.

There are 3 standard pragmans, of which gcc correctly supports 2.
And there seems to be an issue with 1.

Could you be more specific?

You make it sound like there's something big gcc is ignoring.

[toc] | [prev] | [next] | [standalone]


#111430

FromGOTHIER Nathan <nathan.gothier@gmail.com>
Date2017-06-04 00:08 +0200
Message-ID<20170604000853.300ce69d3e4b548043b6f73c@gmail.com>
In reply to#111429
On Sun, 4 Jun 2017 00:03:27 +0200
Noob <root@127.0.0.1> wrote:

> There are 3 standard pragmans, of which gcc correctly supports 2.
> And there seems to be an issue with 1.
> 
> Could you be more specific?
> 
> You make it sound like there's something big gcc is ignoring.

Perhaps you wouldn't admit your favorite compiler isn't as perfect as you
wished... however this won't prevent me from sleeping on both ears.

[toc] | [prev] | [next] | [standalone]


#111383

FromPhilipp Klaus Krause <pkk@spth.de>
Date2017-06-03 18:32 +0200
Message-ID<oguoa9$4j6$1@solani.org>
In reply to#111355
Am 03.06.2017 um 13:44 schrieb Leon Taylor:
> Hi everyone,
> I have gotten back into programming C after a long Hiatus. Like many of us, I learnt C from the K&R2 but I want to learn modern C (C99/C11).
> Can any of you recommend a good book/resource?
> Thanks, Leon.
> 

"Modern C" by Jens Gustedt (AFAIK, it has not yet been published on
paper, but there is a .pdf).

Philipp

[toc] | [prev] | [next] | [standalone]


#111444

FromLeon Taylor <leontaylor476@gmail.com>
Date2017-06-03 17:05 -0700
Message-ID<fe78ac58-68d1-4d60-8d84-c7d864ad22f8@googlegroups.com>
In reply to#111383
On Sunday, June 4, 2017 at 2:32:22 AM UTC+10, Philipp Klaus Krause wrote:
> Am 03.06.2017 um 13:44 schrieb Leon Taylor:
> > Hi everyone,
> > I have gotten back into programming C after a long Hiatus. Like many of us, I learnt C from the K&R2 but I want to learn modern C (C99/C11).
> > Can any of you recommend a good book/resource?
> > Thanks, Leon.
> > 
> 
> "Modern C" by Jens Gustedt (AFAIK, it has not yet been published on
> paper, but there is a .pdf).
> 
> Philipp

Thank you Philipp, "Modern C" looks very good.

[toc] | [prev] | [next] | [standalone]


#111386

FromReal Troll <real.troll@trolls.com>
Date2017-06-03 13:30 -0400
Message-ID<oguren$rfj$1@gioia.aioe.org>
In reply to#111355
On 03/06/2017 12:44, Leon Taylor wrote:
> Hi everyone,
> I have gotten back into programming C after a long Hiatus. Like many of us, I learnt C from the K&R2 but I want to learn modern C (C99/C11).
> Can any of you recommend a good book/resource?
> Thanks, Leon.

You want to start with C# as by default Microsoft Visual Studio doesn't 
support C but this doesn't mean you can't create a C program on it.  
However, C# is in the vogue these days or even Embarcadero Delphi.

you can both MS Visual Studio Community Edition and Delphi Starter 
Edition free of charge.  (you also get C++ starter Edition as well free)

Apart from this, you just need to search the web for certain topics or 
if you want something that goes step by step then you need a book.  
Experience tells me that people rarely read a book these days as they 
want to do things from the word go.  Theory is for the classroom not for 
learning purposes how to do things.

[toc] | [prev] | [next] | [standalone]


#111387

Frombartc <bc@freeuk.com>
Date2017-06-03 18:59 +0100
Message-ID<VNCYA.153566$5t1.18148@fx43.am4>
In reply to#111386
On 03/06/2017 18:30, Real Troll wrote:
> On 03/06/2017 12:44, Leon Taylor wrote:
>> Hi everyone,
>> I have gotten back into programming C after a long Hiatus. Like many 
>> of us, I learnt C from the K&R2 but I want to learn modern C (C99/C11).
>> Can any of you recommend a good book/resource?
>> Thanks, Leon.
> 
> You want to start with C# as by default Microsoft Visual Studio doesn't 
> support C but this doesn't mean you can't create a C program on it. 
> However, C# is in the vogue these days or even Embarcadero Delphi.

> you can both MS Visual Studio Community Edition and Delphi Starter 
> Edition free of charge.  (you also get C++ starter Edition as well free)

Visual Studio talks a lot about C++, and very little about C, to the 
extent that it's hard to be sure it supports the latter at all.

I downloaded it a few weeks ago (as it was stipulated for building a 
particular app, which it failed to do as there were other dependencies 
that didn't work.).

While I had it, I tried to get it to compile and run Hello World. Which 
I failed to do as well (within ten minutes messing about with it anyway).

So with these systems, learning to use the IDE can be as steep a curve 
as learning the language.

(But I don't think it's been established that that's what the OP is 
having trouble with.)

-- 
bartc

[toc] | [prev] | [next] | [standalone]


#111396

FromGOTHIER Nathan <nathan.gothier@gmail.com>
Date2017-06-03 20:49 +0200
Message-ID<20170603204921.913dd4f520ce70d13b924eb7@gmail.com>
In reply to#111387
On Sat, 3 Jun 2017 18:59:17 +0100
bartc <bc@freeuk.com> wrote:

> Visual Studio talks a lot about C++, and very little about C, to the 
> extent that it's hard to be sure it supports the latter at all.

Microsoft doesn't ostensibly support C which is at best considered legacy to
promote its privative dot Net programming environment.

[toc] | [prev] | [next] | [standalone]


#111399

Fromjacobnavia <jacob@jacob.remcomp.fr>
Date2017-06-03 21:12 +0200
Message-ID<ogv1fp$ta9$1@dont-email.me>
In reply to#111396
Le 03/06/2017 à 20:49, GOTHIER Nathan a écrit :
> Microsoft doesn't ostensibly support C which is at best considered legacy to
> promote its privative dot Net programming environment.

Microsoft visual studio compiles any C program that conforms to the 
common C++/C subset.

In addition to that, any file that ends in .C will be treated as a C 
file and compiled with the C compiler. Some features of C99 are 
implemented (long long, for instance) and others not.

Microsoft attitude towards C is the same as most people here in this group:

C is obsolete and only C++ is worth to be remembered. But they do 
support C in the sense that their compiler still compiles C.

I do not have any windows system available at the moment but I am sure 
it is still working. That Bart doesn't seem to be able to use it is 
another story.

[toc] | [prev] | [next] | [standalone]


Page 1 of 5  [1] 2 3 4 5  Next page →

Back to top | Article view | comp.lang.c


csiph-web