• Complain

Bjarne Stroustrup - The C++ Programming Language, 4th Edition

Here you can read online Bjarne Stroustrup - The C++ Programming Language, 4th Edition full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Addison-Wesley Professional, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Bjarne Stroustrup The C++ Programming Language, 4th Edition
  • Book:
    The C++ Programming Language, 4th Edition
  • Author:
  • Publisher:
    Addison-Wesley Professional
  • Genre:
  • Year:
    2013
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

The C++ Programming Language, 4th Edition: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "The C++ Programming Language, 4th Edition" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

C++11 has arrived: thoroughly master it, with the definitive new guide from C++ creator Bjarne Stroustrup, C++ Programming Language, Fourth Edition! The brand-new edition of the worlds most trusted and widely read guide to C++, it has been comprehensively updated for the long-awaited C++11 standard. Extensively rewritten to present the C++11 language, standard library, and key design techniques as an integrated whole, Stroustrup thoroughly addresses changes that make C++11 feel like a whole new language, offering definitive guidance for leveraging its improvements in performance, reliability, and clarity. C++ programmers around the world recognize Bjarne Stoustrup as the go-to expert for the absolutely authoritative and exceptionally useful information they need to write outstanding C++ programs. Now, as C++11 compilers arrive and development organizations migrate to the new standard, they know exactly where to turn once more: Stoustrups C++ Programming Language, Fourth Edition.

Bjarne Stroustrup: author's other books


Who wrote The C++ Programming Language, 4th Edition? Find out the surname, the name of the author of the book and a list of all author's works by series.

The C++ Programming Language, 4th Edition — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "The C++ Programming Language, 4th Edition" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
The C Programming Language 4th Edition - image 1 Preparation for Programming in the Real World
ISBN-13 978-0-321-54372-1 From Bjarne Stroustrup the inventor of C comes - photo 2

ISBN-13: 978-0-321-54372-1

From Bjarne Stroustrup, the inventor of C++, comes Programming: Principles and Practice Using C++, a general introduction to programming, including object-oriented programming and generic programming, and a solid introduction to the C++ programming language. Stroustrup presents modern C++ programming techniques from the start, introducing the C++ standard library to simplify programming tasks.

The book is primarily designed for people who have never programmed before, and it has been tested with more than ten thousand first-year students and thousands of self-study learners. However, practitioners and advanced students also will gain new insight and guidance by seeing how a recognized master approaches the elements of his art.


informIT

For more information and sample content visit informit.com/title/9780321543721

1 Notes to the Reader Hurry Slowly festina lente Octavius Caesar - photo 3
1 Notes to the Reader Hurry Slowly festina lente Octavius Caesar - photo 4
1. Notes to the Reader

Hurry Slowly (festina lente).

Octavius, Caesar Augustus

1.1. The Structure of This Book

A pure tutorial sorts its topics so that no concept is used before it has been introduced; it must be read linearly starting with page one. Conversely, a pure reference manual can be accessed starting at any point; it describes each topic succinctly with references (forward and backward) to related topics. A pure tutorial can in principle be read without prerequisites it carefully describes all. A pure reference can be used only by someone familiar with all fundamental concepts and techniques. This book combines aspects of both. If you know most concepts and techniques, you can access it on a per-chapter or even on a per-section basis. If not, you can start at the beginning, but try not to get bogged down in details. Use the index and the cross-references.

Making parts of the book relatively self-contained implies some repetition, but repetition also serves as review for people reading the book linearly. The book is heavily cross-referenced both to itself and to the ISO C++ standard. Experienced programmers can read the (relatively) quick tour of C++ to gain the overview needed to use the book as a reference. This book consists of four parts:

Introduction: give a quick introduction to the C++ language and its standard library.

Basic Facilities: describe C++s built-in types and the basic facilities for constructing programs out of them.

Abstraction Mechanisms: describe C++s abstraction mechanisms and their use for object-oriented and generic programming.

provide an overview of the standard library and a discussion of compatibility issues.

1.1.1. Introduction

This chapter, , provides an overview of this book, some hints about how to use it, and some background information about C++ and its use. You are encouraged to skim through it, read what appears interesting, and return to it after reading other parts of the book. Please do not feel obliged to read it all carefully before proceeding.

The following chapters provide an overview of the major concepts and features of the C++ programming language and its standard library:

A Tour of C++: The Basics describes C++s model of memory, computation, and error handling.

A Tour of C++: Abstraction Mechanisms presents the language features supporting data abstraction, object-oriented programming, and generic programming.

A Tour of C++: Containers and Algorithms introduces strings, simple I/O, containers, and algorithms as provided by the standard library.

A Tour of C++: Concurrency and Utilities outlines the standard-library utilities related to resource management, concurrency, mathematical computation, regular expressions, and more.

This whirlwind tour of C++s facilities aims to give the reader a taste of what C++ offers. In particular, it should convince readers that C++ has come a long way since the first, second, and third editions of this book.

1.1.2. Basic Facilities

focuses on the subset of C++ that supports the styles of programming traditionally done in C and similar languages. It introduces the notions of type, object, scope, and storage. It presents the fundamentals of computation: expressions, statements, and functions. Modularity as supported by namespaces, source files, and exception handling is also discussed:

Types and Declarations: Fundamental types, naming, scopes, initialization, simple type deduction, object lifetimes, and type aliases

Pointers, Arrays, and References

Structures, Unions, and Enumerations

Statements: Declarations as statements, selection statements ( if and switch ), iteration statements ( for , while , and do ), goto , and comments

Expressions: A desk calculator example, survey of operators, constant expressions, and implicit type conversion.

Select Operations: Logical operators, the conditional expression, increment and decrement, free store ( new and delete ), {} -lists, lambda expressions, and explicit type conversion ( static_cast and const_cast )

Functions: Function declarations and definitions, inline functions, constexpr functions, argument passing, overloaded functions, pre- and postconditions, pointers to functions, and macros

Exception Handling: Styles of error handling, exception guarantees, resource management, enforcing invariants, throw and catch , a vector implementation

Namespaces: namespace , modularization and interface, composition using namespaces

Source Files and Programs: Separate compilation, linkage, using header files, and program start and termination

I assume that you are familiar with most of the programming concepts used in . For example, I explain the C++ facilities for expressing recursion and iteration, but I do not go into technical details or spend much time explaining how these concepts are useful.

The exception to this rule is exceptions. Many programmers lack experience with exceptions or got their experience from languages (such as Java) where resource management and exception handling are not integrated. Consequently, the chapter on exception handling () presents the basic philosophy of C++ exception handling and resource management. It goes into some detail about strategy with a focus on the Resource Acquisition Is Initialization technique (RAII).

1.1.3. Abstraction Mechanisms

describes the C++ facilities supporting various forms of abstraction, including object-oriented and generic programming. The chapters fall into three rough categories: classes, class hierarchies, and templates.

The first four chapters concentrate of the classes themselves:

Classes: The notion of a user-defined type, a class, is the foundation of all C++ abstraction mechanisms.

Construction, Cleanup, Copy, and Move shows how a programmer can define the meaning of creation and initialization of objects of a class. Further, the meaning of copy, move, and destruction can be specified.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «The C++ Programming Language, 4th Edition»

Look at similar books to The C++ Programming Language, 4th Edition. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «The C++ Programming Language, 4th Edition»

Discussion, reviews of the book The C++ Programming Language, 4th Edition and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.