C++20 for Programmers: An Objects-Natural Approach
內容描述
The professional programmer's Deitel(R) guide to C++20
Written for programmers with a background in another high-level language, in this book, you'll learn Modern C++ development hands on using C++20 and its Big Four features--Ranges, Concepts, Modules and Coroutines. (For more details, see the Preface, and the table of contents diagram inside the front cover.)
In the context of 200+, hands-on, real-world code examples, you'll quickly master Modern C++ coding idioms using popular compilers--Visual C++ (R), GNU (R) g++, Apple (R) Xcode (R), LLVM (R)/Clang. After the C++ fundamentals quick start, you'll move on to C++ standard library containers array and vector; functional-style programming with C++20 Ranges and Views; strings, files and regular expressions; object-oriented programming with classes, inheritance, runtime polymorphism and static polymorphism; operator overloading, copy/move semantics, RAII and smart pointers; exceptions and a look forward to C++23 Contracts; standard library containers, iterators and algorithms; templates, C++20 Concepts and metaprogramming; C++20 Modules and large-scale development; and concurrency, parallelism, the C++17 and C++20 parallel standard library algorithms and C++20 Coroutines.
Features
Rich coverage of C++20's Big Four: Ranges, Concepts, Modules and Coroutines
Objects-Natural Approach: Use standard libraries and open-source libraries to build significant applications with minimal code
Hundreds of real-world, live-code examples
Modern C++: C++20, 17, 14, 11 and a look to C++23
Compilers: Visual C++(R), GNU(R) g++, Apple Xcode(R) Clang, LLVM(R)/Clang
Docker: GNU(R) GCC, LLVM(R)/Clang
Fundamentals: Control statements, functions, strings, references, pointers, files, exceptions
Object-oriented programming: Classes, objects, inheritance, runtime and static polymorphism, operator overloading, copy/move semantics, RAII, smart pointers
Functional-style programming: C++20 Ranges and Views, lambda expressions
Generic Programming: Templates, C++20 Concepts and metaprogramming
C++20 Modules: Large-Scale Development
Concurrent Programming: Concurrency, multithreading, parallel algorithms, C++20 Coroutines, coroutines support libraries, C++23 executors
Future: A look forward to Contracts, range-based parallel algorithms, standard library coroutine support and more
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
作者介紹
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.