C++ How to Program: An Objects-Natural Approach is a code-intensive, modular introduction to C++ programming. The Deitel live-code approach presents concepts using full working programs rather than code snippets so that you can immediately start to run programs as you read. Interesting, entertaining and challenging examples, exercises and projects help you see how what you're learning applies to real-world scenarios.

The 11th Edition presents new features of C++ 20 and even more hands-on application opportunities. Hundreds of new self-checks let you test your code and understanding of key concepts. New case studies and exercises focus on security, data science, ethics and more.

Les mer
PART 1: C++ 20 Fundamentals Quickstart and Procedural Programming
  1. Intro: Test-Driving Popular, Free C++ Software
  2. Intro to C++ 20 Programming
  3. Control Statements: Part 1
  4. Control Statements: Part 2
  5. Functions and an Intro to Function Templates
PART 2: Containers, C++ 20 Ranges, Pointers, Strings and Files
  1. arrays, vectors, Ranges and Functional-Style Programming
  2. (Downplaying) Pointers in Modern C++
  3. strings, string_views, Text files, CSV Files and Regex
PART 3: Modern Object-Oriented Programming and Exceptions
  1. Custom Classes
  2. OOP: Inheritance and Runtime Polymorphism
  3. Operator Overloading, Copy/Move Semantics, Smart Pointers and RAII
  4. Exceptions and a Look Forward to Contracts
PART 4: Generic Programming: Templates, Concepts and Template Metaprogramming
  1. Standard Library Containers and Iterators
  2. Standard Library Algorithms and C++ 20 Ranges and Views
  3. Templates, C++ 20 Concepts and Metaprogramming
PART 5: Advanced Topics: Modules, Parallel Algorithms, Concurrency and Coroutines
  1. C++ 20 Modules: Large-Scale Development
  2. Parallel Algorithms and Concurrency: A High-Level View
  3. C++ 20 Coroutines
PART 6: Miscellaneous Topics
  1. Stream I/O and C++ 20 Text Formatting
  2. Other Topics and a Look Toward C++ 23 and C++ 26
  3. Computer Science Thinking: Searching, Sorting and Big O
Les mer
Hallmark features of this title Current real-world applications
  • Live-code approach teaches students how to program in the context of 255 complete, real-world C++ programs, rather than code snippets.
  • Hundreds of examples, exercises and projects allow students to solve interesting, real-world problems working with real data.
  • Case studies offer fun, hands-on opportunities to use modern C++.
Unique modular organization
  • The objects-natural approach begins with rich coverage of programming fundamentals, letting students work with easy-to-use pre-existing classes before they dive into object-oriented programming and custom class creation.
  • Content is divided into groups of related chapters covering basic to advanced concepts. A chapter dependency chart helps instructors easily plan their syllabi.
Les mer
New and updated features of this title
  • NEW: Modern C++ content presents the C++ 20 version, with a look toward key features coming in C++ 23 and anticipated for C++ 26. Emphasis is placed on modern C++ idioms, industry best practices, performance, security and software engineering to prepare students for industry. C++ 20's improved text formatting is used extensively from Chapter 4 forward.
  • NEW: Coverage of the “big four” C++ 20 features explores ranges, concepts, modules and coroutines in detail.
  • NEW/UPDATED: Content aligns to the latest ACM/IEEE computing curricula recommendations, which focus on security, data science, ethics, privacy, and performance concepts and using real-world data throughout the curriculum.
  • NEW: Over 452 self-check exercises with answers help students test and validate their conceptual knowledge and coding ability as they progress through the text.
  • NEW/UPDATED: Case studies focus on AI and data science, including simulations with random-number generation, Anscombe's Quartet, natural language processing and artificial intelligence via heuristic programming.
  • UPDATED: Examples, exercises, and projects are drawn from an assortment of modern computer science, data science and other fields to instruct and engage students.
Les mer

Produktdetaljer

ISBN
9781292459981
Publisert
2025-05-23
Utgave
11. utgave
Utgiver
Pearson Education Limited
Vekt
2465 gr
Aldersnivå
U, 05
Språk
Product language
Engelsk
Format
Product format
Heftet
Antall sider
1352

Biografisk notat

About our authors

Paul J. Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is an MIT graduate with 43 years in computing. He is one of the world's most experienced programming-languages trainers, having taught professional courses to software developers since 1992. He has delivered hundreds of programming courses to academic, industry, government and military clients of Deitel & Associates, Inc. internationally, including UCLA, SLB (formerly Schlumberger), Cisco, IBM, Siemens, Sun Microsystems (now Oracle), Dell, Fidelity, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, White Sands Missile Range, Rogue Wave Software, Boeing, Puma, iRobot and many more.

Dr. Harvey M. Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc., has 62 years of experience in computing. Dr. Deitel earned B.S. and M.S. degrees in Electrical Engineering from MIT and a Ph.D. in Mathematics from Boston University; he studied computing in each of these programs before they spun off Computer Science departments. He has extensive college and professional teaching experience, including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates in 1991 with his son, Paul. The Deitels' publications have earned international recognition, with more than 100 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 academic, corporate, government and military clients.