473,404 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

K.N. King's Second Edition

Right next to K&R2 on my bookshelf is _C Programming: A Modern Approach_ by
Professor K.N. King. The second edition of this book is now available. See
this URL for details:

http://knking.com/books/c2/

I don't think I'm alone among c.l.c. participants in recommending this book
(based upon the very good first edition).
Jun 27 '08 #1
5 4646
On Apr 30, 11:27 pm, Bob Nelson <bnel...@nelsonbe.comwrote:
Right next to K&R2 on my bookshelf is _C Programming: A Modern Approach_ by
Professor K.N. King. The second edition of this book is now available. See
this URL for details:

http://knking.com/books/c2/

I don't think I'm alone among c.l.c. participants in recommending this book
(based upon the very good first edition).
Having almost finished reading the second edition, I'll go ahead and
take the opportunity to comment on this book.

First off, I can honestly say that this is the best book for learning
C that I have encountered (and I have encountered, and own, many books
on C). This book is amazingly approachable and accurate, as well as
thorough and concise. Each chapter ends with a Q&A section with real
questions and in-depth answers, not contrived surface-level concepts
that should have been covered in the main text as I have seen with
certain other books. For example, the chapter on functions ends with
questions such as "Is it legal to put a function declaration inside
the body of another function?", and "Why can the first dimension in an
array parameter be left unspecified, but not the other dimensions?"
and goes on to provide thoughtful and insightful answers that solidify
a deeper understanding of the concepts discussed in the text. In
addition to the Q&A at the end of every chapter, there are also
"Exercises" and "Programming Projects" sections that provide material
to reinforce the concepts discussed and actually develop decent
experience solving small but useful problems. The fact that the
answers to a number of exercises and projects is available on the
website is great for those learning outside a classroom environment.

The second edition does away with the "Intro to C++" section,
something I personally disliked about the first version, and adds
better coverage of "International Support" and "Program Design", areas
that are sorely missing or poorly covered in many introductory
texts.

This second edition covers every aspect of C99 and does a great job of
pointing out those areas that are new in C99 using a special icon in
the margin. The main text is littered with helpful forward and back
references. comp.lang.c regulars will appreciate the fact that this
book is strictly focused on Standard C and points out implementation-
defined behavior and platform-specific items. There is an Appendix
that covers the major differences between C99 and C89 and another that
covers the differences between C89 and K&R C.

One of the most amazing aspects about both editions are the relatively
small number of errors, technical or otherwise. After being available
for over 10 years, the first edition racked up a total of 32 errata.
That is pretty amazing considering that the first edition was over 500
pages and that the majority of the errata are minor typos or words
printed in the wrong font, etc. The second edition, at over 800
pages, lives up to the quality of the first edition; after having read
most of the text I have found 5 errors, all very minor, I can usually
spot more errors (and more significant ones) in the average C book in
the first 10 pages.

Finally I have a single book that I can whole-heartedly recommend to
anyone desiring to learn C, regardless of previous programming
experience. It would be difficult to make it through this book
without coming away with a pretty thorough understanding of the
language, even experienced programmers could probably learn a thing or
two by reading this book, I did!

--
Robert Gamble
Jun 27 '08 #2
Is this book for absolute beginners ? K & R 2 seems to be too terse
for a beginner. But anyway, I have found that the best way (for me) to
learn is to write programs, work on projects, refer to the manual,
discussing with experts etc.
Jun 27 '08 #3
On Wed, 30 Apr 2008 22:54:11 -0700, pereges wrote:
Is this book for absolute beginners ?
of course it is. Beginner to C.
K & R 2 seems to be too terse for a beginner.
yes, it, too, is for beginners to C but those beginners must have written
at last 10,000 lines of real-life code in any of other languages before
they attempt to read K&R2. This is what I have felt since I learned from
this book.

But anyway, I have found that the best way (for me) to
learn is to write programs, work on projects, refer to the manual,
discussing with experts etc.
It took me a lot of time before I realized this thing but you
have 1st understand the Semantics of the language and for that you need a
book :P. I think K&R2's way is to show you how to solve problems in C
rather than 1st telling you everything in words and then slowly giving you
pieces of code to work on. K&R2 does not work like that, authors are quite
direct, dense and very practical in their approach. You will not find many
authors who write like this and this is for the good of the reader, I
think.

--
http://lispmachine.wordpress.com/
my email ID is @ the above address

Jun 27 '08 #4
On Apr 30, 10:27 pm, Bob Nelson <bnel...@nelsonbe.comwrote:
Right next to K&R2 on my bookshelf is _C Programming: A Modern Approach_ by
Professor K.N. King. The second edition of this book is now available. See
this URL for details:

http://knking.com/books/c2/

I don't think I'm alone among c.l.c. participants in recommending this book
(based upon the very good first edition).
I have ordered both K&R 2 and the 2nd edition of C Programming: A
Modern Approach; they should be arriving in a few days. I'm not a
total novice programmer but I am totally new to C. Which one should I
learn first?
Jun 27 '08 #5
s0****@gmail.com wrote:
On Apr 30, 10:27 pm, Bob Nelson <bnel...@nelsonbe.comwrote:
>Right next to K&R2 on my bookshelf is _C Programming: A Modern Approach_
by Professor K.N. King. The second edition of this book is now available.
See this URL for details:

http://knking.com/books/c2/

I don't think I'm alone among c.l.c. participants in recommending this
book (based upon the very good first edition).

I have ordered both K&R 2 and the 2nd edition of C Programming: A
Modern Approach; they should be arriving in a few days. I'm not a
total novice programmer but I am totally new to C. Which one should I
learn first?
The only point I can add to Robert Gamble's thorough reply is an analogy.
K&R2 is like the King James version of the Bible and K.N. King's book is
like the Revised Standard Version. Additionally, K&R2 uses a terse style
whereas King is more expansive.
Jun 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alex Martelli | last post by:
Greetings, fellow Pythonistas! We (Alex Martelli, David Ascher and Anna Martelli Ravenscroft) are in the process of selecting recipes for the Second Edition of the Python Cookbook. Please...
1
by: --CELKO-- | last post by:
I am working on the third edition of SQL FOR SMARTIES. If anyone has an SQL programming technique, trick or tip that they think should be in the book, drop me an email. You get a virtual beer...
0
by: Frederick Noronha \(FN\) | last post by:
---------- Forwarded message ---------- Solutions to Everyday User Interface and Programming Problems O'Reilly Releases "Access Cookbook, Second Edition" Sebastopol, CA--Neither reference book...
4
by: mosesdinakaran | last post by:
Can any one explain how the rule is applied for the following Regular expression $Str = 'the red king'; $Pattern = '/((red|white) (king|queen))/'; preg_match($Pattern,$Str,$Val); Result:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.