A Complete Guide to
Programming in C++
Ulla Kirch-Prinz
Peter Prinz
JONES AND BARTLETT PUBLISHERS
Ulla Kirch-Prinz
Peter Prinz
A Complete Guide to
Programming in C++
World Headquarters
Jones and Bartlett Publishers
40 Tall Pine Drive
Sudbury, MA 01776
978-443-5000
info@jbpub.com
www.jbpub.com
Jones and Bartlett Publishers
Canada
2406 Nikanna Road
Mississauga, ON L5C 2W6
CANADA
Jones and Bartlett Publishers
International
Barb House, Barb Mews
London W6 7PA
UK
Copyright © 2002 by Jones and Bartlett Publishers, Inc.
All rights reserved. No part of the material protected by this copyright notice may be reproduced or utilized in
any form, electronic or mechanical, including photocopying, recording, or any information storage or retrieval
system, without written permission from the copyright owner.
Cover Image: Stones on shore-line and yellow leaf, Bjorkliden, Sweden, by Peter Lilja
Library of Congress Cataloging-in-Publication Data
Prinz, Peter.
[C++ Lernen und professionell anwenden. English]
A complete guide to programming in C++ / Peter Prinz, Ulla Kirch-Prinz; translated by Ian Travis.
p.
cm.
ISBN: 0-7637-1817-3
1. C++ (Computer program language)
I. Kirch-Prinz, Ulla.
II. Title.
QA76.73.C153 P73713 2001
005.13'3—dc21
2001029617
2090
Chief Executive Officer: Clayton Jones
Chief Operating Officer: Don W. Jones, Jr.
V.P., Managing Editor: Judith H. Hauck
V.P., Design and Production: Anne Spencer
V.P., Manufacturing and Inventory Control: Therese Bräuer
Editor-in-Chief: Michael Stranz
Development and Product Manager: Amy Rose
Marketing Manager: Nathan Schultz
Production Assistant: Tara McCormick
Cover Design: Night & Day Design
Composition: Northeast Compositors
Text Design: Mary McKeon
Printing and Binding: Courier Westford
Cover printing: John Pow Company, Inc.
This book was typeset in QuarkXpress 4.11 on a Macintosh G4. The font families used were Goudy, Gill Sans,
Courier, Rubino Serif, and Seven Sans. The first printing was printed on 50 lb. Finch Opaque.
Printed in the United States of America
05 04