Size (length*width*height): 32cm x 23cm x 6cm
What's in the box:
C++ How to Program (Early Objects Version), Global Edition textbook x1
The best-selling C++ How to Program is accessible to readers with little or no programming experience, yet comprehensive enough for the professional programmer. The Deitels’ signature live-code approach presents the concepts in the context of full working programs followed by sample executions. The early objects approach gets readers thinking about objects immediately–allowing them to more thoroughly master the concepts. Emphasis is placed on achieving program clarity and building well-engineered software. Interesting, entertaining, and challenging exercises encourage students to make a difference and use computers and the Internet to work on problems. 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.
This title is a Pearson Global Edition. The Editorial team at Pearson has worked closely with educators around the world to include content which is especially relevant to students outside the United States.
Focus on object-oriented programming
- Early-objects approach. 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 customized classes and objects in Chapter 3. Presenting objects and classes early gets readers thinking about objects immediately so they can master these concepts more thoroughly.
- C++ Standard Library String. C++ offers two types of strings–string class objects (which are used beginning in Chapter 3) and C strings. 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 strings are discussed later in the book to prepare readers for working with the legacy code that they will encounter in industry.
- C++ Standard Library array. 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. The primary treatment of arrays uses the Standard Library’s array and vector class templates instead of built-in, C-style, pointerbased arrays. Built-in arrays are also covered because they remain useful in C++ and and will enable students to read legacy code.
- Crafting valuable classes. 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 customized class with overloaded operators. 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.
- Case studies in object-oriented programming. 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.
- Optional case study: Using the UML to develop an object-oriented design and C++ implementation of an ATM. UML™ (Unified Modeling Language™) is introduced in the early chapters. Online Chapters 25 and 26 include an optional object-oriented design case study using the UML. To help them “tie it all together” and truly understand object orientation, students will learn to:
- design and fully implement the software for a simple automated teller machine (ATM);
- analyze a typical requirements document that specifies the system to be built;
- 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;
- produce a complete C++ implementation from the design.
- Understanding how polymorphism works. Chapter 12 contains a detailed diagram and explanation of how C++ typically implements polymorphism, virtual functions and dynamic binding “under the hood.”
- Object-oriented exception handling. Basic exception handling is integrated early in the book in Chapter 7. Instructors can easily pull more detailed material from Chapter 17, Exception Handling: A Deeper Look.
- Custom template-based data structures. A rich multi-chapter treatment of data structures is provided–see the Data Structures module in the chapter dependency chart to plan your instruction.
- Three programming paradigms. Structured programming, object-oriented programming, and generic programming are all discussed to give readers a thorough understanding of programming models.
Enhance learning with outstanding pedagogical features
- Rich, early coverage of C++ fundamentals. Chapter 2 provides a friendly introduction to C++ programming. Chapters 4 and 5 clearly discuss control statements and algorithms.
- Live-code approach. The book is loaded with hundreds of “live-code” examples–most new concepts are presented in complete working C++ applications, followed by one or more executions showing program inputs and outputs.
- Syntax coloring. For readability, all the C++ code is syntax colored, similar to the way most C++ integrated-development environments and code editors syntax color code.
- Code highlighting. Light-blue shaded rectangles highlight key code segments.
- Using fonts for emphasis. The defining occurrence of each key term appears in bold blue text for easy reference.
- Examples. A broad range of example programs from computer science, business, simulation, game playing and other topics keep readers engaged with the material.
- Interesting, entertaining, and challenging exercises. Each chapter concludes with a substantial set of exercises, including simple recall of important terminology and concepts, identifying the errors in code samples, writing individual program statements, writing small portions of C++ classes and member and non-member functions, writing complete programs and implementing major projects. Exercises include Making a Difference exercises, which encourage readers to use computers and the Internet to research and solve significant social problems.
- Clearly-stated objectives. The opening quotes are followed by a list of chapter objectives to focus students’ learning.
- Programming Tips. Programming tips help readers focus on key aspects of program development. These tips and practices represent the best the authors have gleaned from a combined seven decades of teaching and industry experience.
- Summary Bullets. For easy reference, a section-by-section, bullet-list summary of the chapter includes the page number of each term’s defining occurrence.
- Index. An extensive index includes defining occurrences of key terms highlighted with a bold blue page number.
- Self-Review Exercises and Answers. Extensive self-review exercises and answers are included for self-study.
- Illustration and figures. Abundant tables, line drawings, UML diagrams, programs, and program outputs are included to bring the content to life.
- Companion Website. The book’s password-protected Companion Website is accessible at www.pearsonhighered.com/deitel.
- Online chapters. Four online chapters expand on the core content in the printed book.
- Debugger appendices. Debugger appendices include Appendix H, Using the Visual Studio Debugger, Appendix I, Using the GNU C++ Debugger and Appendix J, Using the Xcode Debugger.
- VideoNotes. In each of these videos, co-author Paul Deitel discusses key code examples in further detail.
Table of Contents
Before You Begin xxxix
1 Introduction to Computers and C++ 1
2 Introduction to C++ Programming, Input/Output and Operators
3 Introduction to Classes, Objects, Member Functions and Strings
4 Algorithm Development and Control Statements: Part 1
5 Control Statements: Part 2; Logical Operators
6 Functions and an Introduction to Recursion
7 Class Templates array and vector; Catching Exceptions
9 Classes: A Deeper Look
10 Operator Overloading; Class string
11 Object-Oriented Programming: Inheritance
12 Object-Oriented Programming: Polymorphism
13 Stream Input/Output: A Deeper Look
14 File Processing
15 Standard Library Containers and Iterators
16 Standard Library Algorithms
17 Exception Handling: A Deeper Look
18 Introduction to Custom Templates
19 Custom Templatized Data Structures
20 Searching and Sorting
21 Class string and String Stream Processing: A Deeper Look
22 Bits, Characters, C Strings and structs
Chapters on the Web
A Operator Precedence and Associativity
B ASCII Character Set
C Fundamental Types
D Number Systems
Appendices on the Web
Chapters 23–26 and Appendices F–J are PDF documents posted online at the book’s password-protected Companion Website, which is accessible from http://www.pearsonhighered.com/deitel.
23 Other Topics
24 C++11 and C++14: Additional Features
25 ATM Case Study, Part 1: Object-Oriented Design with the UM
26 ATM Case Study, Part 2: Implementing an Object-Oriented Design
F C Legacy Code Topics
G UML: Additional Diagram Types
H Using the Visual Studio Debugger
I Using the GNU C++ Debugger
J Using the Xcode Debugger
|Zone||Order Total (RM)||Delivery Fee (RM)|
|West Malaysia||Flat Rate||FREE|
|East Malaysia||Flat Rate||FREE|