Question 2.4

What's the best way of implementing opaque (abstract) data types in C?


One good way is for clients to use structure pointers (perhaps additionally hidden behind typedefs) which point to structure types which are not publicly defined.


Read sequentially: prev next up top


This page by Steve Summit // Copyright 1995 // mail feedback