I have the following piece of code,
Now my problem is i want to convert char value into this vertex data type.How can i do that?Code:typedef enum{ ArtsTheatre, NewArtsBlock, OpenAirTheatre}vertex;
suppose that user will input ArtsTheatre as char string.But in my program i want to covert into vertex data type.Any help would be appreciated.
Thank you very much.