C++11 for Programmers, 2nd Edition

C++11 for Programmers, 2nd EditionReviews
Author: Harvey M. Deitel, Paul J. Deitel
Pub Date: 2013
ISBN: 978-0-13-343985-4
Pages: 848
Language: English
Format: EPUB
Size: 36 Mb


In C++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 programming 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 Xcode 4.5.


Table of Contents

1 Introduction
2 Introduction to C++ Programming, Input/Output and Operators
3 Introduction to Classes, Objects and Strings
4 Control Statements: Part 1; Assignment, ++ and — Operators
5 Control Statements: Part 2; Logical Operators
6 Functions and an Introduction to Recursion
7 Class Templates array and vector; Catching Exceptions
8 Pointers
9 Classes: A Deeper Look; Throwing Exceptions
10 Operator Overloading; Class string
11 Object-Oriented Programming: Inheritance
12 Object-Oriented Programming: Polymorphism
13 Stream Input/Output: A Deeper Look
14 File Processing
15 Standard Library Containers and Iterators
16 Standard Library Algorithms
17 Exception Handling: A Deeper Look
18 Introduction to Custom Templates
19 Class string and String Stream Processing: A Deeper Look
20 Bits, Characters, C Strings and structs
21 Other Topics
22 ATM Case Study, Part 1: Object-Oriented Design with the UML
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