-
"group"
I have a class called member. which has some get&set functions for email and name etc.
but i also want to make some kind of "GROUP" data member, in this case the member either is a normal member, a VIP or an ADMIN. if u get my point... but how do i achieve this? i wouldnt want to go with just strings i was thinking of using some kind of struct? or... i cant realy find a good idea.
I am also going to save the class in binary, so i think a struct would work:)
-
-
how do i use this type enum?
-
Code:
enum Group {Normal, Admin, VIP};
Maybe?
-
might u know a full tutorial on ENUM? so i know everything:)
-