Professional C__ - Marc Gregoire [515]
Library of Congress Control Number: 2011932278
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc., is not associated with any product or vendor mentioned in this book.
Dedicated to my parents, who are always there for me.
—Marc Gregoire
To Sonja, for her unconditional love and support; and to my son Kai, whose frequent interruptions reminded me what’s important in life.
—Nicholas A. Solter
To Fletch, whose unpredictable cuteness reminds me of someone . . .
—Scott J. Kleper
CREDITS
EXECUTIVE EDITOR
Robert Elliott
SENIOR PROJECT EDITOR
Adaobi Obi Tulton
TECHNICAL EDITOR
Joseph M. Newcomer
PRODUCTION EDITOR
Kathleen Wisor
COPY EDITOR
Mike La Bonne
EDITORIAL MANAGER
Mary Beth Wakefield
FREELANCER EDITORIAL MANAGER
Rosemarie Graham
ASSOCIATE DIRECTOR OF MARKETING
David Mayhew
MARKETING MANAGER
Ashley Zurcher
BUSINESS MANAGER
Amy Knies
PRODUCTION MANAGER
Tim Tate
VICE PRESIDENT AND EXECUTIVE GROUP PUBLISHER
Richard Swadley
VICE PRESIDENT AND EXECUTIVE PUBLISHER
Neil Edde
ASSOCIATE PUBLISHER
Jim Minatel
PROJECT COORDINATOR, COVER
Katie Crocker
PROOFREADER
Nancy Carrasco
INDEXER
Johnna VanHoose Dinse
COVER DESIGNER
Ryan Sneed
COVER IMAGE
© slobo
VERTICAL WEBSITES PROJECT MANAGER
Laura Moss-Hollister
VERTICAL WEBSITES ASSISTANT PROJECT MANAGER
Jenny Swisher
VERTICAL WEBSITES ASSOCIATE PRODUCER
Josh Frank
Shawn Patrick
Doug Kuhn
Marilyn Hummel
ABOUT THE AUTHORS
MARC GREGOIRE is a software engineer from Belgium. He graduated from the Catholic University of Leuven, Belgium, with a degree in “Burgerlijk ingenieur in de computer wetenschappen” (equivalent to a master of science in engineering in computer science). The year after, he received the cum laude degree of master in artificial intelligence at the same university. After his studies, Marc started working for a big software consultancy company called Ordina Belgium. As a consultant, he worked for Siemens and Nokia Siemens Networks on critical 2G and 3G software running on Solaris for big telecom operators. This required working in international teams stretching from South America and USA to EMEA and Asia. Now, Marc is working for Nikon Metrology on 3D scanning software. His main expertise is C/C++, and specifically Microsoft VC++ and the MFC framework. Next to C/C++, Marc also likes C# and uses PHP for creating web pages. In addition to his main interest for Windows development, he also has experience in developing C++ programs running 24x7 on Linux platforms; for example, EIB home automation controlling and monitoring software. Since April 2007, he received the yearly Microsoft MVP (Most Valuable Professional) award for his Visual C++ expertise. Marc is an active member on the CodeGuru forum (as Marc G) and wrote some articles and FAQ entries for CodeGuru. He also creates freeware and shareware programs that are distributed through his website at www.nuonsoft.com, and maintains a blog on www.nuonsoft.com/blog/.
NICHOLAS A. SOLTER is a computer programmer with experience developing a range of software including systems software, games, web services, and more. His work on high availability clusters at Sun Microsystems led to three patents and a publication at the International Parallel and Distributed Processing Symposium. Also at Sun, he enjoyed the opportunity to be involved in OpenSolaris, and was the lead author of the OpenSolaris Bible