For Introduction to Programming (CS1) and other more intermediate courses covering programming in C++. Also appropriate as a supplement for upper-level courses where the instructor uses a book as a reference for the C++ language.
This best-selling comprehensive text is aimed at readers with little or no programming experience. It teaches programming by presenting the concepts in the context of full working programs and takes an early-objects approach. The authors emphasize achieving program clarity through structured and object-oriented programming, software reuse and component-oriented software construction. The Seventh Edition encourages students to connect computers to the community, using the Internet to solve problems and make a difference in our world. All content has been carefully fine-tuned in response to a team of distinguished academic and industry reviewers.
New To This Edition
# New "Making a Difference" exercise sets encourage students to associate computers and the Internet with solving problems that really matter to individuals, communities, countries and the world.
-These new exercises encourage students to think for themselves as they explore complex social issues and increase awareness of important issues the world is facing.
-Many of the new exercises require students to conduct research on the web and weave the results into their problem-solving process.
# New interior design graphically organizes, clarifies, and highlights the information and enhances the book's pedagogy.
# Programming idiom has been brought up to the most current standards.
# The optional object-oriented design/UML 2 automated teller machine (ATM) case study has been refined and reorganized into two optional chapters that present the ATM's design and complete code implementation.
# Modular organization includes reorganization of the chapters to facilitate teaching the book in modules.
# New early emphasis on classes vector and string.
# New emphasis on testing and debugging.
# The updated Companion Website includes 10+ hours of Camtasia-based VideoNotes presented by Paul Deitel, the author of Pearson's wildly successful Java and C# LiveLessons products.
# Redesigned PowerPoint slides allow Windows users to execute the programs from the slides and open the source code in Visual C++ 2008 by clicking buttons.
Features and Benefits
Full-color program listings include highlighting of the new features presented and syntax coloring of code to help readers better interpret the code.
Signature "Live Code Approach" - Language features are presented in the context of complete working programs.
- Features thousands of lines of code in hundreds of complete working programs.
- Enables students to confirm that programs run as expected.
- Students can also manipulate the code from the book's Companion Web site or from the author's Web site.
Outstanding, consistent and applied pedagogy provides hundreds of valuable programming tips and facilitates learning.
- Icons throughout the text identify hundreds of Software Engineering Observations; Good Programming Practices; Common Programming Errors; Portability Tips; Performance Tips, Testing and Debugging Tips, and Look-and-Feel Observations.
Early classes and early objects approach.
Optional automated teller machine (ATM) case study teaches the fundamentals of software engineering and object-oriented design with the UMLTM 2.0
Integrated case studies throughout the book including the Time class (Chapter 9); the Employee class (Chapter 12 and 13) and the GradeBook class (Chapters 3-7)
Uses string and vector classes to make earlier examples more object-oriented
CD-ROM in every text includes Microsoft Visual Studio Express Edition
An access code to the Companion Website is available free when packaged with a new text. The Companion Website includes VideoNotes of all the code examples in Chapters 2-13 and select examples in 16-17, solutions to about half of the exercises in the book, additional true/false assessment questions (with answers) and a lab manual. solutions to many of the book's exercises, bonus chapters,
Table of Contents
MODULAR Table of Contents
1. Introduction to Computers, the Internet and World Wide Web
Introduction to Programming and Introduction to Classes and Objects
2. Introduction to C++ Programming
3. Introduction to Classes and Objects
Control Statements, Functions, Arrays, Vectors and Pointers
4. Control Statements: Part 1
5. Control Statements: Part 2
6. Functions and an Introduction to Recursion
7. Arrays and Vectors
8. Pointers and Pointer-Based Strings
9. Classes: A Deeper Look, Part 1
10. Classes: A Deeper Look, Part 2
11. Object-Oriented Programming: Inheritance
12. Object-Oriented Programming: Polymorphism
(Optional) Object-Oriented Design with the UML
13. (Optional) ATM Case Study, Part 1: Object-Oriented Design with the UML
14. (Optional) ATM Case Study, Part 2: Implementing an Object-Oriented Design
Templates, Exceptions and Operator Overloading
15. Exception Handling
17. Operator Overloading; String and Array Objects
Strings, Streams and Files
18. String Processing with Class string (can be taught anytime after chapter 7)
19. Stream Input/Output
20. File and String Stream Processing
21. Searching and Sorting
22. Data Structures
23. Standard Template Library (STL)
24. Bits, Characters, C-Strings and structs
25. Game Programming with Ogre
26. Boost Libraries, Technical Report 1 and C++0x
27. Other Topics
A. Operator Precedence and Associativity Chart
B. ASCII Character Set
C. Fundamental Types
D. Number Systems
E. C Legacy Code Topics
G. UML 2: Additional Diagram Types
H. Using the Visual StudioŽ 2008 Debugger
I. Using the GNU C++ Debugger
About the Authors
Paul J. Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is a graduate of MIT's Sloan School of Management, where he studied Information Technology. He holds the Java Certified Programmer and Java Certified Developer certifications, and has been designated by Sun Microsystems as a Java Champion. Through Deitel & Associates, Inc., he has delivered Java, C, C++, C# and Visual Basic courses to industry clients, including IBM, Sun Microsystems, Dell, Lucent Technologies, Fidelity, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, White Sands Missile Range, Rogue Wave Software, Boeing, Stratus, Cambridge Technology Partners, Open Environment Corporation, One Wave, Hyperion Software, Adra Systems, Entergy, CableData Systems, Nortel Networks, Puma, iRobot, Invensys and many more. He has also lectured on Java and C++ for the Boston Chapter of the Association for Computing Machinery. He and his father, Dr. Harvey M. Deitel, are the world's best-selling programming language textbook authors.
Dr. Harvey M. Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc., has 45 years of academic and industry experience in the computer field. Dr. Deitel earned B.S. and M.S. degrees from the MIT and a Ph.D. from Boston University. He has 20 years of college teaching experience, including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc., with his son, Paul J. Deitel. He and Paul are the co-authors of several dozen books and multimedia packages and they are writing many more. With translations published in Japanese, German, Russian, Spanish, Traditional Chinese, Simplified Chinese, Korean, French, Polish, Italian, Portuguese, Greek, Urdu and Turkish, the Deitels' texts have earned international recognition. Dr. Deitel has delivered hundreds of professional seminars to major corporations, academic institutions, government organizations and the military.