C++ Primer题解(影印版)
基本信息
- 原书名: C++ Primer Answer Book
- 原出版社: Addison-Wesley
编辑推荐
本书是更新后的版本,覆盖了最终的ANSI/ISO C++ Standard、扩展、标准库和STL。这些习题和相应的解答囊括了众多C++主题,其中包括:数据类型、抽象容器类型、泛型算法、类模板、多重和虚拟继承、iostream库以及更多。
内容简介回到顶部↑
很显然,学习C++——不只是学习其语言架构,还包括学习如何应用—的最佳方法,就是通过问题的解决和实际的操作来进行。也如此,Standely Lippman和Josee Lajoie所著的畅销书《C++ Primer 3/e》中出现了许多问题,用来协助C++程序员获得实际经验,并能更深刻地了解这一语言的复杂度。 但是当其中的某些习题阻挡了你的进步时,你将如何是好?现在,你可以打开这本《C++ Primer 题解》。这是《C++ Primer》的伴随小册子,提供书中所有习题的解答,让你学习如何面对并解决程序设计上的挑战。拥有了这本习题解答,你将拥有技术上的解释、实用的技术,以及实际程序代码。它能终结你的挫败感,通过这些解答获得工作上的帮助。
作译者回到顶部↑
本书提供作译者介绍
Clovis L.Tondo是T&T TechWorks, Inc.的总裁,该公司负责为各大公司提供关于C、C++和UNIX工具的技术培训,并为科技类出版社撰稿。Dr.Tondo还是《The C Answer Book》的作者,同时与人合著了关于C、设备驱动、MAKE和数据结构的8本书。
Bruce P.Leung是Connected Components Corporation的软件工程师,他在那里参与了一个开发State-of-the-art C++编译器的团队。在过去的12年里,他进行了各种研究和商业编译器的开发。他还与Dr.Tondo合著过一本数据结构的教材。
.. << 查看详细
Bruce P.Leung是Connected Components Corporation的软件工程师,他在那里参与了一个开发State-of-the-art C++编译器的团队。在过去的12年里,他进行了各种研究和商业编译器的开发。他还与Dr.Tondo合著过一本数据结构的教材。
.. << 查看详细
目录回到顶部↑
foreword
preface
1 getting started
2 a tour of c++
3 the c++ data types
4 expressions
5 statements
6 abstract container types
7 functions
8 scope and lifetime
9 overloaded functions
10 function templates
11 exception handling
12 the generic algorithms
13 classes
14 class initialization, assignment, and destruction
15 overloaded operators and user-defined conversions
16 class templates
17 class inheritance and subtyping
18 multiple and virtual inheritance
preface
1 getting started
2 a tour of c++
3 the c++ data types
4 expressions
5 statements
6 abstract container types
7 functions
8 scope and lifetime
9 overloaded functions
10 function templates
11 exception handling
12 the generic algorithms
13 classes
14 class initialization, assignment, and destruction
15 overloaded operators and user-defined conversions
16 class templates
17 class inheritance and subtyping
18 multiple and virtual inheritance
前言回到顶部↑
Preface
C++ has proven to be a popular programming language, and C++ Primer has proven to be just as popular among those wishing to learn the language. Learning a programming language, however, requires more than just reading about the language constructs. You must program, write your own code, and study code written by those who are more experienced with the use of the language.
To this end, Lippman and Lajoie (L&L) have provided exercises throughout C++ Primer to encourage their readers to test their understanding of the material. Our book provides the solutions to those exercises.
C++ Primer Answer Book is intended to be used in conjunction with C++ Primer. We assume that you have read the material in L&L preceding each exercise. We present our solution along with an explanation, but we do not repeat the material found in L&L. Only those concepts and constructs that have already been introduced are used in the solutions.
When the solution involves a complete program, we generally include the entire source code so that each solution stands on its own. All programs have been compiled using Microsoft Visual C++ Version 5.0. In some instances when the compiler did not meet the standard, a workaround was used and an explanation given.
We recommend that you use L&L to learn C++, work the exercises, and study the solutions presented here. We hope C++ Answer Book will aid you in understanding C++ while eliminating the frustration of being stuck without an answer to a problem.
Acknowledgments
Special thanks go to Stan Lippman and Josee Lajoie for having the faith to allow us to write this answer book and for their careful review of the text.
Sean Davey, Steve Edwards, S. Rollins Guild, Cay Horstmann, and Jeffrey Oldham provided many helpful comments on the manuscript.
Clovis thanks George Edmunds, Sam Hsu, Mohammad Ilyas, Mahesh Neelakanta, and Cyril Parkayi for their continued support; Sean Davey for the C++ review, for the IATEX macros, and for his technical support; Andrew Nathanson for his friendship and software/hardware support; S. Rollins Guild for the C++ review and his friendship; A. Carlos Tondo, Julia Mistrello, and Luiz and Elizabete T. Biavatti for helping our company succeed; and Caren E. Tondo for her love, patience, and sense of humor.
Bruce thanks Andrew Bellezza, Jodi Solomon, and Mary Walstrom for their friendship and encouragement; Zahira Ammarguellat, Luddy Harrison, Sandra Loosemore, and Cotton Seed -- one couldn't ask for better co-workers; and Misty and Buddy for their boundless patience.
Last, but certainly not least, we thank the staff at Addison-Wesley. We are especially grateful to our associate editor, Debbie Lafferty, for her patience and knowing when and how hard to push; the production editor, Maureen Willard, for guiding us through the editing, proofs, and final pages; the production manager, John Fuller, for getting the macros approved and improved early in the process; and the freelancer, Diane Freed, for assisting with the production of this book. We appreciate your kind help.
Clovis L. Tondo
Bruce P. Leung
C++ has proven to be a popular programming language, and C++ Primer has proven to be just as popular among those wishing to learn the language. Learning a programming language, however, requires more than just reading about the language constructs. You must program, write your own code, and study code written by those who are more experienced with the use of the language.
To this end, Lippman and Lajoie (L&L) have provided exercises throughout C++ Primer to encourage their readers to test their understanding of the material. Our book provides the solutions to those exercises.
C++ Primer Answer Book is intended to be used in conjunction with C++ Primer. We assume that you have read the material in L&L preceding each exercise. We present our solution along with an explanation, but we do not repeat the material found in L&L. Only those concepts and constructs that have already been introduced are used in the solutions.
When the solution involves a complete program, we generally include the entire source code so that each solution stands on its own. All programs have been compiled using Microsoft Visual C++ Version 5.0. In some instances when the compiler did not meet the standard, a workaround was used and an explanation given.
We recommend that you use L&L to learn C++, work the exercises, and study the solutions presented here. We hope C++ Answer Book will aid you in understanding C++ while eliminating the frustration of being stuck without an answer to a problem.
Acknowledgments
Special thanks go to Stan Lippman and Josee Lajoie for having the faith to allow us to write this answer book and for their careful review of the text.
Sean Davey, Steve Edwards, S. Rollins Guild, Cay Horstmann, and Jeffrey Oldham provided many helpful comments on the manuscript.
Clovis thanks George Edmunds, Sam Hsu, Mohammad Ilyas, Mahesh Neelakanta, and Cyril Parkayi for their continued support; Sean Davey for the C++ review, for the IATEX macros, and for his technical support; Andrew Nathanson for his friendship and software/hardware support; S. Rollins Guild for the C++ review and his friendship; A. Carlos Tondo, Julia Mistrello, and Luiz and Elizabete T. Biavatti for helping our company succeed; and Caren E. Tondo for her love, patience, and sense of humor.
Bruce thanks Andrew Bellezza, Jodi Solomon, and Mary Walstrom for their friendship and encouragement; Zahira Ammarguellat, Luddy Harrison, Sandra Loosemore, and Cotton Seed -- one couldn't ask for better co-workers; and Misty and Buddy for their boundless patience.
Last, but certainly not least, we thank the staff at Addison-Wesley. We are especially grateful to our associate editor, Debbie Lafferty, for her patience and knowing when and how hard to push; the production editor, Maureen Willard, for guiding us through the editing, proofs, and final pages; the production manager, John Fuller, for getting the macros approved and improved early in the process; and the freelancer, Diane Freed, for assisting with the production of this book. We appreciate your kind help.
Clovis L. Tondo
Bruce P. Leung
相关资源回到顶部↑
· 【推荐】众多高校学子口口相传,他们共同的选择--华清远见嵌入式学院(嵌入式Linux就业课程、3G手机开发就业课程,通过入学测试即签100%就业协议,4个月集中实训,世界500强企业成功就业保障!!!)· 【亚嵌教育 嵌入式培训专家】(嵌入式培训,嵌入式Linux培训,ARM培训,Linux培训,3G培训,Android培训,WINCE培训,DSP培训,FPGA培训,嵌入式就业培训)
· 程序员的7种武器(正则表达式、编程语言、数据库、算法、软件调试、开发环境)
· C/C++ 经典著作(《C专家编程》《C++ Templates中文版》《C和指针 》《C陷阱与缺陷》《C++沉思录》)













加载中...

