没有合适的资源?快使用搜索试试~ 我知道了~
Sams Teach Yourself C++ in One Hour a Day
5星 · 超过95%的资源 需积分: 9 59 下载量 178 浏览量
2012-12-03
10:59:45
上传
评论
收藏 5.75MB PDF 举报
温馨提示
试读
767页
Completely updated for the C++11 standard, Sams T each Yourself C ++ in One Hour a Day presents the language from a practical point of view, helping you learn how to use C++11 to create faster, simpler, and more efficient C++ applications.
资源推荐
资源详情
资源评论
ptg7987094
ptg7987094
in One Hour aDay
C++
SamsTeach Yourself
Siddhartha Rao
800 East 96th Street, Indianapolis, Indiana 46240
Seventh Edition
ptg7987094
Sams Teach Yourself C++ in One Hour a Day,
Seventh Edition
Copyright © 2012 by Pearson Education, Inc.
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 other-
wise, 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
information contained herein.
ISBN-13: 978-0-672-33567-9
ISBN-10: 0-672-33567-0
The Library of Congress Cataloging-in-Publication Data is on file.
Printed in the United States of America
First Printing May 2012
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.
The author and the publisher shall have neither liability nor responsibility to any person
or entity with respect to any loss or damages arising from the information contained in
this book.
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@pearsoned.com
Acquisitions Editor
Mark Taber
Development Editor
Songlin Qiu
Managing Editor
Sandra Schroeder
Project Editor
Mandie Frank
Copy Editor
Charlotte Kughen
Indexer
Tim Wright
Proofreader
Megan Wade
Technical Editor
Jon Upchurch
Publishing
Coordinator
Vanessa Evans
Designer
Gary Adair
Compositor
Studio Galou, LLC
ptg7987094
Contents at a Glance
Introduction 1
PART I: The Basics
1 Getting Started 5
2 The Anatomy of a C++ Program 15
3 Using Variables, Declaring Constants 29
4 Managing Arrays and Strings 57
5 Working with Expressions, Statements, and Operators 77
6 Controlling Program Flow 105
7 Organizing Code with Functions 141
8 Pointers and References Explained 165
PART II : Fundamentals of Object-Oriented C++ Programming
9 Classes and Objects 203
10 Implementing Inheritance 251
11 Polymorphism 283
12 Operator Types and Operator Overloading 311
13 Casting Operators 353
14 An Introduction to Macros and Templates 367
PART II I: Learning the Standard Template Library (STL)
15 An Introduction to the Standard Template Library 393
16 The STL String Class 405
17 STL Dynamic Array Classes 423
18 STL list and forward_list 445
19 STL Set Classes 467
20 STL Map Classes 487
PART IV : More STL
21 Understanding Function Objects 511
22 C++11 Lambda Expressions 527
23 STL Algorithms 543
24 Adaptive Containers: Stack and Queue 579
25 Working with Bit Flags Using STL 597
PART V: Advanced C++ Concepts
26 Understanding Smart Pointers 607
27 Using Streams for Input and Output 621
ptg7987094
28 Exception Handling 643
29 Going Forward 659
Appendixes
A Working with Numbers: Binary and Hexadecimal 671
B C++ Keywords 677
C Operator Precedence 679
D Answers 681
E ASCII Codes 723
Index 727
剩余766页未读,继续阅读
资源评论
- Dine2014-08-20还刚看 感觉还不错
- rr2liu2014-07-30一本好书,我看了部分,特别下载来看。为此,谢谢作者的付出。推荐下载。
- katluyoung2014-09-01很棒,学校的课本,省了好多钱~
xiaoxiaoluck
- 粉丝: 1
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功