ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Google+ 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 1918 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
Pro Visual C++ 2005 for C# Developers
Dean C Willis
Simon Sebright
Appeared in:

This appears to be one of 4 books in the Apress Visual C++ 2005 series. It's really about C++/CLI, not C++, i.e. the new context-sensitive keywords, etc. that Microsoft have built into C++ and the compiler/linker to allow you to write for the .Net environment in something that feels a bit like C++.

It's point of view is to explain to C# developers what they can do with C++/CLI and aims to point out subtle as well as major differences.

I found the overall structure of the book rather vague, as he himself says it's not supposed to be a step-by-step guide, but a collection of things he thinks are useful to know. As such, I can't really recommend this book as a reference.

The first part of the book is more technical, covering core language concepts with lots of nice code examples in the two languages, particularly pointing out where the same syntax might mean different things.

In the middle, we have a random digression to cover code for supposed interview questions, for example calculating the optimum choice of letting nearly-unbreakable light bulbs fall from a building. This I felt was rather just showing off, because his answers used no features of C++ of note, and were basically C in disguise.

I was less satisfied with the second, "Advanced" section of the book. It covers generics, templates, and then moves on to nitty gritty C++, including the preprocessor and "Native C++". The latter is woeful, allocating more time to stdlib.h than stl, and with more example code than text. His main stl example uses deque, should be vector in my opinion as the container of default choice. list has a cursory mention, as does auto_ptr, which apparently can help you if you forget to call delete.

I was rather put off in the first place because there is an introductory section not only about the author, but about the technical reviewer, not something I have seen before!

To summarise, an interesting first half if you want to know a bit about how C++/CLI and C# compare (for example C++-style destructors map on to IDispose), but the rest is a red herring. I won't give the book a not recommended status, because there is enough good material in there, though.

Oh, and you can buy the companion eBook for $10 - what a cheek!