Skip to main content
Top

1997 | OriginalPaper | Chapter

Procedural C++ That Extends Pascal

Authors : Susan M. Merritt, Allen Stix

Published in: Migrating from Pascal to C++

Publisher: Springer New York

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

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.

Metadata
Title
Procedural C++ That Extends Pascal
Authors
Susan M. Merritt
Allen Stix
Copyright Year
1997
Publisher
Springer New York
DOI
https://doi.org/10.1007/978-1-4612-1902-6_3

Premium Partner