By Peter Van Weert, Marc Gregoire

ISBN-10: 1484218752

ISBN-13: 9781484218754

This fast reference is a condensed reference advisor to the basic info buildings, algorithms, and features supplied by means of the C++ commonplace Library. extra particularly, it is a compact choice of crucial periods and services, utilized by C++ programmers every day. The C++ normal Library fast Reference gains center sessions for strings, I/O streams, and diverse established boxes, in addition to a accomplished set of algorithms to control them. in recent times, the C++11 and C++14 criteria have additional much more effective box periods, a brand new strong common expression library, and a transportable multithreading library that includes threads, mutexes, situation variables, and atomic variables. understand that, it really is difficult to grasp and bear in mind all of the percentages, information, and intricacies of this large and becoming library. this convenient reference advisor is consequently necessary to any C++ programmer. It deals a condensed, well-structured precis of all crucial elements of the C++ commonplace Library, together with all aforementioned performance. No page-long, repetitive examples or vague, hardly used gains. as a substitute, every little thing you want to be aware of and beware of in perform is printed in a compact, to-the-point kind, interspersed with well-chosen, clarifying examples. The e-book doesn't clarify the C++ language or syntax, yet is offered to an individual with simple C++ wisdom. Even the main skilled C++ programmer notwithstanding will research something or from it and locate it an invaluable memory-aid.

Show description

Read Online or Download C++ Standard Library Quick Reference PDF

Similar object-oriented software design books

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day

Sams educate your self internet Publishing with HTML and CSS in a single Hour an afternoon is a brand new variation of the best-selling publication that begun the total HTML/web publishing phenomenon. the whole ebook has been revised and subtle to mirror present net publishing practices and applied sciences. It comprises huge assurance of Cascading sort Sheets (CSS), that have develop into a staple in internet improvement.

Implementing Application Frameworks: Object-Oriented Frameworks at Work

Item expertise A gold mine of firm program frameworks enforcing software Frameworks whereas frameworks can shop your organization thousands in improvement expenditures through the years, the preliminary funding may be very excessive. This book/CD-ROM package deal enables you to decrease the price of framework improvement via supplying forty case experiences documenting the studies of framework developers and clients at significant firms and learn labs, all over the world.

UML Applied: A .NET Perspective

UML utilized: A . web standpoint is the 1st e-book to ascertain the 2 worlds of Unified Modeling Language (UML) and . internet simultaneously. The center of UML utilized: A . web viewpoint is a collection of confirmed, hands-on, team-oriented workouts that may have the reader fixing real-world issues of UML swifter than while utilizing the other approach—often in lower than an afternoon.

A theory of Objects

Procedural languages are ordinarily good understood and their formal foundations forged within the types of a variety of lambda-calculi. For object-oriented languages but the scenario isn't really as straight forward. during this booklet the authors suggest and boost a distinct procedure by way of constructing item calculi during which gadgets are taken care of as primitives.

Additional resources for C++ Standard Library Quick Reference

Sample text

Tip Because choosing between all the previous predefined engines can be daunting, an implementation must also offer a std::default_random_engine that should be good enough for most applications (it may be a typedef for one of the others). Non-Deterministic Random Number Generator A random_device, in principle, does not generate pseudorandom numbers, but truly non-deterministic uniformly distributed random numbers. How it accomplishes this is implementation dependent: it could for example use special hardware on your CPU to generate numbers based on some physical phenomenon.

Info CHAPTER 2 ■ GENERAL UTILITIES the parameter type. In the previous sort() example, for instance, you could simply use std::greater<>. The same functor can even be used for different types: As Chapter 3 explains, the transparent std::less<> and greater<> functors are also the preferred comparison functors for ordered associative containers. predicate()). For this to work, the type of predicate must define a public member type argument_type. All functor types in have this. Generic Function Wrappers The std::function template class is designed for wrapping a copy of any kind of callable entity: that is, any kind of function object or pointer.

When converting to text and back. Use (at least) max_digits10 precision when converting floating-point numbers to text, and it will give the exact same value again when parsed back (9 for float, 17 for double, 22 for long double). min_exponent10, min_exponent, max_exponent10, max_exponent The lowest negative (for min_*) or highest positive (for max_*) integer n such that 10n (for *10) or radix n-1 (otherwise) is a valid normalized floating-point value. 0 and the next representable value. round_error() The maximum rounding error as defined in ISO/IEC 10967-1.

Download PDF sample

C++ Standard Library Quick Reference by Peter Van Weert, Marc Gregoire

by Richard

Rated 4.41 of 5 – based on 16 votes