using enum...

i need help with enumerations. i want to get information into my class using an enum type variable for the job. the user types in a job to be stored;

what is the proper way to use the enum variable and store the coorsponding info?

thanks for the help...
1
2
enum my_enum_type { enum_member1, enum_member2, /*...*/ };
my_enum_type  my_enum = enum_member1;
ok...doesnt line 2 give my enum variable a value? the value should come from the user
got it myself... thanks anyways!!!
Topic archived. No new replies allowed.