Representing the kind of token
Enumerated types are a convenient way of using names instead of magic numbers
enum Toktype {
WORD, BREAK, END
};
Previous slide
Next slide
Back to first slide
View graphic version