ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Facebook ACCU at Linked-in ACCU at Twitter Skip Navigation

Search in Book Reviews

The ACCU passes on review copies of computer books to its members for them to review. The result is a large, high quality collection of book reviews by programmers, for programmers. Currently there are 1949 reviews in the database and more every month.
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
    View all alphabetically
Title:
C Primer Plus 5th Ed
Author:
Stephen Prata
ISBN:
0-672-32696-5
Publisher:
Sams
Pages:
Price:
Reviewer:
Paul Thomas
Subject:
C
Appeared in:
18-4

Ah, C! This brings back memories. I had to learn C "on the job" and what a confusing beast it was. It was years before I found time to learn the details and I was probably dangerous until then! It's always better to take the time to learn something like this properly and I could have done worse than work through this book. Though I expect it would have taken some time. The K&R "bible" has run out of pages before this book has covered the

if
statement.

I didn't do the exercises but I did give it a full read - a good 750 pages or so before the reference section. I learnt a few things too; mostly about C99 which the book focusses on. It does have the good grace to point out where compiler support is lacking and there is a good grounding in other practical matters. Not enough emphasis on non-portable behaviour for my liking, with bad advice on bitfields. But the teaching style is nice - introduce a new program, then follow it up with a lengthy discussion. Not just the basic language details either, but common use idioms.

I would leave it at that and recommend it for anyone committed to follow a large tutorial. But I have a few worries.

About halfway through, I came across this gem:

So in serious programming, you should use
fgets()
rather than
gets()
, but this book takes a more relaxed approach.
Relaxed approach? Your stock is falling Dr. Prata. Still, that's academics for you: wagging a finger at us for shunning garbage collection and formal verification; then writing FORTRAN libraries.

Another thing I look for in a basic C book is

goto
. Sure enough, it's not recommended and there is even a good section on how to replace it with structured code. But no satisfactory explanation for why it should be shunned. So students that learn from this book will likely rebel when they see how easy it is to use and will badger C/C++ lists to accept that it's a good thing. Probably quoting Knuth.

So, while other books might be better, it's a good tutorial for C that takes a complete novice into fairly advanced territory.