Library of Congress Cataloging-in-Publication Data
© 2005 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
Borland and C++ Builder are trademarks or registered trademarks of Borland.
Cygwin is a trademark and copyrighted work of Red Hat, Inc. in the United States and other countries.
Dive Into is a registered trademark of Deitel & Associates, Inc.
GNU is a trademark of the Free Software Foundation.
Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Pearson Education is independent of Sun Microsystems, Inc.
Linux is a registered trademark of Linus Torvalds.
Microsoft, Microsoft® Internet Explorer and the Windows logo are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
Netscape browser window © 2004 Netscape Communications Corporation. Used with permission. Netscape Communications has not authorized, sponsored, endorsed, or approved this publication and is not responsible for its content.
Object Management Group, OMG, Unified Modeling Language and UML are trademarks of Object Management Group, Inc.
and Mike Miller
For your mentorship, friendship, and tireless devotion to insisting that we "get it right" and helping us do so.
It is a privilege to work with such consummate C++ professionals.
Harvey M. Deitel and Paul J. Deitel