Copyright
Many of the designations used by
manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and the publisher was
aware of a trademark claim, the designations have been printed with initial
capital letters or in all capitals.
The authors and publisher have
taken care in the preparation of this book, but make no expressed or implied
warranty of any kind and assume no responsibility for errors or omissions. No
liability is assumed for incidental or consequential damages in connection with
or arising out of the use of the information or programs contained herein.
The publisher offers
excellent discounts on this book when ordered in quantity for bulk purchases or
special sales, which may include electronic versions and/or custom covers and
content particular to your business, training goals, marketing focus, and
branding interests. For more information, please contact:
U. S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
For sales outside the U. S., please
contact:
International Sales
international@pearsoned.com
Visit us on the Web: informit.com/PH
Library of Congress
Cataloging-in-Publication Data
On file
© 2009 Pearson Education, Inc.
All rights reserved. Printed in the
United States of America. This publication is protected by copyright, and
permission must be obtained from the publisher prior to any prohibited
reproduction, storage in a retrieval system, or transmission in any form or by
any means, electronic, mechanical, photocopying, recording, or likewise. For
information regarding permissions, write to:
Pearson Education, Inc.
Rights and Contracts Department
One Lake Street
Upper Saddle River, NJ 07458
ISBN-13: 978-0-13-700130-9
Text printed in the United States
on recycled paper at R.R . Donnelley in Crawfordsville, Indiana.
First printing, January 2009
Trademarks
DEITEL, the double-thumbs-up bug and Dive Into are registered
trademarks of Deitel and Associates, Inc.
Microsoft, Windows, Visual Studio
and Visual C++ are either registered trademarks or trademarks of Microsoft
Corporation in the United States and/or other countries.
Object Management Group, OMG,
Unified Modeling Language and UML are either trademarks or registered trademarks
of Object Management Group, Inc.
Rational Unified Process and RUP are
registered trademarks of IBM Corporation.
Unicode is a registered
trademark of The Unicode Consortium.
Dedication
In memory of
Joseph Weizenbaum MIT Professor Emeritus of Computer Science: For making us
think.
—Paul and Harvey
Deitel