Mailing List Archive
tlug.jp Mailing List
tlug archive
tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] good C book for iso c99?
- Date: Tue, 23 Oct 2007 14:17:47 +0900
 - From: "Miles Colman" <mcolman@example.com>
 - Subject: [tlug] good C book for iso c99?
 
Hi C gurus,
anyone know of a good reference/learning book that includes features of iso c99? I keep hearing about K&R but it's ooooold.
Context, if you want to know:
I'm just learning C, and my book has been teaching me stuff like:
my_struct_ptr = (int* ) malloc( sizeof( my_struct) );
my C book (c. 1994, On to C by Patrick Winston) says you should always make casts like this, or the type will be undefined. C curricula on the web of a similar vintage say the same thing (cf. eg
http://www-ee.eng.hawaii.edu/~tep/EE150/book/chap14/subsection2.1.2.1.html )
However, wikipedia has more recent info, which explains why the cast is no longer necessary:
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?id=1043284351&answer=1047673478
should i just read the ansi standards?
- Follow-Ups:
 
- Re: [tlug] good C book for iso c99?
 
- From: Nguyen Vu Hung
 - Re: [tlug] good C book for iso c99?
 
- From: david.blomberg@example.com
 - Re: [tlug] good C book for iso c99?
 
- From: Attila Kinali
 - Re: [tlug] good C book for iso c99?
 
- From: Jedidiah Israel
 - Re: [tlug] good C book for iso c99?
 
- From: Brett Robson
 Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Tlug archive in mbox format
 - Next by Date: Re: [tlug] good C book for iso c99?
 - Previous by thread: [tlug] reiserfs kernel panic
 - Next by thread: Re: [tlug] good C book for iso c99?
 - Index(es):
 
Home Page Mailing List Linux and Japan TLUG Members Links