C typedef deficiency

pgf at hou5f.UUCP pgf at hou5f.UUCP
Fri Jun 24 03:10:10 AEST 1983


Could someone please expand on the usefulness of the "enum" type in C?
I know how they are used in Pascal, but even there they aren't printable
(i.e. easily converted to strings).  Is the enum type really more useful
than using #define?  Can I loop on them?  Compare them?  I know I can't 
print them.
					Paul Fox
					ABI Holmdel, ihnp4!hou5f!pgf



More information about the Comp.lang.c mailing list