Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Nicolai M. Josuttis

Rating No ratings yet

Preface In the beginning, I only planned to write a small German book (400 pages or so) about the C++ standard library. That was in 1993. Now, in 1999 you see the result — an English book with more than 800 pages of facts, figures, and examples. My goal is to describe the C++ standard library so that all (or almost all) your programming questions are answered before you think of the question. Note, however, that this is not a complete description of all aspects of the C++ standard library. Instead, I present the most important topics necessary for learning and programming in C++ by using its standard library. Each topic is described based on the general concepts; this discussion then leads to the specific details needed to support every-day programming tasks. Specific code examples are provided to help you understand the concepts and the details. That's it — in a nutshell. I hope you get as much pleasure from reading this book as I did from writing it. Enjoy!

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Brief outline
【One-Line Pitch】 Preface In the beginning, I only planned to write a small German book (400 pages or so) about the C++ standard libr… 【Book Arc】 - **Opening (~0%–12%)**: 书名: The C Standard Library A Tutorial and Reference (Nicolai M.; ent constructor from defining an automatic type conversion. - **Early (~12%–35%)**: //ptr owns the new object; There should be no other owner. - **Middle (~35%–65%)**: f type T (see the introduction of typename on page 11).; This constructor is provided to initialize the container with elements of another container, with an array, or from standard input. - **Late (~65%–88%)**: // pointer to the value long* count;; s, it is the type of the keys. - **Ending (~88%–100%)**: u can pass for_each() a function that prints each element.; ing copied into another range. 【Key Takeaways】 - **书名: The C Standard Lib…** (Opening): 书名: The C Standard Library A Tutorial and Reference (Nicolai M. - **ent constructor from d…** (Opening): ent constructor from defining an automatic type conversion. - **rule or via a defined…** (Opening): rule or via a defined conversion operation). - **//ptr owns the new obj…** (Early): //ptr owns the new object - **There should be no oth…** (Early): There should be no other owner. - **Usually** (Early): Usually, you would iterate over all elements. 【Reading Tips】 - Use Passage locations below to jump into the text and set reading anchors - Chinese and English guides are each generated once, then served from local cache without calling the model again 【Coverage Limits】 Compressed outline without the model (~33 index chunks). Full structured guide needs AI available.
Page 12
correctly in practice. • Chapter 14: Internationalization This chapter covers the concepts and classes for the internationalization of programs. In particula...
View in text
Excerpt 2
ject to which ptr refers. There should be no other owner. • If ptr is not the null pointer it should be a value returned by new because the destructor of the...
View in text
Excerpt 3
r assigns 0 (which gets converted into float) as the value. Section 6.6.3, discusses maps as associative arrays in more detail. You can't use the subscript o...
View in text
Excerpt 4
se iterator for the first element of a reverse iteration c.rend() Returns a reverse iterator for the position after the last element of a reverse iteration c...
View in text
Excerpt 5
structure returns whether the insertion was successful. 2. The member first of the pair structure returns the position of the newly inserted element or the p...
View in text
Excerpt 6
s the sorting criterion that uses the memory model alloc. • The sorting criterion must define a "strict weak ordering" (see page 176). • Provided by sets, mu...
View in text
Excerpt 7
d library does not provide enough adapters to support this. For example, it is not possible to combine the result of two unary operations to formulate a crit...
View in text
Excerpt 8
or details. • op should not modify the passed arguments. • See page 97 for a discussion of how to find a subrange for which you only know the first and the l...
View in text
Tags
AI categories
C++
Publish Year: 1999
Language: English
Pages: 642
File Format: PDF
File Size: 2.6 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…