While talking about useful additions, how about this one??
Doug Gwyn
gwyn at brl-smoke.ARPA
Thu Feb 11 10:58:49 AEST 1988
In article <2528 at haddock.ISC.COM> karl at haddock.ima.isc.com (Karl Heuer) writes:
>How about writing "struct generic *", where "struct generic" is never defined?
>This is already syntactically and semantically legal.
Is that really true? I think technically you're supposed to have to
have pre-declared the incomplete type:
struct generic;
and that if the type is not later completed it's supposed to be an error.
More information about the Comp.lang.c
mailing list