Angebote zu "Expressions" (41 Treffer)

Kategorien

Shops

Using the C++ Standard Template Libraries
31,78 € *
ggf. zzgl. Versand

Beginning STL is a contemporary treatment that teaches you the latest C++ 14 APIs, libraries and extensions and how to apply these to your C++ 14 applications. In this book, author Ivor Horton explains what the STL is and how to use it with your C++ applications. You'll learn how to use containers and iterators, as well as how to define, create and apply algorithms. Furthermore, you'll learn about function objects and allocators and how to use them.After reading this book, you'll learn how to extend the STL and define your own types of C++ components. You'll also be able to define your own types to satisfy the C++ STL requirements and to conform to the most common design patterns and best practices.The Standard Library is a fundamental part of the C++ Standard. It provides you as a C++ programmer with a comprehensive set of efficiently implemented tools and reusable components that you can use for most types of application.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.

Anbieter: buecher
Stand: 26.11.2020
Zum Angebot
C++ Crash Course
34,99 € *
ggf. zzgl. Versand

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.

Anbieter: buecher
Stand: 26.11.2020
Zum Angebot
C++ Standard Library, The (eBook, PDF)
30,95 € *
ggf. zzgl. Versand

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.

Anbieter: buecher
Stand: 26.11.2020
Zum Angebot
C++ Primer Plus (eBook, PDF)
22,95 € *
ggf. zzgl. Versand

C++ Primer Plus, Sixth Edition New C++11 Coverage C++ Primer Plus is a carefully crafted, complete tutorial on one of the most significant and widely used programming languages today. An accessible and easy-to-use self-study guide, this book is appropriate for both serious students of programming as well as developers already proficient in other languages. The sixth edition of C++ Primer Plus has been updated and expanded to cover the latest developments in C++, including a detailed look at the new C++11 standard. Author and educator Stephen Prata has created an introduction to C++ that is instructive, clear, and insightful. Fundamental programming concepts are explained along with details of the C++ language. Many short, practical examples illustrate just one or two concepts at a time, encouraging readers to master new topics by immediately putting them to use. Review questions and programming exercises at the end of each chapter help readers zero in on the most critical information and digest the most difficult concepts. In C++ Primer Plus, you'll find depth, breadth, and a variety of teaching techniques and tools to enhance your learning: A new detailed chapter on the changes and additional capabilities introduced in the C++11 standard Complete, integrated discussion of both basic C language and additional C++ features Clear guidance about when and why to use a feature Hands-on learning with concise and simple examples that develop your understanding a concept or two at a time Hundreds of practical sample programs Review questions and programming exercises at the end of each chapter to test your understanding Coverage of generic C++ gives you the greatest possible flexibility Teaches the ISO standard, including discussions of templates, the Standard Template Library, the string class, exceptions, RTTI, and namespaces Table of Contents 1: Getting Started with C++ 2: Setting Out to C++ 3: Dealing with Data 4: Compound Types 5: Loops and Relational Expressions 6: Branching Statements and Logical Operators 7: Functions: C++'s Programming Modules 8: Adventures in Functions 9: Memory Models and Namespaces 10: Objects and Classes 11: Working with Classes 12: Classes and Dynamic Memory Allocation 13: Class Inheritance 14: Reusing Code in C++ 15: Friends, Exceptions, and More 16: The string Class and the Standard Template Library 17: Input, Output, and Files 18: The New C++11 Standard A Number Bases B C++ Reserved Words C The ASCII Character Set D Operator Precedence E Other Operators F The stringTemplate Class G The Standard Template Library Methods and Functions H Selected Readings and Internet Resources I Converting to ISO Standard C++ J Answers to Chapter Reviews

Anbieter: buecher
Stand: 26.11.2020
Zum Angebot
A Tour of C++
22,99 € *
ggf. zzgl. Versand

The new C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to write faster, more efficient code. Bjarne Stroustrup, the designer and original implementer of C++, thoroughly covers the details of this language in his definitive reference, The C++ Programming Language, Fourth Edition. That reference is essential for anyone who truly wishes to master this language. In A Tour of C++, Stroustrup excerpts several early chapters from the complete reference, expanding and enhancing them to serve a different purpose: He aims to give an experienced programmer—in as short a time as possible—a clear idea of what constitutes modern C++. In this concise, self-contained guide, Stroustrup covers most major language features and the major standard-library components—not, of course, in the same depth as in his larger reference, but to a level that gives programmers a meaningful overview of the language, some key examples, and practical help in getting started. Stroustrup presents the most important C++ features in the context of the programming styles they support, such as object-oriented and generic programming. While not exhaustively detailed, his tour is still remarkably comprehensive. Coverage begins with the basics, then ranges widely through more advanced topics, including some that are important in the new C++, such as improved containers, random numbers, and concurrency. The tour ends with a discussion of C++ extensions and compatibility. This guide will not teach you how to program (see Stroustrup’s Programming: Principles and Practice Using C++ for that need); nor will it be the only resource you’ll require for C++ mastery (see Stroustrup’s The C++ Programming Language, Fourth Edition, for a start on that goal). If, however, you are a C or C++ programmer needing greater familiarity with the current C++ language, or a programmer versed in another language wishing to gain an accurate picture of the nature and benefits of C++, you can’t have a better introduction than this tour provides. Product Description The C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to write faster, more efficient code. Bjarne Stroustrup, the designer and original implementer of C++, thoroughly covers the details of this language and its use in his definitive reference, The C++ Programming Language, Fourth Edition. In A Tour of C++, Stroustrup excerpts the overview chapters from that complete reference, expanding and enhancing them to give an experienced programmer–in just a few hours–a clear idea of what constitutes modern C++. In this concise, self-contained guide, Stroustrup covers most major language features and the major standard-library components–not, of course, in great depth, but to a level that gives programmers a meaningful overview of the language, some key examples, and practical help in getting started. Stroustrup presents the C++ features in the context of the programming styles they support, such as object-oriented and generic programming. His tour is remarkably comprehensive. Coverage begins with the basics, then ranges widely through more advanced topics, including many that are new in C++11, such as move semantics, uniform initialization, lambda expressions, improved containers, random numbers, and concurrency. The tour ends with a discussion of the design and evolution of C++ and the extensions added for C++11. This guide does not aim to teach you how to program (see Stroustrup’s Programming: Principles and Practice Using C++ for that); nor will it be the only resource you’ll need for C++ mastery (see Stroustrup’s The C++ Programming Language, Fourth Edition, for that). If, however, you are a C or C++ programmer wanting greater familiarity with the current C++ language, or a programmer versed in another language wishing to gain an accurate picture of the nature and benefits of modern C++, you can’t find a shorter or simpler introduction than this tour provides. Preface ix Chapter 1: The Basics 1 1.1 Introduction 1 1.2 Programs 1 1.3 Hello, World! 2 1.4 Functions 3 1.5 Types, Variables, and Arithmetic 5 1.6 Scope 8 1.7 Constants 8 1.8 Pointers, Arrays, and References 9 1.9 Tests 12 1.10 Advice 14 Chapter 2: User-Defined Types 15 2.1 Introduction 15 2.2 Structures 16 2.3 Classes 17 2.4 Unions 19 2.5 Enumerations 20 2.6 Advice 21 Chapter 3: Modularity 23 3.1 Introduction 23 3.2 Separate Compilation 24 3.3 Namespaces 26 3.4 Error Handling 27 3.5 Advice 31 Chapter 4: Classes 33 4.1 Introduction 33 4.2 Concrete Types 34 4.3 Abstract Types 39 4.4 Virtual Functions 42 4.5 Class Hierarchies 42 4.6 Copy and Move 48 4.7 Advice 56 Chapter 5: Templates 59 5.1 Introduction 59 5.2 Parameterized Types 59 5.3 Function Templates 62 5.4 Concepts and Generic Programming 62 5.5 Function Objects 64 5.6 Variadic Templates 66 5.7 Aliases 67 5.8 Template Compilation Model 68 5.9 Advice 68 Chapter 6: Library Overview 71 6.1 Introduction 71 6.2 Standard-Library Components 72 6.3 Standard-Library Headers and Namespace 72 6.4 Advice 74 Chapter 7: Strings and Regular Expressions 75 7.1 Introduction 75 7.2 Strings 75 7.3 Regular Expressions 78 7.4 Advice 84 Chapter 8: I/O Streams 85 8.1 Introduction 85 8.2 Output 86 8.3 Input 87 8.4 I/O State 89 8.5 I/O of User-Defined Types 90 8.6 Formatting 91 8.7 File Streams 92 8.8 String Streams 92 8.9 Advice 93 Chapter 9: Containers 95 9.1 Introduction 95 9.2 vector 96 9.3 list 100 9.4 map 101 9.5 unordered_map 102 9.6 Container Overview 103 9.7 Advice 104 Chapter 10: Algorithms 107 10.1 Introduction 107 10.2 Use of Iterators 108 10.3 Iterator Types 111 10.4 Stream Iterators 112 10.5 Predicates 113 10.6 Algorithm Overview 114 10.7 Container Algorithms 115 10.8 Advice 115 Chapter 11: Utilities 117 11.1 Introduction 117 11.2 Resource Management 117 11.3 Specialized Containers 121 11.4 Time 125 11.5 Function Adaptors 125 11.6 Type Functions 128 11.7 Advice 131 Chapter 12: Numerics 133 12.1 Introduction 133 12.2 Mathematical Functions 134 12.3 Numerical Algorithms 135 12.4 Complex Numbers 135 12.5 Random Numbers 136 12.6 Vector Arithmetic 138 12.7 Numeric Limits 138 12.8 Advice 138 Chapter 13: Concurrency 141 13.1 Introduction 141 13.2 Tasks and threads 142 13.3 Passing Arguments 143 13.4 Returning Results 144 13.5 Sharing Data 144 13.6 Waiting for Events 146 13.7 Communicating Tasks 147 13.8 Advice 151 Chapter 14: History and Compatibility 153 14.1 History 153 14.2 C++11 Extensions 158 14.3 C/C++ Compatibility 161 14.4 Bibliography 166 14.5 Advice 168 Index 171 The new C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to write faster, more efficient code. Bjarne Stroustrup, the designer and original implementer of C++, thoroughly covers the details of this language in his definitive reference, The C++ Programming Language, Fourth Edition. That reference is essential for anyone who truly wishes to master this language. In A Tour of C++, Stroustrup excerpts several early chapters from the complete reference, expanding and enhancing them to serve a different purpose: He aims to give an experienced programmer—in as short a time as possible—a clear idea of what constitutes modern C++. In this concise, self-contained guide, Stroustrup covers most major language features and the major standard-library components—not, of course, in the same depth as in his larger reference, but to a level that gives programmers a meaningful overview of the language, some key examples, and practical help in getting started. Stroustrup presents the most important C++ features in the context of the programming styles they support, such as object-oriented and generic programming. While not exhaustively detailed, his tour is still remarkably comprehensive. Coverage begins with the basics, then ranges widely through more advanced topics, including some that are important in the new C++, such as improved containers, random numbers, and concurrency. The tour ends with a discussion of C++ extensions and compatibility. This guide will not teach you how to program (see Stroustrup's Programming: Principles and Practice Using C++ for that need); nor will it be the only resource you'll require for C++ mastery (see Stroustrup's The C++ Programming Language, Fourth Edition, for a start on that goal). If, however, you are a C or C++ programmer needing greater familiarity with the current C++ language, or a programmer versed in another language wishing to gain an accurate picture of the nature and benefits of C++, you can't have a better introduction than this tour provides.

Anbieter: buecher
Stand: 26.11.2020
Zum Angebot
C++ Primer
38,99 € *
ggf. zzgl. Versand

While maintaining the authori Product Description Bestselling Programming Tutorial and Reference Completely Rewritten for the New C++11 Standard Fully updated and recast for the newly released C++11 standard, this authoritative and comprehensive introduction to C++ will help you to learn the language fast, and to use it in modern, highly effective ways. Highlighting today’s best practices, the authors show how to use both the core language and its standard library to write efficient, readable, and powerful code. C++ Primer, Fifth Edition, introduces the C++ standard library from the outset, drawing on its common functions and facilities to help you write useful programs without first having to master every language detail. The book’s many examples have been revised to use the new language features and demonstrate how to make the best use of them. This book is a proven tutorial for those new to C++, an authoritative discussion of core C++ concepts and techniques, and a valuable resource for experienced programmers, especially those eager to see C++11 enhancements illuminated. Start Fast and Achieve More Learn how to use the new C++11 language features and the standard library to build robust programs quickly, and get comfortable with high-level programming Learn through examples that illuminate today’s best coding styles and program design techniques Understand the “rationale behind the rules”: why C++11 works as it does Use the extensive crossreferences to help you connect related concepts and insights Benefit from up-to-date learning aids and exercises that emphasize key points, help you to avoid pitfalls, promote good practices, and reinforce what you’ve learned Access the source code for the extended examples from informit.com/title/0321714113 C++ Primer, Fifth Edition, features an enhanced, layflat binding, which allows the book to stay open more easily when placed on a flat surface. This special binding method—notable by a small space inside the spine—also increases durability. Features + Benefits A best-seller completely revised and rewritten for the new C++ 2011 standard A favorite choice for a first C++ book--greatly improved and updated for modern C++ programming. Reorganized to better address the novice audience, making it more approachable for non-C programmers. Features many new examples that are less advanced and more accessible to novices as well as experienced programmers--folks who already use C++ need this book too. Preface xxiii Chapter 1: Getting Started 1 1.1 Writing a Simple C++ Program 2 1.2 A First Look at Input/Output 5 1.3 A Word About Comments 9 1.4 Flow of Control 11 1.5 Introducing Classes 19 1.6 The Bookstore Program 24 Chapter Summary 26 Defined Terms 26 Part I: The Basics 29 Chapter 2: Variables and Basic Types 31 2.1 Primitive Built-in Types 32 2.2 Variables 41 2.3 Compound Types 50 2.4 const Qualifier 59 2.5 Dealing with Types 67 2.6 Defining Our Own Data Structures 72 Chapter Summary 78 Defined Terms 78 Chapter 3: Strings, Vectors, and Arrays 81 3.1 Namespace using Declarations 82 3.2 Library string Type 84 3.3 Library vector Type 96 3.4 Introducing Iterators 106 3.5 Arrays 113 3.6 Multidimensional Arrays 125 Chapter Summary 131 Defined Terms 131 Chapter 4: Expressions 133 4.1 Fundamentals 134 4.2 Arithmetic Operators 139 4.3 Logical and Relational Operators 141 4.4 Assignment Operators 144 4.5 Increment and Decrement Operators 147 4.6 The Member Access Operators 150 4.7 The Conditional Operator 151 4.8 The Bitwise Operators 152 4.9 The sizeof Operator 156 4.10 Comma Operator 157 4.11 Type Conversions 159 4.12 Operator Precedence Table 166 Chapter Summary 168 Defined Terms 168 Chapter 5: Statements 171 5.1 Simple Statements 172 5.2 Statement Scope 174 5.3 Conditional Statements 174 5.4 Iterative Statements 183 5.5 Jump Statements 190 5.6 try Blocks and Exception Handling 193 Chapter Summary 199 Defined Terms 199 Chapter 6: Functions 201 6.1 Function Basics 202 6.2 Argument Passing 208 6.3 Return Types and the return Statement 222 6.4 Overloaded Functions 230 6.5 Features for Specialized Uses 236 6.6 Function Matching 242 6.7 Pointers to Functions 247 Chapter Summary 251 Defined Terms 251 Chapter 7: Classes 253 7.1 Defining Abstract Data Types 254 7.2 Access Control and Encapsulation 268 7.3 Additional Class Features 271 7.4 Class Scope 282 7.5 Constructors Revisited 288 7.6 static Class Members 300 Chapter Summary 305 Defined Terms 305 Part II: The C++ Library 307 Chapter 8: The IO Library 309 8.1 The IO Classes 310 8.2 File Input and Output 316 8.3 string Streams 321 Chapter Summary 324 Defined Terms 324 Chapter 9: Sequential Containers 325 9.1 Overview of the Sequential Containers 326 9.2 Container Library Overview 328 9.3 Sequential Container Operations 341 9.4 How a vector Grows 355 9.5 Additional string Operations 360 9.6 Container Adaptors 368 Chapter Summary 372 Defined Terms 372 Chapter 10: Generic Algorithms 375 10.1 Overview 376 10.2 A First Look at the Algorithms 378 10.3 Customizing Operations 385 10.4 Revisiting Iterators 401 10.5 Structure of Generic Algorithms 410 10.6 Container-Specific Algorithms 415 Chapter Summary 417 Defined Terms 417 Chapter 11: Associative Containers 419 11.1 Using an Associative Container 420 11.2 Overview of the Associative Containers 423 11.3 Operations on Associative Containers 428 11.4 The Unordered Containers 443 Chapter Summary 447 Defined Terms 447 Chapter 12: Dynamic Memory 449 12.1 Dynamic Memory and Smart Pointers 450 12.2 Dynamic Arrays 476 12.3 Using the Library: A Text-Query Program 484 Chapter Summary 491 Defined Terms 491 Part III: Tools for Class Authors 493 Chapter 13: Copy Control 495 13.1 Copy, Assign, and Destroy 496 13.2 Copy Control and Resource Management 510 13.3 Swap 516 13.4 A Copy-Control Example 519 13.5 Classes that Manage Dynamic Memory 524 13.6 Moving Objects 531 Chapter Summary 549 Defined Terms 549 Chapter 14: Overloaded Operations and Conversions 551 14.1 Basic Concepts 552 14.2 Input and Output Operators 556 14.3 Arithmetic and Relational Operators 560 14.4 Assignment Operators 563 14.5 Subscript Operator 564 14.6 Increment and Decrement Operators 566 14.7 Member Access Operators 569 14.8 Function-Call Operator 571 14.9 Overloading, Conversions, and Operators 579 Chapter Summary 590 Defined Terms 590 Chapter 15: Object-Oriented Programming 591 15.1 OOP: An Overview 592 15.2 Defining Base and Derived Classes 594 15.3 Virtual Functions 603 15.4 Abstract Base Classes 608 15.5 Access Control and Inheritance 511 15.6 Class Scope under Inheritance 617 15.7 Constructors and Copy Control 622 15.8 Containers and Inheritance 630 15.9 Text Queries Revisited 634 Chapter Summary 649 Defined Terms 649 Chapter 16: Templates and Generic Programming 651 16.1 Defining a Template 652 16.2 Template Argument Deduction 678 16.3 Overloading and Templates 694 16.4 Variadic Templates 699 16.5 Template Specializations 706 Chapter Summary 713 Defined Terms 713 Part IV: Advanced Topics 715 Chapter 17: Specialized Library Facilities 717 17.1 The tuple Type 718 17.2 The bitset Type 723 17.3 Regular Expressions 728 17.4 Random Numbers 745 17.5 The IO Library Revisited 752 Chapter Summary 769 Defined Terms 769 Chapter 18: Tools for Large Programs 771 18.1 Exception Handling 772 18.2 Namespaces 785 18.3 Multiple and Virtual Inheritance 802 Chapter Summary 816 Defined Terms 816 Chapter 19: Specialized Tools and Techniques 819While maintaining the authority and quality of a book that has sold more than 500,000 copies, this Fifth edition is not your father's C++ Primer. It has been completely revised and rewritten to conform to today's C++ usage. and to cover the recently released C++ 2011 standard. Students new to C++ will find a clear and practically organized introduction to the language enhanced by numerous pedagogical aids. Students returning to C++ will be able to update their knowledge with new material on using C++ libraries and programming styles. Access the source code for the extended examples from informit.com/title/0321714113

Anbieter: buecher
Stand: 26.11.2020
Zum Angebot
Encoding and Decoding the Meanings of English I...
98,90 € *
ggf. zzgl. Versand

The book Encoding and Decoding the Meanings of English Idiomatic Expressions tackles the most commonly used idioms in British English and American English. It is furnished to analyze a great deal of idioms multilinguistically. The book consists of three parts. Part One offers a tessellation of newly innovated theories and creative approaches of analysis, which were applied to the culled idioms. Part Two represents the analytical and practical aspect of the book. It is considered analytical because it analyzes (150) idioms picked up from the total idioms (500) that embody the whole corpora of the book. On the other hand, it is called analytical because the innovative and existed theories and newly created approaches were applied to the randomly culled idioms. The multilinguistic analysis covers a set of linguistic topics new classification of idioms, structural decomposition of idioms, morphological templates, metaphoric creativity, pragmatic projections, semantic phenomena, symbolic images, and sociolinguistic aspects. Part Three handles the idioms quantitatively and qualitatively. As this part presents discussions of the results obtained from the quantitative analysis of idioms.

Anbieter: Dodax
Stand: 26.11.2020
Zum Angebot
Beginning C++20
53,14 € *
ggf. zzgl. Versand

Begin your programming journey with C++ , starting with the basics and progressing through step-by-step examples that will help you become a proficient C++ programmer. This book includes new features from the C++20 standard such as modules, concepts, ranges, and the spaceship operator. All you need are Beginning C++20 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. Free source 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++20, and to all conventions and best practices of modern C++. Beginning C++20 also introduces the elements of the C++ Standard Library that provide essential support for the C++20 language. What You Will LearnBegin programming with the C++20 standardCarry out modular programming in C++Work with arrays and loops, pointers and references, strings, and moreWrite your own functions, types, and operatorsDiscover the essentials of object-oriented programmingUse overloading, inheritance, virtual functions, and polymorphismWrite generic function and class templates, and make them safer using concepts Learn the ins and outs of containers, algorithms, and rangesUse auto type declarations, exceptions, move semantics, lambda expressions, and much moreWho This Book Is ForProgrammers new to C++ and those who may be looking for a refresh primer on C++ in general.

Anbieter: Dodax
Stand: 26.11.2020
Zum Angebot
Beginning STL
48,14 € *
ggf. zzgl. Versand

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.

Anbieter: Dodax
Stand: 26.11.2020
Zum Angebot