Abstract Data Types in C
Doug Gwyn
gwyn at smoke.ARPA
Mon Oct 17 15:19:00 AEST 1988
In article <116 at capshaw.UUCP> sdc at capshaw.UUCP (Dan Capshaw) writes:
>Is anyone out there using ADTs in C?
Certainly, although we call them "abstract data types". ADT is a
trademark of a security firm (American District Telegraph).
You can implement abstract data types in almost any programming
language. Ada has facilities for forcing you to use them, and
C++ has special support for them.
The usual access to an abstract data type in a C application is
via a header file that defines the data type(s) and declares the
functions used to implement it. The functions are implemented in
a separate source file with everything except the header-documented
access hooks made file-static.
More information about the Comp.lang.c
mailing list