EBookClubs

Read Books & Download eBooks Full Online

EBookClubs

Read Books & Download eBooks Full Online

Book Mastering the C  17 STL

    Book Details:
  • Author : Arthur O'Dwyer
  • Publisher : Packt Publishing Ltd
  • Release : 2017-09-28
  • ISBN : 1787288234
  • Pages : 379 pages

Download or read book Mastering the C 17 STL written by Arthur O'Dwyer and published by Packt Publishing Ltd. This book was released on 2017-09-28 with total page 379 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.

Book C  17 STL Cookbook

    Book Details:
  • Author : Jacek Galowicz
  • Publisher : Packt Publishing Ltd
  • Release : 2017-06-28
  • ISBN : 1787121763
  • Pages : 523 pages

Download or read book C 17 STL Cookbook written by Jacek Galowicz and published by Packt Publishing Ltd. This book was released on 2017-06-28 with total page 523 pages. Available in PDF, EPUB and Kindle. Book excerpt: Over 90 recipes that leverage the powerful features of the Standard Library in C++17 About This Book Learn the latest features of C++ and how to write better code by using the Standard Library (STL). Reduce the development time for your applications. Understand the scope and power of STL features to deal with real-world problems. Compose your own algorithms without forfeiting the simplicity and elegance of the STL way. Who This Book Is For This book is for intermediate-to-advanced C++ programmers who want to get the most out of the Standard Template Library of the newest version of C++: C++ 17. What You Will Learn Learn about the new core language features and the problems they were intended to solve Understand the inner workings and requirements of iterators by implementing them Explore algorithms, functional programming style, and lambda expressions Leverage the rich, portable, fast, and well-tested set of well-designed algorithms provided in the STL Work with strings the STL way instead of handcrafting C-style code Understand standard support classes for concurrency and synchronization, and how to put them to work Use the filesystem library addition available with the C++17 STL In Detail C++ has come a long way and is in use in every area of the industry. Fast, efficient, and flexible, it is used to solve many problems. The upcoming version of C++ will see programmers change the way they code. If you want to grasp the practical usefulness of the C++17 STL in order to write smarter, fully portable code, then this book is for you. Beginning with new language features, this book will help you understand the language's mechanics and library features, and offers insight into how they work. Unlike other books, ours takes an implementation-specific, problem-solution approach that will help you quickly overcome hurdles. You will learn the core STL concepts, such as containers, algorithms, utility classes, lambda expressions, iterators, and more, while working on practical real-world recipes. These recipes will help you get the most from the STL and show you how to program in a better way. By the end of the book, you will be up to date with the latest C++17 features and save time and effort while solving tasks elegantly using the STL. Style and approach This recipe-based guide will show you how to make the best use of C++ together with the STL to squeeze more out of the standard language

Book Mastering the C  17 STL

Download or read book Mastering the C 17 STL written by Arthur O'Dwyer and published by . This book was released on 2017-09-26 with total page 384 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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++17Who This Book Is ForThis 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 DetailModern 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 approachThis book takes a concise but comprehensive approach to explaining and applying the C++ STL, one feature at a time.

Book Mastering C   Programming

    Book Details:
  • Author : Jeganathan Swaminathan
  • Publisher : Packt Publishing Ltd
  • Release : 2017-09-01
  • ISBN : 1786461935
  • Pages : 375 pages

Download or read book Mastering C Programming written by Jeganathan Swaminathan and published by Packt Publishing Ltd. This book was released on 2017-09-01 with total page 375 pages. Available in PDF, EPUB and Kindle. Book excerpt: Take your C++ coding to the next level by leveraging the latest features and advanced techniques to building high performing, reliable applications. About This Book Get acquainted with the latest features in C++ 17 Take advantage of the myriad of features and possibilities that C++ offers to build real-world applications Write clear and expressive code in C++, and get insights into how to keep your code error-free Who This Book Is For This book is for experienced C++ developers. If you are a novice C++ developer, then it's highly recommended that you get a solid understanding of the C++ language before reading this book What You Will Learn Write modular C++ applications in terms of the existing and newly introduced features Identify code-smells, clean up, and refactor legacy C++ applications Leverage the possibilities provided by Cucumber and Google Test/Mock to automate test cases Test frameworks with C++ Get acquainted with the new C++17 features Develop GUI applications in C++ Build portable cross-platform applications using standard C++ features In Detail C++ has come a long way and has now been adopted in several contexts. Its key strengths are its software infrastructure and resource-constrained applications. The C++ 17 release will change the way developers write code, and this book will help you master your developing skills with C++. With real-world, practical examples explaining each concept, the book will begin by introducing you to the latest features in C++ 17. It encourages clean code practices in C++ in general, and demonstrates the GUI app-development options in C++. You'll get tips on avoiding memory leaks using smart-pointers. Next, you'll see how multi-threaded programming can help you achieve concurrency in your applications. Moving on, you'll get an in-depth understanding of the C++ Standard Template Library. We show you the concepts of implementing TDD and BDD in your C++ programs, and explore template-based generic programming, giving you the expertise to build powerful applications. Finally, we'll round up with debugging techniques and best practices.By the end of the book, you'll have an in-depth understanding of the language and its various facets. Style and approach This straightforward guide will help you level up your skills in C++ programming, be it for enterprise software or for low-latency applications like games. Filled with real-world, practical examples, this book will take you gradually up the steep learning curve that is C++.

Book The C   Standard Library

    Book Details:
  • Author : Nicolai M. Josuttis
  • Publisher : Addison-Wesley
  • Release : 2012-05-25
  • ISBN : 0132977737
  • Pages : 1190 pages

Download or read book The C Standard Library written by Nicolai M. Josuttis and published by Addison-Wesley. This book was released on 2012-05-25 with total page 1190 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.

Book Effective Modern C

    Book Details:
  • Author : Scott Meyers
  • Publisher : "O'Reilly Media, Inc."
  • Release : 2014-11-11
  • ISBN : 1491908424
  • Pages : 334 pages

Download or read book Effective Modern C written by Scott Meyers and published by "O'Reilly Media, Inc.". This book was released on 2014-11-11 with total page 334 pages. Available in PDF, EPUB and Kindle. Book excerpt: Coming to grips with C++11 and C++14 is more than a matter of familiarizing yourself with the features they introduce (e.g., auto type declarations, move semantics, lambda expressions, and concurrency support). The challenge is learning to use those features effectively—so that your software is correct, efficient, maintainable, and portable. That’s where this practical book comes in. It describes how to write truly great software using C++11 and C++14—i.e. using modern C++. Topics include: The pros and cons of braced initialization, noexcept specifications, perfect forwarding, and smart pointer make functions The relationships among std::move, std::forward, rvalue references, and universal references Techniques for writing clear, correct, effective lambda expressions How std::atomic differs from volatile, how each should be used, and how they relate to C++'s concurrency API How best practices in "old" C++ programming (i.e., C++98) require revision for software development in modern C++ Effective Modern C++ follows the proven guideline-based, example-driven format of Scott Meyers' earlier books, but covers entirely new material. "After I learned the C++ basics, I then learned how to use C++ in production code from Meyer's series of Effective C++ books. Effective Modern C++ is the most important how-to book for advice on key guidelines, styles, and idioms to use modern C++ effectively and well. Don't own it yet? Buy this one. Now". -- Herb Sutter, Chair of ISO C++ Standards Committee and C++ Software Architect at Microsoft

Book C  17 in Detail

    Book Details:
  • Author : Bartłomiej Filipek
  • Publisher : Independently Published
  • Release : 2019-07-18
  • ISBN : 9781798834060
  • Pages : 378 pages

Download or read book C 17 in Detail written by Bartłomiej Filipek and published by Independently Published. This book was released on 2019-07-18 with total page 378 pages. Available in PDF, EPUB and Kindle. Book excerpt: C++17 is a major update to the language and brings many exciting additions and improvements that will change your pre for the better. This book shows you all of the significant changes in the new Standard. I spent hundreds of hours investigating how the new features work to ensure this book is helpful and practical. It will not only save you time but will guide you through lots of nuances of the language and the Standard Library. Among the dozens of C++17's enhancements described in the book, you will learn about the following: Class Template Argument Deduction Structured Bindings Fold Expressions Inline Variables Parallel Algorithms Polymorphic Allocator std::any std::byte std::filesystem std::from_chars std::optional std::string_view std::variant [[nodiscard]] if constexpr If you have experience with C++11/14 and you want to advance to the latest C++ Standard, then pick up the book and start reading. "If you've ever asked 'what's in C++17 and what does it mean for me and my pre?' -- and I hope you have -- then this book is for you." Herb Sutter The book is also available as ebook @Leanpub: https://leanpub.com/cpp17indetail

Book C   Crash Course

    Book Details:
  • Author : Josh Lospinoso
  • Publisher : No Starch Press
  • Release : 2019-09-24
  • ISBN : 1593278896
  • Pages : 793 pages

Download or read book C Crash Course written by Josh Lospinoso and published by No Starch Press. This book was released on 2019-09-24 with total page 793 pages. Available in PDF, EPUB and Kindle. Book excerpt: A fast-paced, thorough introduction to modern C++ written for experienced programmers. After reading C++ Crash Course, you'll be proficient in the core language concepts, the C++ Standard Library, and the Boost Libraries. C++ is one of the most widely used languages for real-world software. In the hands of a knowledgeable programmer, C++ can produce small, efficient, and readable code that any programmer would be proud of. Designed for intermediate to advanced programmers, C++ Crash Course cuts through the weeds to get you straight to the core of C++17, the most modern revision of the ISO standard. Part 1 covers the core of the C++ language, where you'll learn about everything from types and functions, to the object life cycle and expressions. Part 2 introduces you to the C++ Standard Library and Boost Libraries, where you'll learn about all of the high-quality, fully-featured facilities available to you. You'll cover special utility classes, data structures, and algorithms, and learn how to manipulate file systems and build high-performance programs that communicate over networks. You'll learn all the major features of modern C++, including: Fundamental types, reference types, and user-defined types The object lifecycle including storage duration, memory management, exceptions, call stacks, and the RAII paradigm Compile-time polymorphism with templates and run-time polymorphism with virtual classes Advanced expressions, statements, and functions Smart pointers, data structures, dates and times, numerics, and probability/statistics facilities Containers, iterators, strings, and algorithms Streams and files, concurrency, networking, and application development With well over 500 code samples and nearly 100 exercises, C++ Crash Course is sure to help you build a strong C++ foundation.

Book Mastering C   Multithreading

Download or read book Mastering C Multithreading written by Maya Posch and published by Packt Publishing Ltd. This book was released on 2017-07-28 with total page 244 pages. Available in PDF, EPUB and Kindle. Book excerpt: Master multithreading and concurrent processing with C++ About This Book Delve into the fundamentals of multithreading and concurrency and find out how to implement them Explore atomic operations to optimize code performance Apply concurrency to both distributed computing and GPGPU processing Who This Book Is For This book is for intermediate C++ developers who wish to extend their knowledge of multithreading and concurrent processing. You should have basic experience with multithreading and be comfortable using C++ development toolchains on the command line. What You Will Learn Deep dive into the details of the how various operating systems currently implement multithreading Choose the best multithreading APIs when designing a new application Explore the use of mutexes, spin-locks, and other synchronization concepts and see how to safely pass data between threads Understand the level of API support provided by various C++ toolchains Resolve common issues in multithreaded code and recognize common pitfalls using tools such as Memcheck, CacheGrind, DRD, Helgrind, and more Discover the nature of atomic operations and understand how they can be useful in optimizing code Implement a multithreaded application in a distributed computing environment Design a C++-based GPGPU application that employs multithreading In Detail Multithreaded applications execute multiple threads in a single processor environment, allowing developers achieve concurrency. This book will teach you the finer points of multithreading and concurrency concepts and how to apply them efficiently in C++. Divided into three modules, we start with a brief introduction to the fundamentals of multithreading and concurrency concepts. We then take an in-depth look at how these concepts work at the hardware-level as well as how both operating systems and frameworks use these low-level functions. In the next module, you will learn about the native multithreading and concurrency support available in C++ since the 2011 revision, synchronization and communication between threads, debugging concurrent C++ applications, and the best programming practices in C++. In the final module, you will learn about atomic operations before moving on to apply concurrency to distributed and GPGPU-based processing. The comprehensive coverage of essential multithreading concepts means you will be able to efficiently apply multithreading concepts while coding in C++. Style and approach This book is filled with examples that will help you become a master at writing robust concurrent and parallel applications in C++.

Book Using the STL

    Book Details:
  • Author : Robert Robson
  • Publisher : Springer Science & Business Media
  • Release : 2012-12-06
  • ISBN : 1461213126
  • Pages : 601 pages

Download or read book Using the STL written by Robert Robson and published by Springer Science & Business Media. This book was released on 2012-12-06 with total page 601 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.

Book Effective STL

    Book Details:
  • Author : Scott Meyers
  • Publisher : Pearson Education
  • Release : 2001
  • ISBN : 0201749629
  • Pages : 282 pages

Download or read book Effective STL written by Scott Meyers and published by Pearson Education. This book was released on 2001 with total page 282 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.

Book Mastering C   Game Development

Download or read book Mastering C Game Development written by Mickey MacDonald and published by . This book was released on 2018-01-25 with total page 344 pages. Available in PDF, EPUB and Kindle. Book excerpt: High-end game development with advanced C++ 17 programming techniques Key Features Make the best use of object-oriented capabilities of C++ 17 to develop high-end games Create reusable C++ 17 libraries and editor tools for your game Series of example projects demonstrating advanced techniques to build games of any genre Book Description Although many languages are now being used to develop games, C++ remains the standard for professional development. The majority of professional libraries and toolchains are still built using C++. The primary goal of this book is to teach you how to harness the power of the language and provide you with the ability to build high-quality games. To begin, you will be presented with, an overview of popular development methodologies, and a short guide to updated features of the C++ 17 standard. You will learn how to leverage existing libraries such as OpenGL and the STL (standard library) to build complex systems. Throughout the journey, you will also build a set of C++ 17 compatible libraries that can be reused in your own development projects. In the last half of the book, you will work with demos designed to introduce you to advanced rendering techniques, interactive physics, advanced AI techniques, and even multiplayer game concerns with modern networks. What you will learn Work and communicate effectively in the modern games industry Develop simple and advanced gameplay systems How to leverage the standard core C++ libraries Use modern real-time rendering techniques to achieve immersive 3D visuals Achieve a narrative-driven game experience using a variety of data management techniques Implement scripting using LUA Learn AI algorithms and concepts for handling motion, behavior, and decision making Implementation of the OpenGL, Bullet Physics, GLM, SteamVR and other common libraries Who this book is for This book is intended for aspiring game developers who are proficient in C++ 17 programming and are interested in developing professional games with C++.17

Book C  17   The Complete Guide

    Book Details:
  • Author : Nicolai M Josuttis
  • Publisher : Nicojosuttis
  • Release : 2019-09-06
  • ISBN : 9783967309171
  • Pages : 456 pages

Download or read book C 17 The Complete Guide written by Nicolai M Josuttis and published by Nicojosuttis. This book was released on 2019-09-06 with total page 456 pages. Available in PDF, EPUB and Kindle. Book excerpt: All the new language and library features of C++17 (for those who know the previous versions of C++). C++17 is the next evolution in modern C++ programming, which is already now supported by the latest version of gcc, clang, and Visual C++. Although it is not as big a step as C++11, it contains a large number of small and valuable language and library features, which will change the way we program in C++. As usual, not everything is self-explanatory, combining new features gives even more power, and there are hidden traps. This book presents all the new language and library features of C++17. It covers the motivation and context of each new feature with examples and background information. The focus is on how these features impact day-to-day programming, what it means to combine them, and how to benefit from this in practice.

Book Professional C

    Book Details:
  • Author : Nicholas A. Solter
  • Publisher : John Wiley & Sons
  • Release : 2005-01-07
  • ISBN : 0764589490
  • Pages : 866 pages

Download or read book Professional C written by Nicholas A. Solter and published by John Wiley & Sons. This book was released on 2005-01-07 with total page 866 pages. Available in PDF, EPUB and Kindle. Book excerpt: Geared to experienced C++ developers who may not be familiar with the more advanced features of the language, and therefore are not using it to its full capabilities Teaches programmers how to think in C++-that is, how to design effective solutions that maximize the power of the language The authors drill down into this notoriously complex language, explaining poorly understood elements of the C++ feature set as well as common pitfalls to avoid Contains several in-depth case studies with working code that's been tested on Windows, Linux, and Solaris platforms

Book Expert C

    Book Details:
  • Author : Vardan Grigoryan
  • Publisher : Packt Publishing Ltd
  • Release : 2020-04-10
  • ISBN : 1838554769
  • Pages : 591 pages

Download or read book Expert C written by Vardan Grigoryan and published by Packt Publishing Ltd. This book was released on 2020-04-10 with total page 591 pages. Available in PDF, EPUB and Kindle. Book excerpt: Design and architect real-world scalable C++ applications by exploring advanced techniques in low-level programming, object-oriented programming (OOP), the Standard Template Library (STL), metaprogramming, and concurrency Key FeaturesDesign professional-grade, maintainable apps by learning advanced concepts such as functional programming, templates, and networkingApply design patterns and best practices to solve real-world problemsImprove the performance of your projects by designing concurrent data structures and algorithmsBook Description C++ has evolved over the years and the latest release – C++20 – is now available. Since C++11, C++ has been constantly enhancing the language feature set. With the new version, you’ll explore an array of features such as concepts, modules, ranges, and coroutines. This book will be your guide to learning the intricacies of the language, techniques, C++ tools, and the new features introduced in C++20, while also helping you apply these when building modern and resilient software. You’ll start by exploring the latest features of C++, and then move on to advanced techniques such as multithreading, concurrency, debugging, monitoring, and high-performance programming. The book will delve into object-oriented programming principles and the C++ Standard Template Library, and even show you how to create custom templates. After this, you’ll learn about different approaches such as test-driven development (TDD), behavior-driven development (BDD), and domain-driven design (DDD), before taking a look at the coding best practices and design patterns essential for building professional-grade applications. Toward the end of the book, you will gain useful insights into the recent C++ advancements in AI and machine learning. By the end of this C++ programming book, you’ll have gained expertise in real-world application development, including the process of designing complex software. What you will learnUnderstand memory management and low-level programming in C++ to write secure and stable applicationsDiscover the latest C++20 features such as modules, concepts, ranges, and coroutinesUnderstand debugging and testing techniques and reduce issues in your programsDesign and implement GUI applications using Qt5Use multithreading and concurrency to make your programs run fasterDevelop high-end games by using the object-oriented capabilities of C++Explore AI and machine learning concepts with C++Who this book is for This C++ book is for experienced C++ developers who are looking to take their knowledge to the next level and perfect their skills in building professional-grade applications.

Book Beginning C  17

    Book Details:
  • Author : Ivor Horton
  • Publisher : Apress
  • Release : 2018-03-24
  • ISBN : 1484233662
  • Pages : 788 pages

Download or read book Beginning C 17 written by Ivor Horton and published by Apress. This book was released on 2018-03-24 with total page 788 pages. Available in PDF, EPUB and Kindle. Book excerpt: Learn how to program using the updated C++17 language. You'll start with the basics and progress through step-by-step examples to become a working C++ programmer. All you need are Beginning C++17 and any recent C++ compiler and you'll soon be writing real C++ programs. There is no assumption of prior programming knowledge. All language concepts that are explained in the book are illustrated with working program examples, and all chapters include exercises for you to test and practice your knowledge. Code downloads are provided for all examples from the text and solutions to the exercises. This latest edition has been fully updated to the latest version of the language, C++17, and to all conventions and best practices of so-called modern C++. Beginning C++17 also introduces the elements of the C++ Standard Library that provide essential support for the C++17 language. What You'll Learn Define variables and make decisions Work with arrays and loops, pointers and references, strings, and more Write your own functions, types, and operators Discover the essentials of object-oriented programming Use overloading, inheritance, virtual functions and polymorphism Write generic function templates and class templates Get up to date with modern C++ features: auto type declarations, move semantics, lambda expressions, and more Examine the new additions to C++17 Who This Book Is For Programmers new to C++ and those who may be looking for a refresh primer on the C++17 programming language in general.

Book C   High Performance

    Book Details:
  • Author : Björn Andrist
  • Publisher : Packt Publishing Ltd
  • Release : 2018-01-31
  • ISBN : 1787124770
  • Pages : 362 pages

Download or read book C High Performance written by Björn Andrist and published by Packt Publishing Ltd. This book was released on 2018-01-31 with total page 362 pages. Available in PDF, EPUB and Kindle. Book excerpt: Write code that scales across CPU registers, multi-core, and machine clusters Key Features Explore concurrent programming in C++ Identify memory management problems Use SIMD and STL containers for performance improvement Book Description C++ is a highly portable language and can be used to write both large-scale applications and performance-critical code. It has evolved over the last few years to become a modern and expressive language. This book will guide you through optimizing the performance of your C++ apps by allowing them to run faster and consume fewer resources on the device they're running on without compromising the readability of your code base. The book begins by helping you measure and identify bottlenecks in a C++ code base. It then moves on by teaching you how to use modern C++ constructs and techniques. You'll see how this affects the way you write code. Next, you'll see the importance of data structure optimization and memory management, and how it can be used efficiently with respect to CPU caches. After that, you'll see how STL algorithm and composable Range V3 should be used to both achieve faster execution and more readable code, followed by how to use STL containers and how to write your own specialized iterators. Moving on, you’ll get hands-on experience in making use of modern C++ metaprogramming and reflection to reduce boilerplate code as well as in working with proxy objects to perform optimizations under the hood. After that, you’ll learn concurrent programming and understand lock-free data structures. The book ends with an overview of parallel algorithms using STL execution policies, Boost Compute, and OpenCL to utilize both the CPU and the GPU. What you will learn Benefits of modern C++ constructs and techniques Identify hardware bottlenecks, such as CPU cache misses, to boost performance Write specialized data structures for performance-critical code Use modern metaprogramming techniques to reduce runtime calculations Achieve efficient memory management using custom memory allocators Reduce boilerplate code using reflection techniques Reap the benefits of lock-free concurrent programming Perform under-the-hood optimizations with preserved readability using proxy objects Gain insights into subtle optimizations used by STL algorithms Utilize the Range V3 library for expressive C++ code Parallelize your code over CPU and GPU, without compromising readability Who this book is for If you're a C++ developer looking to improve the speed of your code or simply wanting to take your skills up to the next level, then this book is perfect for you.