C++ Primer (häftad)
Häftad (Paperback)
Antal sidor
Lajoie, Jose / Moo, Barbara E.
231 x 180 x 51 mm
1498 g
Antal komponenter
C++ Primer (häftad)

C++ Primer

(4 röster)  |  Läs 1 recension
Häftad,  Engelska, 2012-08-21

Just nu 10% rabatt på allt! Använd kod SEP23

Gäller t.o.m. 28 september 2023. Villkor

  • Skickas från oss inom 7-10 vardagar.
  • Fri frakt över 199 kr för privatkunder i Sverige.
Finns även som
Visa alla 1 format & utgåvor
Bestselling Programming Tutorial and Reference Completely Rewritten for the New C++11 Standard  

Fully updated and recast for the newly released C++11 standard, this authoritative and comprehensive introduction to C++ will help you to learn the language fast, and to use it in modern, highly effective ways. Highlighting todays best practices, the authors show how to use both the core language and its standard library to write efficient, readable, and powerful code.


C++ Primer, Fifth Edition, introduces the C++ standard library from the outset, drawing on its common functions and facilities to help you write useful programs without first having to master every language detail. The books many examples have been revised to use the new language features and demonstrate how to make the best use of them. This book is a proven tutorial for those new to C++, an authoritative discussion of core C++ concepts and techniques, and a valuable resource for experienced programmers, especially those eager to see C++11 enhancements illuminated.


Start Fast and Achieve More

  • Learn how to use the new C++11 language features and the standard library to build robust programs quickly, and get comfortable with high-level programming
  • Learn through examples that illuminate todays best coding styles and program design techniques
  • Understand the rationale behind the rules: why C++11 works as it does
  • Use the extensive crossreferences to help you connect related concepts and insights
  • Benefit from up-to-date learning aids and exercises that emphasize key points, help you to avoid pitfalls, promote good practices, and reinforce what youve learned

Access the source code for the extended examples from informit.com/title/0321714113


C++ Primer, Fifth Edition, features an enhanced, layflat binding, which allows the book to stay open more easily when placed on a flat surface. This special binding methodnotable by a small space inside the spinealso increases durability.

Visa hela texten

Passar bra ihop

  1. C++ Primer
  2. +
  3. Elon Musk

De som köpt den här boken har ofta också köpt Elon Musk av Walter Isaacson (inbunden).

Köp båda 2 för 752 kr


Det finns 1 recension av C++ Primer. Har du också läst boken? Om du har köpt den på Bokus.com vill vi gärna höra vad du tyckte om den! Sätt ditt betyg »
  1. Bra och lättförståelig bok
    Fredrik, 12 november 2021

    Logisk, lättläst och går rakt på sak inom ämnet C++, perfekt för dig som vill lära dig programmera i C++.

Visa alla 1 recensioner

Fler böcker av författarna

  • Accelerated C++: Practical Programming by Example

    Andrew Koenig, Barbara E Moo

    This is a first-rate introductory book that takes a practical approach to solving problems using C++. It covers a much wider scope of C++ programming than other introductory books I've seen, and in a surprisingly compact format. --Dag Brck, foundi...

  • C++ Gems

    Stanley B Lippman

    The support of the C++ Report by the pioneers of the language has always made it a popular magazine. Stan Lippman, former C++ Report Editor (and best-selling author), brings you pearls of wisdom for getting the most out of C++. This carefully sele...

Övrig information

Stanley B. Lippman has served as distinguished consultant for the Jet Propulsion Laboratory, architect for the Visual C++ development group at Microsoft, member of the technical staff at Bell Laboratories, and principal software engineer in feature animation at Disney, DreamWorks, Pixar, and PDI. Josee Lajoie, now at Pixar, was a member of IBM Canada,s C/C++ compiler development team, and chaired the core language working group for the previous ANSI/ISO C++ Standard Committee. Barbara E. Moo is an independent consultant with over 30 years of software experience. During 15 years at AT&T, she worked on one of the first commercial products ever written in C++.


Preface   xxiii

Chapter 1: Getting Started   1

1.1 Writing a Simple C++ Program   2

1.2 A First Look at Input/Output   5

1.3 A Word About Comments   9

1.4 Flow of Control   11

1.5 Introducing Classes   19

1.6 The Bookstore Program   24

Chapter Summary   26

Defined Terms   26


Part I: The Basics   29

Chapter 2: Variables and Basic Types   31

2.1 Primitive Built-in Types   32

2.2 Variables   41

2.3 Compound Types   50

2.4 const Qualifier   59

2.5 Dealing with Types   67

2.6 Defining Our Own  Data Structures   72

Chapter Summary   78

Defined Terms 78


Chapter 3: Strings, Vectors, and Arrays   81

3.1 Namespace using Declarations   82

3.2 Library string Type   84

3.3 Library vector Type   96

3.4 Introducing Iterators 106

3.5 Arrays   113

3.6 Multidimensional Arrays   125

Chapter Summary   131

Defined Terms   131


Chapter 4: Expressions   133

4.1 Fundamentals 134

4.2 Arithmetic Operators   139

4.3 Logical and Relational Operators   141

4.4 Assignment Operators   144

4.5 Increment and Decrement Operators   147

4.6 The Member Access Operators   150

4.7 The Conditional Operator   151

4.8 The Bitwise Operators   152

4.9 The sizeof Operator   156

4.10 Comma Operator 157

4.11 Type Conversions   159

4.12 Operator Precedence Table   166

Chapter Summary   168

Defined Terms   168


Chapter 5: Statements   171

5.1 Simple Statements   172

5.2 Statement Scope   174

5.3 Conditional Statements 174

5.4 Iterative Statements   183

5.5 Jump Statements   190

5.6 try Blocks and Exception Handling   193

Chapter Summary   199

Defined Terms   199


Chapter 6: Functions   201

6.1 Function Basics  202

6.2 Argument Passing   208

6.3 Return Types and the return Statement   222

6.4 Overloaded Functions   230

6.5 Features for Specialized Uses   236

6.6 Function Matching   242

6.7 Pointers to Functions   247

Chapter Summary 251

Defined Terms   251


Chapter 7: Classes   253

7.1 De...