Home Page -------------------
[Home Page] - [Reviews Main]
-------------------

Book Review
Windows Wisdom for C and C++ Programmers by Leendert Ammeraal
ISBN: 0-471-94004-6       Publisher: Wiley       Pages: 245 pp + disk       Price: £24.95
Categories:   MS Windows     microsoft     borland    
Reviewed by Peter Wippell in C Vu 6-1 (Nov 1993)
When you begin writing Windows programs, there is so much to learn that you can't see the wood for the trees. "Windows Wisdom" tries to add perspective by singling out and explaining twelve frequently occurring mechanisms: the main window, text output, dialog boxes, menus, graphics, bitmaps, colours, expanding lines, animation, file name dialogs, fonts and the printer, are each given separate treatment. The book finishes with a final chapter presenting a dynamic demonstration of the famous Towers of Hanoi problem. You can run multiple instances of this, showing several different solutions proceeding at once.

I found three features particularly helpful: the chapters are easy to refer back to because they each follow an identical plan, the definition of each problem is clearly separated from its solution, and the questions at the ends of the chapters are well chosen. The latter will catch you out if you haven't absorbed the important points, and I was pleased to find a full answer to each question at the end of the book. In each chapter the solution program, also on the companion disk, is given in C, in Microsoft Foundation Classes (MFC) and in Borland Object Windows (OWL). The examples compiled and ran satisfactorily under C and OWL, after an initial hitch caused because some make files assume that the default TURBOC.CFG file exists. I wasn't equipped to test the MFC versions.

The explanatory text and programming style is clear and instructive in the body of the book, where the programs are short. However the Towers of Hanoi is much longer and, for me, tricky and hard to follow. Here, I would like to see a clearer implementation, using classes representing the objects in the problem statement.

The author draws attention to the size of the enormous executable files, which you get when libraries are used, although an explanation is outside the scope of the book. He gives the following figures for one program: BCC- 10240, MFC-24576, OWL-61440. Doesn't this violate that much vaunted principle of C++ : What you don't use, you don' t pay for? There seems to be a conspiracy of silence on this subject in the compiler documentation. Don't we badly need a tool for stripping out useless code?

I can recommend this book to a C programmer wanting an elementary introduction to Windows programming. Alternatively, it makes entertaining and profitable refresher, for someone coming back to Windows after a gap.


Other Authors with the same surname

Ammeraal
Algorithms and Data Structures in C++ by Leendert Ammeraal  (Reviewed May 1996)
Algorithms and Data Structures in C++ by Leendert Ammeraal [Recommended with Reservations]  (Reviewed Nov 1996)
C For Programmers -A Complete Tutorial based on the ANSI Standard(Second Edition) by Leendert Ammeraal [Recommended]  (Reviewed May 1991)
C++ for Programmers (2nd ed) by Leendert Ammeraal  (Reviewed Mar 1996)
C++ for Programmers 3ed by Leen Ammeraal [Not Recommended]  (Reviewed Sep 2000)
C++ for Programmers by Leendert Ammeraal [Recommended]  (Reviewed Nov 1991)
Computer Graphics for Java Programmers by Leen Ammeraal [Recommended]  (Reviewed Nov 1998)
Programming Principles in Computer Graphics (Second Edition) by Leendert Ammeraal [Recommended]  (Reviewed Nov 1992)
Programs and Data Structures in C (Second Edition) by Leendert Ammeraal  (Reviewed Mar 1992)
Win3D by Leendert Ammeraal  (Reviewed Nov 1994)
Windows Wisdom for C and C++ Programmers by Leendert Ammeraal  (Reviewed Feb 1994)


Last Update - 13 May 2001.

To link to this review, please use the URL: http://www.accu.org/bookreviews/public/reviews/w/w001393.htm

Copyright © The Association of C & C++ Users 1998-2000. All rights reserved.

Mirrored from http://www.accu.org/