没有合适的资源?快使用搜索试试~ 我知道了~
21天学通C++_(第6版).pdf
5星 · 超过95%的资源 需积分: 10 27 下载量 148 浏览量
2011-12-06
09:51:36
上传
评论
收藏 3.98MB PDF 举报
温馨提示
试读
886页
21天学通C++_(第6版).pdf,让你快速学习和掌握C++语言编程!
资源推荐
资源详情
资源评论
in One Hour aDay
C++
SamsTeach Yourself
Jesse Liberty
Siddhartha Rao
Bradley Jones
800 East 96th Street, Indianapolis, Indiana 46240
Sams Teach Yourself C++ in One Hour a Day
Copyright © 2009 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 permis-
sion from the publisher. No patent liability is assumed with respect to the use of the information con-
tained 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 information contained herein.
ISBN-13: 978-0-672-32941-8
ISBN-10: 0-672-32941-7
Library of Congress Cataloging-in-Publication Data
Liberty, Jesse.
C++ in one hour a day / Jesse Liberty, Siddhartha Rao, Bradley Jones. — 6th ed.
p. cm.
Includes bibliographical references and index.
ISBN 978-0-672-32941-8 (pbk.)
1. C++ (Computer program language) I. Rao, Siddhartha. II. Jones, Bradley. III. Title.
QA76.73.C153L528 2008
005.13’3—dc22
2008024283
Printed in the United States of America
First Printing July 2008
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks have been appropri-
ately capitalized. Sams Publishing cannot attest to the accuracy of this information. 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. The authors and the publisher shall
have neither liability nor responsibility to any person or entity with respect to any loss or damages aris-
ing from the information contained in this book or from the use of the CD or programs accompanying it.
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
international@pearson.com
Acquisitions Editor
Mark Taber
Development Editor
Songlin Qiu
Managing Editor
Patrick Kanouse
Project Editor
Seth Kerney
Copy Editor
Mike Henry
Indexer
WordWise Publishing
Services, LLC
Proofreader
Kathy Ruiz
Technical Editors
Jon Upchurch
Dr. Mark S. Merry
Publishing
Coordinator
Vanessa Evans
Book Designer
Gary Adair
Contents at a Glance
Introduction 1
PART I: The Basics
1 Getting Started 7
2 The Anatomy of a C++ Program 27
3 Using Variables, Declaring Constants 43
4 Managing Arrays and Strings 71
5 Working with Expressions, Statements, and Operators 93
6 Organizing Code with Functions 127
7 Controlling Program Flow 167
8 Pointers Explained 203
9 Exploiting References 231
PART II: Fundamentals of Object-Oriented Programming and C++
10 Classes and Objects 265
11 Implementing Inheritance 301
12 Polymorphism 343
13 Operator Types and Operator Overloading 385
14 Casting Operators 415
15 An Introduction to Macros and Templates 427
PART III: Learning the Standard Template Library (STL)
16 An Introduction to the Standard Template Library 447
17 The STL string Class 457
18 STL Dynamic Array Classes 473
19 STL list 491
20 STL set and multiset 513
21 STL map and multimap 533
PART IV: More STL
22 Understanding Function Objects 553
23 STL Algorithms 569
24 Adaptive Containers: stack and queue 601
25 Working with Bit Flags Using STL 617
PART V: Advanced C++ Concepts
26 Understanding Smart Pointers 629
27 Working with Streams 643
28 Exception Handling 689
29 Tapping Further into the Preprocessor 727
Appendixes
A Working with Numbers: Binary and Hexadecimal 763
B C++ Keywords 773
C Operator Precedence 775
D Answers 777
Index 829
剩余885页未读,继续阅读
资源评论
- pitee2012-11-12英文版的 内容难度适中
- melon72722013-11-18英文总体感觉还行
- 「已注销」2012-11-06此为原著,若有中文的话更好,谢过
ouyangenping
- 粉丝: 12
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功