I have enum like this: enum E{ a, b};
E enum1;
I want to assign a to long value like this: long p =a; how can I do this? It is giving error saying cant convert enum type to long.
Aucun commentaire:
Enregistrer un commentaire