C++ Primer Plus.
Material type: TextPublication details: Boston, Mass. ; London Addison-Wesley, 2011Edition: 6th edDescription: xxi, 1420p. : ill. ; 23 cmISBN:- 9780321776402
- 0321776402
Item type | Current library | Call number | Copy number | Status | Date due | Barcode | |
---|---|---|---|---|---|---|---|
Standard Loan | Thurles Library Main Collection | 005.133 PRA (Browse shelf(Opens below)) | 1 | Available | 39002100501197 | ||
2 Hour Loan | Thurles Library Reserve - Library Issue Desk | 005.133 PRA (Browse shelf(Opens below)) | 1 | Library Use Only | 39002100501205 |
Enhanced descriptions from Syndetics:
C++ Primer Plus, Sixth Edition
New C++11 Coverage
C++ Primer Plus is a carefully crafted, complete tutorial on one of the most significant and widely used programming languages today. An accessible and easy-to-use self-study guide, this book is appropriate for both serious students of programming as well as developers already proficient in other languages.
The sixth edition of C++ Primer Plus has been updated and expanded to cover the latest developments in C++, including a detailed look at the new C++11 standard.
Author and educator Stephen Prata has created an introduction to C++ that is instructive, clear, and insightful. Fundamental programming concepts are explained along with details of the C++ language. Many short, practical examples illustrate just one or two concepts at a time, encouraging readers to master new topics by immediately putting them to use.
Review questions and programming exercises at the end of each chapter help readers zero in on the most critical information and digest the most difficult concepts.
In C++ Primer Plus, you'll find depth, breadth, and a variety of teaching techniques and tools to enhance your learning:
1: Getting Started with C++
2: Setting Out to C++
3: Dealing with Data
4: Compound Types
5: Loops and Relational Expressions
6: Branching Statements and Logical Operators
7: Functions: C++'s Programming Modules
8: Adventures in Functions
9: Memory Models and Namespaces
10: Objects and Classes
11: Working with Classes
12: Classes and Dynamic Memory Allocation
13: Class Inheritance
14: Reusing Code in C++
15: Friends, Exceptions, and More
16: The string Class and the Standard Template Library
17: Input, Output, and Files
18: The New C++11 Standard
A Number Bases
B C++ Reserved Words
C The ASCII Character Set
D Operator Precedence
E Other Operators
F The stringTemplate Class
G The Standard Template Library Methods and Functions
H Selected Readings and Internet Resources
I Converting to ISO Standard C++
J Answers to Chapter Reviews
Table of contents provided by Syndetics
- Introduction (p. 1)
- Chapter 1 Getting Started with C++ (p. 9)
- Learning C++: What Lies Before You (p. 10)
- The Origins of C++: A Little History (p. 10)
- Portability and Standards (p. 15)
- The Mechanics of Creating a Program (p. 18)
- Summary (p. 25)
- Chapter 2 Setting Out to C++ (p. 27)
- C++ Initiation (p. 27)
- C++ Statements (p. 41)
- More C++ Statements (p. 45)
- Functions (p. 48)
- Summary (p. 61)
- Chapter Review (p. 62)
- Programming Exercises (p. 62)
- Chapter 3 Dealing with Data (p. 65)
- Simple Variables (p. 66)
- The const Qualifier (p. 90)
- Floating-Point Numbers (p. 92)
- C++ Arithmetic Operators (p. 97)
- Summary (p. 109)
- Chapter Review (p. 110)
- Programming Exercises (p. 111)
- Chapter 4 Compound Types (p. 115)
- Introducing Arrays (p. 116)
- Strings (p. 120)
- Introducing the string Class (p. 131)
- Introducing Structures (p. 140)
- Unions (p. 149)
- Enumerations (p. 150)
- Pointers and the Free Store (p. 153)
- Pointers, Arrays, and Pointer Arithmetic (p. 167)
- Combinations of Types (p. 184)
- Array Alternatives (p. 186)
- Summary (p. 190)
- Chapter Review (p. 191)
- Programming Exercises (p. 192)
- Chapter 5 Loops and Relational Expressions (p. 195)
- Introducing for Loops (p. 196)
- The while Loop (p. 224)
- The do while Loop (p. 231)
- The Range-Based for Loop (C++11) (p. 233)
- Loops and Text Input (p. 234)
- Nested Loops and Two-Dimensional Arrays (p. 244)
- Summary (p. 249)
- Chapter Review (p. 250)
- Programming Exercises (p. 251)
- Chapter 6 Branching Statements and Logical Operators (p. 253)
- The if Statement (p. 254)
- Logical Expressions (p. 260)
- The cctype Library of Character Functions (p. 270)
- The ?: Operator (p. 273)
- The switch Statement (p. 274)
- The break and continue Statements (p. 280)
- Number-Reading Loops (p. 283)
- Simple File Input/Output (p. 287)
- Summary (p. 298)
- Chapter Review (p. 298)
- Programming Exercises (p. 301)
- Chapter 7 Functions: C++'s Programming Modules (p. 305)
- Function Review (p. 306)
- Function Arguments and Passing by Value (p. 313)
- Functions and Arrays (p. 320)
- Functions and Two-Dimensional Arrays (p. 337)
- Functions and C-Style Strings (p. 339)
- Functions and Structures (p. 343)
- Functions and string Class Objects (p. 353)
- Functions and array Objects (p. 355)
- Recursion (p. 357)
- Pointers to Functions (p. 361)
- Summary (p. 371)
- Chapter Review (p. 372)
- Programming Exercises (p. 374)
- Chapter 8 Adventures in Functions (p. 379)
- C++ Inline Functions (p. 379)
- Reference Variables (p. 383)
- Default Arguments (p. 409)
- Function Overloading (p. 412)
- Function Templates (p. 419)
- Summary (p. 442)
- Chapter Review (p. 443)
- Programming Exercises (p. 444)
- Chapter 9 Memory Models and Namespaces (p. 447)
- Separate Compilation (p. 447)
- Storage Duration, Scope, and Linkage (p. 453)
- Namespaces (p. 482)
- Summary (p. 497)
- Chapter Review (p. 498)
- Programming Exercises (p. 501)
- Chapter 10 Objects and Classes (p. 505)
- Procedural and Object-Oriented Programming (p. 506)
- Abstraction and Classes (p. 507)
- Class Constructors and Destructors (p. 524)
- Knowing Your Objects: The this Pointer (p. 539)
- An Array of Objects (p. 546)
- Class Scope (p. 549)
- Abstract Data Types (p. 552)
- Summary (p. 557)
- Chapter Review (p. 558)
- Programming Exercises (p. 559)
- Chapter 11 Working with Classes (p. 563)
- Operator Overloading (p. 564)
- Time on Our Hands: Developing an Operator Overloading Example (p. 565)
- Introducing Friends (p. 578)
- Overloaded Operators: Member Versus Nonmember Functions (p. 587)
- More Overloading: A Vector Class (p. 588)
- Automatic Conversions and Type Casts for Classes (p. 606)
- Summary (p. 621)
- Chapter Review (p. 623)
- Programming Exercises (p. 623)
- Chapter 12 Classes and Dynamic Memory Allocation (p. 627)
- Dynamic Memory and Classes (p. 628)
- The New, Improved String Class (p. 647)
- Things to Remember When Using new in Constructors (p. 659)
- Observations About Returning Objects (p. 662)
- Using Pointers to Objects (p. 665)
- Reviewing Techniques (p. 676)
- A Queue Simulation (p. 678)
- Summary (p. 699)
- Chapter Review (p. 700)
- Programming Exercises (p. 702)
- Chapter 13 Class Inheritance (p. 707)
- Beginning with a Simple Base Class (p. 708)
- Inheritance: AnIs-aRelationship (p. 720)
- Polymorphic Public Inheritance (p. 722)
- Static and Dynamic Binding (p. 737)
- Access Control: protected (p. 745)
- Abstract Base Classes (p. 746)
- Inheritance and Dynamic Memory Allocation (p. 757)
- Class Design Review (p. 766)
- Summary (p. 778)
- Chapter Review (p. 779)
- Programming Exercises (p. 780)
- Chapter 14 Reusing Code in C++ (p. 785)
- Classes with Object Members (p. 786)
- Private Inheritance (p. 797)
- Multiple Inheritance (p. 808)
- Class Templates (p. 830)
- Summary (p. 866)
- Chapter Review (p. 869)
- Programming Exercises (p. 871)
- Chapter 15 Friends, Exceptions, and More (p. 877)
- Friends (p. 877)
- Nested Classes (p. 889)
- Exceptions (p. 896)
- Runtime Type Identification (p. 933)
- Type Cast Operators (p. 943)
- Summary (p. 947)
- Chapter Review (p. 947)
- Programming Exercises (p. 949)
- Chapter 16 The string Class and the Standard Template Library (p. 951)
- The string Class (p. 952)
- Smart Pointer Template Classes (p. 968)
- The Standard Template Library (p. 978)
- Generic Programming (p. 992)
- Function Objects (a.k.a. Functors) (p. 1026)
- Algorithms (p. 1035)
- Other Libraries (p. 1045)
- Chapter 17 Input, Output, and Files (p. 1061)
- An Overview of C++ Input and Output (p. 1062)
- Output with cout (p. 1069)
- Input with cin (p. 1093)
- File Input and Output (p. 1114)
- Incore Formatting (p. 1142)
- Summary (p. 1145)
- Chapter Review (p. 1146)
- Programming Exercises (p. 1148)
- Chapter 18 Visiting with the New C++ Standard (p. 1153)
- C++11 Features Revisited (p. 1153)
- Move Semantics and the Rvalue Reference (p. 1164)
- New Class Features (p. 1178)
- Lambda Functions (p. 1184)
- Wrappers (p. 1191)
- Variadic Templates (p. 1197)
- More C++11 Features (p. 1202)
- Language Change (p. 1205)
- What Now? (p. 1207)
- Summary (p. 1208)
- Chapter Review (p. 1209)
- Programming Exercises (p. 1212)
- Appendixes
- A Number Bases (p. 1215)
- B C++ Reserved Words (p. 1221)
- C The ASCII Character Set (p. 1225)
- D Operator Precedence (p. 1231)
- E Other Operators (p. 1235)
- F The stringTemplate Class (p. 1249)
- G The Standard Template Library Methods and Functions (p. 1271)
- H Selected Readings and Internet Resources (p. 1323)
- I Converting to ISO Standard C++ (p. 1327)
- J Answers to Chapter Reviews (p. 1335)
- Index (p. 1367)
Excerpt provided by Syndetics
Author notes provided by Syndetics
Stephen Prata taught astronomy, physics, and computer science at the College of Marin in Kentfield, California. He received his B.S. from the California Institute of Technology and his Ph.D. from the University of California, Berkeley. He has authored or coauthored more than a dozen books on programming topics including New C Primer Plus, which received the Computer Press Association's 1990 Best How-to Computer Book Award, and C++ Primer Plus, nominated for the Computer Press Association's Best How-to Computer Book Award in 1991.