Medicine, Science & Technology

The C + + Programming Language Third Edition

Description
The C + + Programming Language Third Edition
Published
of 1022
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  TheC+ +ProgrammingLanguage Third EditionBjarne Stroustrup AT&T LabsMurray Hill, New Jersey Addison-Wesley An Imprint of Addison Wesley Longman, Inc. Reading, Massachusetts • Harlow, England • Menlo Park, CaliforniaBerkeley, California • Don Mills, Ontario • SydneyBonn • Amsterdam • Tokyo • Mexico City  ii Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Wherethose designations appear in this book, and Addison-Wesley was aware of a trademark claim, the designations have beenprinted in initial capital letters or all capital lettersThe author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of anykind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages inconnection with or arising out of the use of the information contained herein.The publisher offers discounts on this book when ordered in quantity for special sales. For more information please contact:Corporate & Professional Publishing GroupAddison-Wesley Publishing CompanyOne Jacob WayReading, Massachusetts 01867  Library of Congress Cataloging-in-Publication Data Stroustrup, BjarneThe C++Programming Language / Bjarne Stroustrup. — 3rd. ed.p. cm.Includes index.ISBN 0-201-88954-41. C++(Computer Programming Language) I. TitleQA76.73.C153S77 1997 97-20239005.13’3 — dc21 CIPCopyright © 1997 by AT&TAll rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form orby any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of thepublisher. Printed in the United States of America.This book was typeset in Times and Courier by the author.ISBN 0-201-88954-4Printed on recycled paper1 2 3 4 5 6 7 8 9 — CRW — 0100999897First printing, June 1997  Contents Contents iiiPreface vPreface to Second Edition viiPreface to First Edition ixIntroductory Material 1 1 Notes to the Reader ..................................................................... 32 A Tour of C++............................................................................. 213 A Tour of the Standard Library .................................................. 45 Part I: Basic Facilities 67 4 Types and Declarations ............................................................... 695 Pointers, Arrays, and Structures .................................................. 876 Expressions and Statements ........................................................ 1077 Functions ..................................................................................... 1438 Namespaces and Exceptions ....................................................... 1659 Source Files and Programs .......................................................... 197  iv Contents Part II: Abstraction Mechanisms 221 10 Classes ........................................................................................ 22311 Operator Overloading ................................................................. 26112 Derived Classes ........................................................................... 30113 Templates .................................................................................... 32714 Exception Handling .................................................................... 35515 Class Hierarchies ........................................................................ 389 Part III: The Standard Library 427 16 Library Organization and Containers .......................................... 42917 Standard Containers .................................................................... 46118 Algorithms and Function Objects ............................................... 50719 Iterators and Allocators ............................................................... 54920 Strings ......................................................................................... 57921 Streams ........................................................................................ 60522 Numerics ..................................................................................... 657 Part IV: Design Using C++689 23 Development and Design ............................................................ 69124 Design and Programming ........................................................... 72325 Roles of Classes .......................................................................... 765 Appendices 791 A The C++Grammar ...................................................................... 793B Compatibility .............................................................................. 815C Technicalities .............................................................................. 827 Index 869
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x