Here\'s what I am trying to do:
typedef enum { ONE, TWO, THREE } Numbers;
I am trying to write a function that would do a switch case sim
Try Converting C++ enums to strings. The comments have improvements that solve the problem when enum items have arbitrary values.