Library of Congress Cataloging-in-Publication Data On file
© 2006 by Pearson Education, Inc.
Upper Saddle River, New Jersey 07458
The authors and publisher of this book have used their best efforts in preparing this book. These efforts include the development, research, and testing of the theories and programs to determine their effectiveness. The authors and publisher make no warranty of any kind, expressed or implied, with regard to these programs or to the documentation contained in this book. The authors and publisher shall not be liable in any event for incidental or consequential damages in connection with, or arising out of, the furnishing, performance, or use of these programs.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks and registered trademarks. Where those designations appear in this book, and Prentice Hall and the authors were aware of a trademark claim, the designations have been printed in initial caps or all caps. All product names mentioned remain trademarks or registered trademarks of their respective owners.
All rights reserved. No part of this book may be reproduced, in any form or by any means, without permission in writing from the publisher.
Printed in the United States of America
10 9 8 7 6 5 4 3 2 1
Microsoft® Visual Studio® 2005 are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
Object Management Group™, OMG™, Unified Modeling Languag™e and UML™ are trademarks of Object Management Group, Inc.
Deitel® Series Page
How To Program Series
Advanced Java™ 2 Platform How to Program
C How to Program, 4/e
C++ How to Program, 5/eIncluding Cyber Classroom
e-Business and e-Commerce How to Program
Internet and World Wide Web How to Program, 3/e
Java™ How to Program, 6/eIncluding Cyber Classroom
Perl How to Program
Python How to Program
Small C++ How to Program, 5/eIncluding Cyber Classroom
Small Java™ How to Program, 6/eIncluding Cyber Classroom
Visual C++® .NET How to Program
Visual C#® 2005 How to Program, 2/e
Visual Basic® 2005 How to Program, 3/e
Wireless Internet & Mobile Business How to Program
XML How to Program
Simply C++: An Application-Driven Tutorial Approach
Simply C#: An Application-Driven Tutorial Approach
Simply Java™ Programming: An Application-Driven Tutorial Approach
Simply Visual Basic® .NET: An Application-Driven Tutorial Approach (Visual Studio .NET 2002 Edition)
Simply Visual Basic® .NET 2003: An Application-Driven Tutorial Approach
Computer Science Series
Operating Systems, 3/e
SafariX Web Books www.SafariX.com
To follow the Deitel publishing program, please register at:
for the free Deitel® Buzz Online e-mail newsletter.
To communicate with the authors, send e-mail to:
For information on corporate on-site seminars offered by Deitel & Associates, Inc. worldwide, visit:
or write to
For continuing updates on Prentice Hall/Deitel publications visit: