1
I’m having trouble making an enumerator tube.
enum Notas {A=10, B=22, C=31, D=44, E=56};
There is this solution, but I need the values of the Enumerators and here it is returning the rest of the calculation.
enum Notas {A=10, B=22, C=31, D=44, E=56, ULTIMO};
int teste = static_cast<Notas>(rand() % ULTIMO);