LOW FLAT RATE AUST-WIDE $9.90 DELIVERY INFO

Close Notification

Your cart does not contain any items

C++20 for Programmers

An Objects-Natural Approach

Paul Deitel Harvey Deitel

$103.95

Paperback

Not in-store but you can order this
How long will it take?

QTY:

English
Pearson
16 April 2022
The C++ programming language is popular for developing systems software, embedded systems, operating systems, real-time systems, games, communications systems and other high-performance computer applications. C++20 for Programmers is an introductory-through-intermediate-level, tutorial presentation of Modern C++, which consists of the four most recent C++ standardsC++11, C++14, C++17 and C++20.

Written for programmers with a background in another high-level language, C++20 for Programmers applies the Deitel signature live-code approach to teaching Modern C++ and explores the C++20 language and libraries in depth. The book presents concepts in fully tested programs, complete with code walkthroughs, syntax coloring, code highlighting and program outputs. It features hundreds of complete C++20 programs with thousands of lines of proven code, and hundreds of software-development tips with a special focus on performance and security, that will help you build robust applications.

Start with C++ fundamentals and the Deitels classic treatment of object-oriented programmingclasses, inheritance, polymorphism, operator overloading and exception handling. Then discover additional topics, including:

Functional-style programming and lambdas

Concurrency and parallelism for optimal multi-core and big data performance

The Standard Template Librarys containers, iterators and algorithms upgraded to C++20

Text files, CSV files, JSON serialisation

Defining custom function templates and class templates
By:   ,
Imprint:   Pearson
Country of Publication:   United States
Edition:   3rd edition
Dimensions:   Height: 232mm,  Width: 168mm,  Spine: 45mm
Weight:   1.600kg
ISBN:   9780136905691
ISBN 10:   0136905692
Series:   Deitel Developer Series
Pages:   960
Publication Date:  
Audience:   Professional and scholarly ,  Undergraduate
Format:   Paperback
Publisher's Status:   Active
Part 1: C++ Fundamentals Quickstart 1. Introduction and Test-Driving a C++ Application 2. Introduction to C++ Programming 3. Control Statements, Part 1; Intro to C++20 Text Formatting 4. Control Statements, Part 2 5. Functions Part 2: Arrays, Pointers, Strings and Files 6. Arrays, Vectors, C++20 Ranges and Functional-Style Programming 7. (Downplaying) Pointers in Modern C++ 8. Strings, Regular Expressions and Files Part 3: Object-Oriented Programming 9. Classes 10. Inheritance and Polymorphism 11. Operator Overloading 12. Exceptions: A Deeper Look Part 4: Standard Library Containers, Iterators and Algorithms 13. Standard Library Containers and Iterators 14. Standard Library Algorithms; Functional Programming: A Deeper Look Part 5: Advanced Topics 15. Intro to C++20 Modules 16. Intro to Custom Templates and C++20 Concepts 17. Concurrent Programming; Intro to C++20 Coroutines Part 5: Other Topics 18. Stream I/O; C++20 Text Formatting: A Deeper Look 19. Other Topics; A Look Toward C++23 and Contracts Part 6: Appendices A. Operator Precedence and Grouping B. Character Set C. Fundamental Types D. Number Systems E. Preprocessor F. Bits, Characters, C Strings and structs G. C Legacy Code Topics H. Using the Visual Studio Debugger I. Using the GNU C++ Debugger J. Using the Xcode Debugger

Paul Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is a graduate of MIT, where he studied Information Technology. He holds the Java Certified Programmer and Java Certified Developer designations, and is an Oracle Java Champion. Through Deitel & Associates, Inc., he has delivered hundreds of programming courses worldwide to clients, including Cisco, IBM, Siemens, Sun Microsystems, Dell, Fidelity, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, White Sands Missile Range, Rogue Wave Software, Boeing, SunGard Higher Education, Nortel Networks, Puma, iRobot, Invensys and many more. He and his co-author, Dr. Harvey M. Deitel, are the world’s best-selling programming-language textbook/professional book/video authors. Dr. Harvey Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc., has over 50 years of experience in the computer field. Dr. Deitel earned B.S. and M.S. degrees in Electrical Engineering from MIT and a Ph.D. in Mathematics from Boston University. He has extensive college teaching experience, including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc., in 1991 with his son, Paul. The Deitels’ publications have earned international recognition, with translations published in Japanese, German, Russian, Spanish, French, Polish, Italian, Simplified Chinese, Traditional Chinese, Korean, Portuguese, Greek, Urdu and Turkish. Dr. Deitel has delivered hundreds of programming courses to corporate, academic, government and military clients.

Reviews for C++20 for Programmers: An Objects-Natural Approach

"From Marc Gregoire, Software Architect, Nikon Metrology, Microsoft Visual C++ MVP and Author of Professional C++, 5/e: ""C++20 is a big update for the C++ language and its standard library, introducing numerous new features. Some of these will drastically change the way we write and organize our code. C++20 for Programmers is a great book to learn C++. This latest edition is updated to include new C++20 features bringing you up to speed with writing modern and well-structured C++ code. Everything is introduced in an easy-to-read, step-by-step manner with the aid of compact, to-the-point code examples. I like the objects-natural approach and examples. For example, the ZIP discussion shows how powerful it is to use third-party libraries that implement complicated things--this allows you to write and read ZIP files in just a few lines of your own code. Another very nice and interesting objects-natural example shows encrypting and decrypting text with just a few lines of code."" ""I especially like that you've stressed to avoid using pointers but instead use modern functionality such as std::array, std::vector, std::string, and so on. I also like the very nice objects natural section, explaining std::span. A nice introduction to containers, iterators, and algorithms, the range-based for loop, and functional programming. Good introduction to classes. Good discussion of modern runtime- and compile-time polymorphism techniques. A very good chapter on operator overloading. Nice exceptions chapter--I like the look ahead to contracts for C++23 or later! I like the chapter 'Templates, C++20 Concepts and Metaprogramming.' It touches on several more advanced features, but it is still easy to read and to follow the examples. Nice chapter on C++20 modules--it contains just the right amount of details for this book."" From Dr. Daisy Hollman, ISO C++ Standards Committee Member: ""I'm a big fan of talking about objects early and often--it's nice to see that my pedagogical instincts in this matter are supported by at least some experts. :-) I love the emphasis on code readability throughout. The emphasis on safe programming in this book is excellent. I really like the 'objects natural' case study with the zip library. I'm a big fan of introducing the class template array before the language version of arrays, and I also like the use of vector as a case study. I absolutely love the emphasis on avoiding pointers. Well done! I’m also a big fan of the section on span. The use of std::string_view in Figure 9.2 is exactly what we had in mind when we designed it."" ""In the chapter, 'OOP: Inheritance and Runtime Polymorphism,' it’s awesome that NVI (non-virtual interface idiom) is covered. I really like the discussion of real-world consequences of implementation inheritance. 'Operator Overloading, Copy/Move Semantics and Smart Pointers' is a great chapter."" From Inbal Levi, SolarEdge Technologies, ISO C++ Foundation director, ISO C++ SG9 (Ranges) chair, ISO C++ Standards Committee: "" C++20 for Programmers provides a great introduction to C++20 through simple and useful examples. 'C++20 formatting with the {fmt} library' is a great and important explanation--it clarifies the relation between standard library implementations and open-source libraries. Examples (especially cryptography) in the 'Functions and an Intro to Function Templates' chapter are great. The chapter, 'Strings, string_views, Text Files, CSV Files and Regex' is well written, great examples. I think both the use case and the reference to OWASP (Open Web Application Security Project) as a knowledge resource will do a great deal for the new developer. The chapter 'OOP: Inheritance and Runtime Polymorphism,' presents some very interesting design patterns. The chapter, 'Operator Overloading, Copy/Move Semantics and Smart Pointers,' is great, the explanations and example class are good and informative."" From Danny Kalev, Ph.D. and Certified System Analyst and Software Engineer, Former ISO C++ Standards Committee Member: ""The Deitels have included all of the useful new C++20 features in a readable and up-to-date book with numerous code examples aimed to transport you swiftly and smoothly into the era of Modern C++ programming. The code has been rigorously tested with three leading compilers. Covers the latest C++20 programming and design idioms. All the relevant hands-on knowledge for designing efficient and reusable concurrent C++20 apps."" ""The chapter, 'Strings, string_views, Text Files, CSV Files and Regex,' is one of the best chapters in any C++ book I've read. Kudos on the Titanic dataset. 'Operator Overloading, Copy/Move Semantics and Smart Pointers' discusses the Special Five member functions, emphasizing the differences between copy constructors and assignment operators, and between copying and moving. The chapter, 'Standard Library Containers and Iterators,' covers the major concepts of standard library containers, iterators, algorithms and container adaptors--all with C++20-compliant code. The chapter, 'Standard Library Algorithms and C++20 Ranges & Views,' covers advanced C++20 features, including iterators and their requirements, the C++20 ranges facilities and related algorithms, functional programming using functors and lambdas, and brief discussion about parallelization. 'Templates, C++20 Concepts and Metaprogramming' is one of the best chapters of this book. Not only is it clear and easy to read, it's also up to date with the latest C++20 features. The new C++20 concepts are explained and demonstrated very well, as are variadic templates, the more traditional notion of type traits and finally, the pick of the crop is template metaprogramming. Writing about modules is quite a challenge--this chapter presents them clearly and in detail. I loved the jaw-dropping improvement in translation unit sizes achieved by importing a header unit using C++20 modules rather than the preprocessor to include a header."" ""Coroutines, one of C++20's 'big four' features, are explained clearly. The main concepts associated with coroutines, i.e., co_await, co_yield and co_return, are demonstrated using easy-to-follow code listings, as are more advanced issues such as tasks and executors. Another noteworthy point is the balanced coverage of third-party coroutines support libraries, since C++20 doesn't provide its own yet."" From Arthur O'Dwyer, C++ trainer, Chair of CppCon’s Back to Basics track, author of several accepted C++17/20/23 proposals and the book Mastering the C++17 STL: ""The chapter, 'OOP: Inheritance and Runtime Polymorphism,' is thorough on all the permutations of private, public, data members, function members, virtual, non-virtual, etc. Very obviously concerned with being up-to-date with C++17 and C++20--that's excellent! You emphasize override and final, which is good. You also emphasize 'prefer composition over inheritance' and NVI (non-virtual interface idiom), which I like. I'm very happy that you show the new ways and say they're good. That's great. C++20 Modules are relegated to their own chapter near the end of the book, but their treatment is not superficial; the chapter demonstrates some non-trivial features such as module partitions, and includes step-by-step instructions for building the sample code on all three mainstream implementations. Covers C++20 Concepts and Ranges confidently and in depth. New features such as std::format, std::span and concepts are used heavily throughout the code examples. The fun part of the chapter, 'Control Statements: Part 1,' is integrating the third-party libraries [in the objects-natural case study] and . 'Strings, string_views, Text Files, CSV Files and Regex' is a solid chapter. I like presenting string and string_view together as a unit. The rapidcsv [objects-natural] case study is a really good idea. The chapter 'Exceptions and a Look Forward to Contracts' presents a pretty clear narrative focus on exceptions and error handling. In the chapter 'C++20 Coroutines,' the choice to use tl::generator and concurrencpp::result is good."" From José Antonio González Seco, Parliament of Andalusia: ""Ideal for professionals who want to learn modern C++ or improve their skills with it. Covers C++20 in a clear and practical way, with an impressive amount of high-quality references, a strong focus on performance and security, and an 'objects natural' approach very useful for learning how to integrate external libraries in your projects. Great coverage of modules, with clear explanations."" From Saar Raz, Senior Software Engineer, Swimm.io and Implementor of C++20 Concepts in Clang: ""The chapter 'Templates, C++20 Concepts and Metaprogramming' covers a lot of ground and important features, such as concept-based overloading, fold expressions and constexpr if. It also goes into great detail explaining how the metaprogramming works. The explanation about the need for coroutines is excellent and provides many use cases, building a strong case for the feature. Gives a high level of understanding of the main low-level concepts of coroutine implementation--it helped me better grasp those concepts."" From Anthony Williams, Member of the British Standards Institution C++ Standards Panel, Director of Just Software Solutions Ltd., Author of C++ Concurrency in Action, 2/e: ""Gives concrete information on how to write code using modules. I like that the chapter 'Parallel Algorithms and Concurrency: A High-Level View' doesn't go too deep on the lower-level things and starts with the parallel algorithms. Introduces coroutines clearly, with simple examples using open-source libraries."" From Andreas Fertig, Independent C++ Trainer and Consultant, Creator of cppinsights.io, Author of Programming with C++20: ""Paul and Harvey do an excellent job teaching modern C++ using C++20. Templates are a huge beast and the chapter 'Templates, C++20 Concepts and Metaprogramming' gives a good overview. The chapter 'C++20 Modules: Large-Scale Development' is a good write-up of modules and how they work--it covers all the parts one needs to start with or convert to modules. An excellent introduction to multithreading and concurrency. In the chapter 'C++20 Coroutines,' I especially liked the overview of coroutine use-cases."" Some Reviews from Earlier Editions--and the Reviewers' Affiliations at the Time ""A great introduction to object-oriented programming in C++. I wish I'd had it when I was learning the language. Provides helpful tips that are relevant to real problems in the software industry."" --Gordon Hogenson, Microsoft ""I like how the text emphasizes the importance of style, comments and consistency."" --Renato Golin, LLVM Compiler Engineer (now a Senior Research Engineer at Microsoft) ""A stellar overview of how polymorphism works--the section on how it's done is great."" --Gašper Ažman, A9.com Search Technologies and Co-author, C++ Today: The Beast Is Back ""Gets you into C++ programming quickly with important tips, loads of insights and gradual progression towards advanced concepts. A great tour of C++ for beginners learning an industrial-strength programming language."" --Dean Michael Berris, Google, Maintainer of cpp-netlib and Former ISO C++ Committee Member (now a Principal Software Engineer at Microsoft) ""I liked that the material doesn’t skirt around the complex nature of C++, and instead explains all the aspects of the example programs."" --Jonathan Wakely, Redhat, ISO C++ Committee Secretary"


See Also