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
MFC Programming from the GROUND UP 2nd Ed
Herbert Schildt
0 07 882573 3
Colin Harkness
microsoft; beginner's c++
Appeared in:
This book is aimed at C++ programmers wanting to learn the MFC, whether or not they have any Win32 experience. The discussion is independent of any compiler or development environment so the programs are created without using wizards. The benefit of this is that the book isn't full of screenshots or 'click here' instructions. However, Schildt has decided that every example must be a complete program so you end up with pages of code containing only a few lines that are relevant to the topic. These examples are uninspiring and the programming approach tediously non-Rapid Application Development.

All the code is listed in full within the book. The downloaded code just consists of a dump of all the listings in each chapter. Therefore, if you want to compile the code then you have to create a project and get handy with the cut and paste keys.

The coverage of MFC is at beginner level. The section on MFC's Document View architecture is perhaps rather too brief, as is the introduction to ActiveX. There no coverage of the MFC's OLE, database, Internet or collection classes. The book claims to cover MFC version 6 but I could find no evidence of anything beyond 4.22 other than the class hierarchy diagram.

This so called 'C/C++ wiz and master of all programming things' has some peculiar views on organising your source code:

'To aid in the organization of MFC-based Windows programs, a style of file management has evolved that has become common among MFC programmers. When writing MFC programs, put all your class derivations in one file and the code that implements those classes in another. Call the first file something like CLASSES.H and include it in the other file. Since most real-world projects consist of multiple source files, this approach is useful because it allows you to easily include your class hierarchy in all of the files used by your program.'

I don't know where he gets this idea. Even the Microsoft class wizards, for all their many faults, generate a pair of files for each class. Schildt evidently has no concept of programming in the large, team-based development or source code control issues.

If you're new to Windows programming and want to write small programs by yourself, you'd probably better give MFC/Visual C++ a miss and pick a RAD tool like C++ Builder/Delphi or VB. If you want to write bigger programs in a team then choose another MFC book (such as those by Blaszczak or Kruglinski).