Procedural C++ That Extends Pascal

  • Susan M. Merritt
  • Allen Stix
Part of the Undergraduate Texts in Computer Science book series (UTCS)


Equipped with the C++ subset that covers Pascal, one can write any program in C++ that could have been written in Pascal. Reading code that others have written, however, leads to a discovery of additional operators, the use of dynamic allocation to enable the definition of nonlocal variables (i.e., nonlinked storage with a lifetime exceeding that of the function), and new capabilities of functions beyond those in Pascal. These are the topics discussed in Sections 3.1, 3.2, and 3.3, respectively. The purpose of this chapter is not to provide an exhaustive survey of the entire nonobject part of C++ (which includes C). The aim is to highlight those useful language structures that are characteristic of C++ that lack direct analogues in Pascal.


Data Type Memory Location Pointer Variable Formal Argument Assignment Operator 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Ellis, M. A. and Stroustrup, B. The Annotated C++ Reference Manual. Reading, MA: Addison-Wesley, 1990.Google Scholar
  2. 2.
    Kernighan, B. W. and Ritchie, D. M. The C Programming Language, 2nd ed. Englewood Cliffs, NJ: Prentice-Hall, 1988.Google Scholar
  3. 3.
    Lippman, S. B. C++ Primer, 2nd ed. Reading, MA: Addison-Wesley, 1991.Google Scholar
  4. 4.
    Plaugher, P. J. The Standard C Library. Englewood Cliffs, NJ: Prentice-Hall, 1992.Google Scholar
  5. 5.
    Plaugher, P. J. The Draft Standard C++ Library. Englewood Cliffs, NJ: Prentice-Hall, 1995.Google Scholar
  6. 6.
    Stroustrup, B. The C++ Programming Language, 2nd ed. Reading, MA: Addison-Wesley, 1991.Google Scholar

Copyright information

© Springer Science+Business Media New York 1997

Authors and Affiliations

  • Susan M. Merritt
    • 1
  • Allen Stix
    • 1
  1. 1.Department of Computer SciencePace UniversityWhite PlainsUSA

Personalised recommendations