There is no automatic way to get the name of the enums. You will have to write the code to convert the enum/int to a string yourself. MiiNiPaa has shown you two different ways of doing it (ignore the third one). If you don't know maps you can probably at least grasp the array method. If you want you can use std::string instead of const char*.