没有合适的资源?快使用搜索试试~ 我知道了~
modern_operating_systems_3rd_edition_tanenbaum
3星 · 超过75%的资源 需积分: 9 13 下载量 16 浏览量
2011-03-06
22:56:05
上传
评论
收藏 6.47MB PDF 举报
温馨提示
试读
1225页
modern_operating_systems_3rd_edition_tanenbaum
资源推荐
资源详情
资源评论
800 East 96th St., Indianapolis, Indiana, 46240 USA
Primer Plus
C++
Stephen Prata
Fifth Edition
00 0672326973 fm 12/30/04 9:26 AM Page i
C++ Primer Plus
Copyright © 2005 by Sams Publishing
All rights reserved. No part of this book shall be reproduced, stored in a retrieval system,
or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise,
without written permission from the publisher. No patent liability is assumed with respect
to the use of the information contained herein. Although every precaution has been taken
in the preparation of this book, the publisher and author assume no responsibility for errors
or omissions. Nor is any liability assumed for damages resulting from the use of the infor-
mation contained herein.
International Standard Book Number: 0-672-32697-3
Library of Congress Catalog Card Number: 2004095067
Printed in the United States of America
First Printing: November, 2004
07 06 05 04 4321
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks have
been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this infor-
mation. Use of a term in this book should not be regarded as affecting the validity of any
trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possible, but
no warranty or fitness is implied. The information provided is on an “as is” basis.
Bulk Sales
Sams Publishing offers excellent discounts on this book when ordered in quantity for bulk
purchases or special sales. For more information, please contact
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Sales
1-317-428-3341
international@pearsontechgroup.com
ASSOCIATE PUBLISHER
Michael Stephens
ACQUISITIONS EDITOR
Loretta Yates
DEVELOPMENT EDITOR
Songlin Qiu
MANAGING EDITOR
Charlotte Clapp
PROJECT EDITOR
George E. Nedeff
COPY EDITOR
Kitty Jarrett
INDEXER
Erika Millen
PROOFREADER
Suzanne Thomas
TECHNICAL EDITOR
David Horvath
PUBLISHING
COORDINATOR
Cindy Teeters
MULTIMEDIA DEVELOPER
Dan Scherf
BOOK DESIGNER
Gary Adair
00 0672326973 fm 12/30/04 9:26 AM Page ii
CONTENTS AT A GLANCE
INTRODUCTION 1
CHAPTER 1 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
CHAPTER 2 Setting Out to C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
CHAPTER 3 Dealing with Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
CHAPTER 4 Compound Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
CHAPTER 5 Loops and Relational Expressions . . . . . . . . . . . . . . . . . . . . . . . .177
CHAPTER 6 Branching Statements and Logical Operators . . . . . . . . . . . . . . .231
CHAPTER 7 Functions: C++’s Programming Modules . . . . . . . . . . . . . . . . . . .279
CHAPTER 8 Adventures in Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .337
CHAPTER 9 Memory Models and Namespaces . . . . . . . . . . . . . . . . . . . . . . . .393
CHAPTER 10 Objects and Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .445
CHAPTER 11 Working with Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .501
CHAPTER 12 Classes and Dynamic Memory Allocation . . . . . . . . . . . . . . . . . .561
CHAPTER 13 Class Inheritance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .633
CHAPTER 14 Reusing Code in C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .701
CHAPTER 15 Friends, Exceptions, and More . . . . . . . . . . . . . . . . . . . . . . . . . .787
CHAPTER 16 The string Class and the Standard Template Library . . . . . . . . .857
CHAPTER 17 Input, Output, and Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .951
APPENDIX A Number Bases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1041
APPENDIX B C++ Reserved Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1047
APPENDIX C The ASCII Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1051
APPENDIX D Operator Precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1057
APPENDIX E Other Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1063
APPENDIX F The string Template Class . . . . . . . . . . . . . . . . . . . . . . . . . . . .1075
APPENDIX G The STL Methods and Functions . . . . . . . . . . . . . . . . . . . . . . .1095
00 0672326973 fm 12/30/04 9:26 AM Page iii
APPENDIX H Selected Readings and Internet Resources . . . . . . . . . . . . . . . . .1129
APPENDIX I Converting to ANSI/ISO Standard C++ . . . . . . . . . . . . . . . . . . .1133
APPENDIX J Answers to Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . .1141
INDEX 1165
00 0672326973 fm 12/30/04 9:26 AM Page iv
剩余1224页未读,继续阅读
资源评论
- xiangq132017-02-16A good book, though not the same one...
- ouya22013-06-19Very nice book to learn operating system concepts, highly recommended.
- sonjasper2014-02-11错的。。标题和实际不符,不过也是本很好的书
- miki10182012-01-20假的。大家勿下载。扣了我6分。。哭。。。。下出来是 C++ Prime Plus。。
lessonnair
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功