Extra Appendixes for C++: An Introduction to Computing 2e
by Joel Adams, Sanford Leestma, and Larry Nyhoff
Department of Computer
As a last-minute size- and cost-cutting measure, the publisher decided that four appendixes that were planned for inclusion in our text C++ An Introduction to Computing,
(2nd Ed., Prentice Hall, 1997)
Sanford Leestma, and
be placed on a webpage. This page provides access to these appendixes and
other resource materials.
Appendix 1: Other C++ Features
This appendix contains the following items:
Code for the class
RandomInt for generating random numbers as described in Chapter 4.
Code for Gaussian Elimination for solving systems of linear equations as described in Section 12.4.
Code described in the PART OF THE PICTURE: Computer Graphics section in Chapter 12.
Default Values for Parameters in Functions
Varying the Number of Arguments in Functions -- the Ellipsis Mechanism
Appendix 2: Codes of Ethics
The PART OF THE PICTURE: Ethics and Computing section in Chapter 1 noted
that professional societies have adopted and instituted codes of ethics for its members. This appendix presents summaries of these codes of conduct for computing professionals published by three major organizations:
describe the computer professional's obligations to:
- The Association for Com-puting Machinery (ACM)
- The Institute of Electronic and Electrical Engineers
- The Data Processing Management Association (DPMA)
- coprofessionals and professional societies
Appendix 3: Number Systems
We noted in several places in the text that a binary scheme having only the two binary digits 0
and 1 is used to represent information in a computer. In Chapter 2, the section PART OF THE PICTURE: Data Representationwe briefly described such binary representation. This appendix
describes binary, octal, and hexadecimal representation in more detail and also two's complement representation for integers.
Appendix 4: Data Files
This appendix contains descriptions and listings of sample data files referred to in some of the
exercises in the text:
We plan to add other resource materials here as they are developed.
For information about the Department of Computer Science
at Calvin College, contact