![]() |
C++ How To Program (8th Edition) |
Title: C++ How To Program (8th Edition) By Paul Deitel And Harvey Deitel
Description: Boost C++ Libraries, Technical Report 1 (TR1) and C++0x. In Chapter 23, we introduce the Boost C++ Libraries, Technical Report 1 (TR1) and C++0x. The free Boost open source libraries are created by members of the C++ community. Technical Report 1 describes the proposed changes to the C++ Standard Library, many of which are based on current Boost libraries. The C++ Standards Committee
is revising the C++ Standard—the main goals are to make C++ easier to learn, improve library building capabilities, and increase compatibility with the C programming language. The new standard will include many of the libraries in TR1 and changes to the core language. We overview the Boost libraries and provide
code examples for the “regular expression” and “smart pointer” libraries. Regular expressions are used to match specific character patterns in text. They can be used, for example, to validate data to ensure that it’s in a particular format, to replace parts of one string with another, or to split a string. Many common bugs in C and C++ code are related to pointers, a powerful programming capability you’ll study in Chapter 8. Smart pointers help you avoid errors by providing additional functionality to standard pointers. unique_ptr vs. auto_ptr. We replaced our auto_ptr example with the impending standard’s class unique_ptr, which fixes various problems that were associated with class auto_ptr. Use of auto_ptr is deprecated and unique_ptr is already implemented in many popular compilers, including Visual C++ 2010 and GNU C++ 4.5.
Size: 52 MBNo. of Pages: 1303
Type: Text Oriented
Download Link:
C++ How To Program (8th Edition) – FilesFlash Download Link