REVIEW - The C Puzzle Book


Title:

The C Puzzle Book

Author:

Alan R. Feuer

ISBN:

Publisher:

Addison-Wesley Professional (1999)

Pages:

179pp

Reviewer:

Joe McCool

Reviewed:

October 1999

Rating:

★★★★★


Enjoying the challenge is what this book is all about and I really do recommend it highly, a lot can be learnt from it.

My copy of Feuer's book now sits on my shelves alongside The C Programming Language by K&R and The C Answer Book by Tondo and Gimpel. The format of all three books is the same. The material covered is similar, although Feuer's coverage is less dense and perhaps less esoteric.

However, this openness of text should not lead one to conclude that the reading is easy, or that the material is trivial. Far from it. Even apparently simple

printf
statements had me thinking for quite a while. The use of pre-processor macros early in the text:

#define PRINT(format, x) printf(#x " = %" #format "\n", x)
increased my difficulty.

I found the material on operator precedence somewhat trying. I am one of those programmers that believe that the use of parentheses leaves the precedence rules less important and the code easier to read. Still, there are those who enjoy the challenge.

Enjoying the challenge is what this book is all about and I really do recommend it highly, a lot can be learnt from it.

I cannot comment on the accuracy of the code, or its conformity to standards. The author himself admits that

'The puzzles should not be read as examples of good coding; indeed some of the code is atrocious' . His emphasis is on the intellectual exercises. But I can say that any I ran through my Borland compiler executed as expected.

A good buy.


Book cover image courtesy of Open Library.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.