C++ How to Program: Third Edition
Instructor’s Manual Contents
Preface iii
Chapter 1 Introduction to Computers and C++ Programming: Solutions 1
Chapter 2 Control Structures: Solutions 15
Chapter 3 Functions: Solutions 66
Chapter 4 Arrays Solutions: 120
Chapter 5 Pointers and Strings: Solut...
Thank you for considering and/or adopting our text C++ How to Program: Third Edition. If you have not read
the preface to C++ How to Program: Third Edition, please do so. The preface contains a careful walkthrough of
the book’s key features, including our new Unified Modeling Language™ (UML™) case study, which carefully
introduces the reader to the UML and object-oriented design (OOD). Students are presented with a detailed prob-
lem statement and guided through a simplified, UML-based object-oriented design process. The complete 1000-
line C++ program solution for the case study is presented in the book and provided on the CD-ROM in the back
of the textbook.
We have worked hard to produce a textbook and ancillaries that we hope you and your students will find valu-
able. The following ancillary resources are available:
• C++ How to Program: Third Edition’s 250 program examples are included on the CD-ROM in the back
of the textbook. This helps instructors prepare lectures faster and helps students master C++. The examples
are also available for download at www.deitel.com. When extracting the source code from the ZIP file,
you must use a ZIP-file reader such as WinZip (www.winzip.com) or PKZIP (www.pkware.com)
that understands directories. The file should be extracted into a separate directory (e.g.,
cpphtp3e_examples).
• Microsoft Visual C++ 6 Introductory Edition software is provided on the textbook’s CD-ROM. This soft-
ware allows students to edit, compile and debug C++ programs. We have provided at no charge a short Vi-
sual C++ 6 tutorial (in Adobe PDF format) on our Web site (www.deitel.com).
• This C++ How to Program: Third Edition Instructor’s Manual on CD contains answers to most of the ex-
ercises in the textbook. The programs are separated into directories by chapter and exercise number.
• The optional C++ Multimedia Cyber Classroom: Third Edition is an interactive multimedia CD version of
the book for Windows. Its features include audio walkthroughs of programs, section review questions (which
are available only on the C++ Multimedia Cyber Classroom: Third Edition), a text-search engine, the ability
to execute example programs, and more. The Cyber Classroom helps students get more out of their courses.
The Cyber Classroom is also useful for students who miss a lecture and have to catch up quickly. The Cyber
Classroom is available as a stand-alone product (see the last few pages of the textbook for the ISBN number)
or bundled with the textbook (at a discount) in a product called The Complete C++ Training Course: Third
Edition (ISBN# 0-13-089563-6).
• Companion Web site (www.prenhall.com/deitel) provides instructor and student resources. In-
structor resources include textbook appendices (e.g., Appendix D, "C++ Internet and Web Resources") and
a syllabus manager for lesson planning. Student resources include chapter objectives, true/false questions,
chapter highlights, reference materials and a message board.
• Customizable Powerpoint Instructor Lecture Notes, with many complete features including source code,
and key discussion points for each program and major illustration. These lecture notes are available for in-
structors and students at no charge at our Web site www.deitel.com.
• Lab Manual (available Spring 2001)—a for-sale item containing closed-lab sessions.
We would sincerely appreciate your questions, comments, criticisms and corrections addressed to us at:
deitel@deitel.com
We will respond immediately. Please read the latest copy of the Deitel Buzz (published every April and
November) for information on forthcoming Deitel publications, ancillaries, product options and ordering infor-
mation. To receive the Deitel Buzz, please contact Jennie Burger ( jennie_burger@prenhall.com).
Watch our Deitel & Associates, Inc. Web site (www.deitel.com ) and our Prentice Hall Web site
(www.prenhall.com/deitel ) for the latest publication updates.
We would like to thank the extraordinary team of publishing professionals at Prentice Hall who made C++
How to Program: Third Edition and its ancillaries possible. Our Computer Science editor, Petra Recter, worked
closely with us to ensure the timely availability and professional quality of these ancillaries.
We would also like to thank two of our student interns—Aftab Bukhari (a Computer Science major at Boston
University) and Jason Rosenfeld (a Computer Science major at Northwestern University) for their assistance in
preparing this Instructor’s Manual.
Harvey M. Deitel
Paul J. Deitel
Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.
L’achat facile et rapide
Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.
Focus sur l’essentiel
Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.
Foire aux questions
Qu'est-ce que j'obtiens en achetant ce document ?
Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.
Garantie de remboursement : comment ça marche ?
Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.
Auprès de qui est-ce que j'achète ce résumé ?
Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur THEEXCELLENCELIBRARY. Stuvia facilite les paiements au vendeur.
Est-ce que j'aurai un abonnement?
Non, vous n'achetez ce résumé que pour €32,20. Vous n'êtes lié à rien après votre achat.