typedef's & cc

Joe Mueller joemu at tekecs.UUCP
Fri Nov 16 13:04:44 AEST 1984


> Typedefs are not scoped.  They define synonyms for (possibly complicated)
> data types.  After "typedef int foo;", "foo" is just like "int".

Sorry Doug,
typedefs are scoped but most pcc compilers botch the handling of them.
See K&R pp206 on scoping. 



More information about the Comp.lang.c mailing list