dimanche 1 mars 2015

Help with enum in C [migrated]


I am trying to understand some C code in a legacy database. There are constructions there of the form:


enum {a=0,b,c,d};


What does this achieve ? In the manuals, I only see constructions of the form:


enum example{a=0,b,c,d} test1; and this I understand.


Thanks, Suresh





Aucun commentaire:

Enregistrer un commentaire