Skip to main content

Procedural C++ That Extends Pascal

  • Chapter
Migrating from Pascal to C++

Part of the book series: Undergraduate Texts in Computer Science ((UTCS))

  • 162 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Ellis, M. A. and Stroustrup, B. The Annotated C++ Reference Manual. Reading, MA: Addison-Wesley, 1990.

    Google Scholar 

  2. Kernighan, B. W. and Ritchie, D. M. The C Programming Language, 2nd ed. Englewood Cliffs, NJ: Prentice-Hall, 1988.

    Google Scholar 

  3. Lippman, S. B. C++ Primer, 2nd ed. Reading, MA: Addison-Wesley, 1991.

    Google Scholar 

  4. Plaugher, P. J. The Standard C Library. Englewood Cliffs, NJ: Prentice-Hall, 1992.

    Google Scholar 

  5. Plaugher, P. J. The Draft Standard C++ Library. Englewood Cliffs, NJ: Prentice-Hall, 1995.

    Google Scholar 

  6. Stroustrup, B. The C++ Programming Language, 2nd ed. Reading, MA: Addison-Wesley, 1991.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer Science+Business Media New York

About this chapter

Cite this chapter

Merritt, S.M., Stix, A. (1997). Procedural C++ That Extends Pascal. In: Migrating from Pascal to C++. Undergraduate Texts in Computer Science. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-1902-6_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-1902-6_3

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4612-7332-5

  • Online ISBN: 978-1-4612-1902-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics