Using the C Standard Template Libraries

Using the C   Standard Template Libraries
Author: Ivor Horton
Publsiher: Apress
Total Pages: 504
Release: 2015-10-11
Genre: Computers
ISBN: 9781484200049

Download Using the C Standard Template Libraries Book in PDF, Epub and Kindle

Using the C++ Standard Template Libraries is a contemporary treatment that teaches the generic programming capabilities that the C++ 14 Standard Library provides. In this book, author Ivor Horton explains what the class and function templates available with C++ 14 do, and how to use them in a practical context. You'll learn how to create containers, and how iterators are used with them to access, modify, and extend the data elements they contain. You'll also learn about stream iterators that can transfer data between containers and streams, including file streams. The function templates that define algorithms are explained in detail, and you'll learn how to pass function objects or lambda expressions to them to customize their behavior. Many working examples are included to demonstrate how to apply the algorithms with different types of containers. After reading this book, you will understand the scope and power of the templates that the C++ 14 Standard Library includes and how these can greatly reduce the coding and development time for many applications. You'll be able to combine the class and function templates to great effect in dealing with real-world problems. The templates in the Standard Library provide you as a C++ programmer with a comprehensive set of efficiently implemented generic programming tools that you can use for most types of application. How to use Standard Library templates with your C++ applications. Understand the different types of containers that are available and what they are used for. How to define your own class types to meet the requirements of use with containers. What iterators are, the characteristics of the various types of iterators, and how they allow algorithms to be applied to the data in different types of container. How you can define your own iterator types. What the templates that define algorithms do, and how you apply them to data stored in containers and arrays. How to access hardware clocks and use them for timing execution. How to use the templates available for compute-intensive numerical data processing. How to create and use pseudo-random number generators with distribution objects.

Using the STL

Using the STL
Author: Robert Robson
Publsiher: Springer Science & Business Media
Total Pages: 601
Release: 2012-12-06
Genre: Computers
ISBN: 9781461213123

Download Using the STL Book in PDF, Epub and Kindle

A comprehensive introduction and guide to the STL, pitched at the level of readers already familiar with C++. It presents a thorough overview of the capabilities of the STL, detailed discussions of the use of containers, descriptions of the algorithms and how they may be used, and how the STL may be extended. An appendix provides an alphabetical reference to the entire STL, making this an extremely useful hands-on text for programmers of C++ and students coming to the STL for the first time.

The C Standard Template Library

The C   Standard Template Library
Author: P. J. Plauger
Publsiher: Prentice Hall
Total Pages: 520
Release: 2001
Genre: Computers
ISBN: UOM:39015049509808

Download The C Standard Template Library Book in PDF, Epub and Kindle

Defines the template classes and functions of the standard template library (STL) component of the C++ programming language. A chapter is devoted to each of the 13 headers, providing a functional description of the header contents, suggestions for how best to use the facilities defined in the header, and the C++ code itself. Additional chapters introduce STL as a whole and discuss three overarching topics--iterators, algorithms, and containers. c. Book News Inc.

Effective STL

Effective STL
Author: Scott Meyers
Publsiher: Pearson Education
Total Pages: 282
Release: 2001
Genre: Computers
ISBN: 9780201749625

Download Effective STL Book in PDF, Epub and Kindle

C++'s Standard Template Library is revolutionary, but learning to use it well has always been a challenge for students. In Effective STL, best-selling author Scott Meyers (Effective C++, More Effective C++) reveals the critical rules of thumb employed by the experts -- the things they almost always do or almost always avoid doing -- to get the most out of the library. This book offers clear, concise, and concrete guidelines to C++ programmers. While other books describe what's in the STL, Effective STL shows the student how to use it. Each of the book's 50 guidelines is backed by Meyers' legendary analysis and incisive examples, so the student will learn not only what to do, but also when to do it - and why.

Data Structure Programming

Data Structure Programming
Author: Joseph Bergin
Publsiher: Springer Science & Business Media
Total Pages: 345
Release: 2012-12-06
Genre: Computers
ISBN: 9781461216308

Download Data Structure Programming Book in PDF, Epub and Kindle

This textbook provides an introduction to data structures and the Standard Template Library (STL), which has been recently accepted by the C++ Standards Committee. It provides a carefully integrated discussion of general data structures together with their implementation and use in the STL, thus teaching readers the important features of abstraction whilst using the STL to develop applications.

The C Standard Library

The C   Standard Library
Author: Nicolai M. Josuttis
Publsiher: Addison-Wesley
Total Pages: 1190
Release: 2012-05-25
Genre: Computers
ISBN: 9780132977739

Download The C Standard Library Book in PDF, Epub and Kindle

The Best-Selling C++ Resource Now Updated for C++11 The C++ standard library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components–and to benefit from their power–you need a resource that does far more than list the classes and their functions. The C++ Standard Library: A Tutorial and Reference, Second Edition, describes this library as now incorporated into the new ANSI/ISO C++ language standard (C++11). The book provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical programming details needed for effective use; traps and pitfalls; the exact signature and definition of the most important classes and functions; and numerous examples of working code. The book focuses in particular on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms. The book covers all the new C++11 library components, including Concurrency Fractional arithmetic Clocks and timers Tuples New STL containers New STL algorithms New smart pointers New locale facets Random numbers and distributions Type traits and utilities Regular expressions The book also examines the new C++ programming style and its effect on the standard library, including lambdas, range-based for loops, move semantics, and variadic templates. An accompanying Web site, including source code, can be found at www.cppstdlib.com.

Data Structures in C

Data Structures in C
Author: Anonim
Publsiher: Unknown
Total Pages: 521
Release: 1998
Genre: Electronic Book
ISBN: 7978031020

Download Data Structures in C Book in PDF, Epub and Kindle

Mastering the C 17 STL

Mastering the C  17 STL
Author: Arthur O'Dwyer
Publsiher: Packt Publishing Ltd
Total Pages: 379
Release: 2017-09-28
Genre: Computers
ISBN: 9781787288232

Download Mastering the C 17 STL Book in PDF, Epub and Kindle

This book breaks down the C++ STL, teaching you how to extract its gems and apply them to your programming. About This Book Boost your productivity as a C++ developer with the latest features of C++17 Develop high-quality, fast, and portable applications with the varied features of the STL Migrate from older versions (C++11, C++14) to C++17 Who This Book Is For This book is for developers who would like to master the C++ STL and make full use of its components. Prior C++ knowledge is assumed. What You Will Learn Make your own iterator types, allocators, and thread pools. Master every standard container and every standard algorithm. Improve your code by replacing new/delete with smart pointers. Understand the difference between monomorphic algorithms, polymorphic algorithms, and generic algorithms. Learn the meaning and applications of vocabulary type, product type and sum type. In Detail Modern C++ has come a long way since 2011. The latest update, C++17, has just been ratified and several implementations are on the way. This book is your guide to the C++ standard library, including the very latest C++17 features. The book starts by exploring the C++ Standard Template Library in depth. You will learn the key differences between classical polymorphism and generic programming, the foundation of the STL. You will also learn how to use the various algorithms and containers in the STL to suit your programming needs. The next module delves into the tools of modern C++. Here you will learn about algebraic types such as std::optional, vocabulary types such as std::function, smart pointers, and synchronization primitives such as std::atomic and std::mutex. In the final module, you will learn about C++'s support for regular expressions and file I/O. By the end of the book you will be proficient in using the C++17 standard library to implement real programs, and you'll have gained a solid understanding of the library's own internals. Style and approach This book takes a concise but comprehensive approach to explaining and applying the C++ STL, one feature at a time.