Modular programming in C: an approach and an example

  • Authors:
  • Kalyan Dutta

  • Affiliations:
  • Lockheed Palo Alto Research Laboratory

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1985

Quantified Score

Hi-index 0.00

Visualization

Abstract

Unlike ADA or Modula-2, the programming language C is not inherently modular. But by exploiting certain features of the language it is possible to build modular design into C programs. This has advantages in large programming projects where source code will be written by many programmers, or in applications calling for a collection of syntactically identical interconnected modules.The approach suggested here is not as ambitious as in Stroustrup [1982], requiring a change to the C compiler; rather, standard C (Kernighan & Ritchie [1978]) is used. This is more in keeping with the work of Boyd [1983, 1984].