C++ Primer Plus 6th Edition
(häftad)av Stephen Prata
- Format:
- Häftad (paperback)
- Utgiven:
- 2011-11-07
- Språk:
- Engelska
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, youll find depth, breadth, and a variety of teaching techniques and tools to enhance your learning:
- A new detailed chapter on the changes and additional capabilities introduced in the C++11 standard
- Complete, integrated discussion of both basic C language and additional C++ features
- Clear guidance about when and why to use a feature
- Hands-on learning with concise and simple examples that develop your understanding a concept or two at a time
- Hundreds of practical sample programs
- Review questions and programming exercises at the end of each chapter to test your understanding
- Coverage of generic C++ gives you the greatest possible flexibility
- Teaches the ISO standard, including discussions of templates, the Standard Template Library, the string class, exceptions, RTTI, and namespaces
(Computer Bookshops Limited)
Passar bra ihop
|
De som köpt den här boken har ofta också köpt The C Programming Language, 2nd Edition (häftad) av Brian W Kernighan, Dennis Ritchie | |||
|
Pris för båda:
626:-Köp
|
Kundrecensioner
Bloggat om C++ Primer Plus 6th Edition
Övrig information
Stephen Prata is a professor of physics and astronomy at the College of Marin in Kentfield, CA, where, in addition to astronomy and physics, he teaches computer programming and discrete mathematics. He earned his Ph.D. at University of California, Berkeley. He began using computers to model star clusters. Professor Prata is a member of the American Astronomical Society and a former Fulbright Scholar. He has written more than a dozen books, including earlier editions of this book. Other titles C Primer Plus and UNIX Primer Plus, also bestselling titles in their areas.
(Computer Bookshops Limited)
Innehållsförteckning
Introduction 1
Chapter 1: Getting Started with C++ 9
Learning C++: What Lies Before You 10
The Origins of C++: A Little History 10
Portability and Standards 15
The Mechanics of Creating a Program 18
Summary 25
Chapter 2: Setting Out to C++ 27
C++ Initiation 27
C++ Statements 41
More C++ Statements 45
Functions 48
Summary 61
Chapter Review 62
Programming Exercises 62
Chapter 3: Dealing with Data 65
Simple Variables 66
The const Qualifier 90
Floating-Point Numbers 92
C++ Arithmetic Operators 97
Summary 109
Chapter Review 110
Programming Exercises 111
Chapter 4: Compound Types 115
Introducing Arrays 116
Strings 120
Introducing the string Class 131
Introducing Structures 140
Unions 149
Enumerations 150
Pointers and the Free Store 153
Pointers, Arrays, and Pointer Arithmetic 167
Combinations of Types 184
Array Alternatives 186
Summary 190
Chapter Review 191
Programming Exercises 192
Chapter 5: Loops and Relational Expressions 195
Introducing for Loops 196
The while Loop 224
The do while Loop 231
The Range-Based for Loop (C++11) 233
Loops and Text Input 234
Nested Loops and Two-Dimensional Arrays 244
Summary 249
Chapter Review 250
Programming Exercises 251
Chapter 6: Branching Statements and Logical Operators 253
The if Statement 254
Logical Expressions 260
The cctype Library of Character Functions 270
The ?: Operator 273
The switch Statement 274
Th...
(Computer Bookshops Limited)