Question: We said earher that C + + V O statements don't automatically understand the data rypes of enumerations. Instead, the ) > > ( and

We said earher that C++VO statements don't automatically understand the data rypes of enumerations. Instead, the )>>( and () operators think of such variables simply as inte gers. You can overcome this limitation by using switch statements to translate between the escr's way of expressing an enumerated variable and the actual values of the enumerated variable. For example, imagine an enumerated type with values that indicate an erpiloyee type within an organization:
enum etype / laborer, secretary, manager, accountant, executive, researcher
 We said earher that C++VO statements don't automatically understand the data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!