C++11 for Programmers, 2nd Edition

Book Description

In 11 for Programmers , the Deitels bring their proven Live Code approach to teaching today’s powerful new version of the C++ language. Like all Deitel Developer titles, they teach the best way possible: via hundreds of complete example C++ programs, with thousands of lines of downloadable C++ source code.

Unlike other C++11 books, this guide teaches robust, best-practice coding practices that fully support the CERT® Coordination Center’s authoritative secure coding standards. To help you write programs that are even more secure, the Deitels also introduce C++11’s new non-deterministic random-number generation capabilities. Using all these techniques, you can write industrial-strength C+11 code that stands up to attacks from viruses, worms, and other forms of malware.

Ideal for anyone who’s worked with at least one language before, C++11 for Programmers utilizes a proven “early objects” approach, emphasizing program clarity, software reuse, and component-oriented software construction. In addition to the core language, it will help you take advantage of the newest standard libraries and the newest language extensions. Coverage includes many new C++11 features, including smart pointers, regular expressions, shared_ptr and weak_ptr, and more.

This book contains 240 complete C++11 programs (more than 15,000 lines of downloadable code). All code has been thoroughly tested on three popular industrial-strength C++11 compilers: GNU C++ 4.7, Microsoft® Visual C++® 2012, and Apple® LLVM in ® 4.5.

Table of Contents

Chapter 1 Introduction
Chapter 2 Introduction to C++ Programming, Input/Output and Operators
Chapter 3 Introduction to Classes, Objects and Strings
Chapter 4 Control Statements: Part 1; Assignment, ++ and -- Operators
Chapter 5 Control Statements: Part 2; Logical Operators
Chapter 6 Functions and an Introduction to Recursion
Chapter 7 Class array and vector; Catching Exceptions
Chapter 8 Pointers
Chapter 9 Classes: A Deeper Look; Throwing Exceptions
Chapter 10 Operator Overloading; Class string
Chapter 11 Programming: Inheritance
Chapter 12 Object-Oriented Programming: Polymorphism
Chapter 13 Stream Input/Output: A Deeper Look
Chapter 14 File Processing
Chapter 15 Standard Library Containers and Iterators
Chapter 16 Standard Library
Chapter 17 Exception Handling: A Deeper Look
Chapter 18 Introduction to Custom Templates
Chapter 19 Class string and String Stream Processing: A Deeper Look
Chapter 20 Bits, Characters, C Strings and structs
Chapter 21 Other Topics
Chapter 22 ATM Case Study, Part 1: Object-Oriented Design with the UML
Chapter 23 ATM Case Study, Part 2: Implementing an Object-Oriented Design
A Operator Precedence and Associativity
B ASCII Character Set
C Fundamental Types
D Number Systems
E Preprocessor

Book Details

  • Title: C++11 for Programmers, 2nd Edition
  • Author: ,
  • Length: 848 pages
  • Edition: 2
  • Language: English
  • Publisher:
  • Publication Date: 2013-03-23
  • ISBN-10: 0133439852
  • ISBN-13: 9780133439854