Getting the number of elements in an enumerated type.

Henry Spencer henry at zoo.toronto.edu
Sat Oct 27 01:44:48 AEST 1990


In article <6837 at castle.ed.ac.uk> elee24 at castle.ed.ac.uk (H Bruce) writes:
>Can you automatically get the number of elements in an enumerated type ?

No.
-- 
The type syntax for C is essentially   | Henry Spencer at U of Toronto Zoology
unparsable.             --Rob Pike     |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list