UPDATED: Replacing the Gradebook class with Account, Student and DollarAmount class case studies in Chapters 3, 4 and 5, respectively.UPDATED: Always using braces in control statements, even for single-statement bodies.UPDATED: Uniforming initialization with list initializer syntax.UPDATED: Integrating C++11 capabilities further into the code examples, because the latest compilers are now supporting these features.Discussions of the new C++14 capabilities.Keep your course current on the C++11 and C++14 standards. Structured programming, object-oriented programming, and A rich multi-chapter treatment of data structures is provided–see the Data Structures module in the chapter dependency chart to plan your instruction. Custom template-based data structures.Instructors can easily pull more detailed material from Chapter 17, Exception Handling: A Deeper Look. Basic exception handling is integrated early in the book in Chapter 7. Chapter 12 contains a detailed diagram and explanation of how C++ typically implements polymorphism, virtual functions and dynamic binding “under the hood.” produce a complete C++ implementation from the design.determine the classes needed to implement that system, the attributes the classes need to have, the behaviors the classes need to exhibit and how objects of the classes must interact with one another to meet the system requirements.analyse a typical requirements document that specifies the system to be built.design and fully implement the software for a simple automated teller machine (ATM).To help them “tie it all together” and truly understand object orientation, students will learn to: Online Chapters 25 and 26 include an optional object-oriented design case study using the UML. UMLTM (Unified Modeling LanguageTM) is introduced in the early chapters. Optional case study: Using the UML to develop an object-oriented design and C++ implementation of an ATM.Several well-engineered, real-world case studies are presented, including the Account class in Chapter 3, Student class in Chapter 4, DollarAmount class in Chapter 5, GradeBook class in Chapter 7, the Time class in Chapter 9, the Employee class in Chapters 11-12, and more. Case studies in object-oriented programming.In the Chapter 10 case study, students will build their own custom Array class, then in the Chapter 18 exercises they will convert it to a class template. To prepare readers to build valuable reusable classes, Chapter 10 begins with a test-drive of class template string–allowing students to see an elegant use of operator overloading before they implement their own customised class with overloaded operators. Built-in arrays are also covered because they remain useful in C++ and and will enable students to read legacy code. The primary treatment of arrays uses the Standard Library’s array and vector class templates instead of built-in, C-style, pointerbased arrays. C++ offers three types of arrays–arrays and vectors (which are used beginning in Chapter 7) and C-style, pointer-based arrays which are discussed in Chapter 8. C strings are discussed later in the book to prepare readers for working with the legacy code that they will encounter in industry. Most occurrences of C strings are replaced with instances of C++ class string to make programs more robust and eliminate many of the security problems of C strings. C++ offers two types of strings–string class objects (which are used beginning in Chapter 3) and C strings. Presenting objects and classes early gets readers thinking about objects immediately so they can master these concepts more thoroughly. Accessible to even the most novice programmer, the book introduces the basic concepts and terminology of object technology in Chapter 1 and then asks readers to develop their first customised classes and objects in Chapter 3. To keep readers up-to-date with leading-edge computing technologies, the Tenth Edition conforms to the C++11 standard and the new C++14 standard. Interesting, entertaining, and challenging exercises encourage students to make a difference and use computers and the Internet to work on problems. Emphasis is placed on achieving program clarity and building well-engineered software. The early objects approach gets readers thinking about objects immediately–allowing them to more thoroughly master the concepts. The Deitels’ signature live-code approach presents the concepts in the context of full working programs followed by sample executions. The best-selling C++ How to Program is accessible to readers with little or no programming experience, yet comprehensive enough for the professional programmer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |