Probably because you are switching on a variable of type character which can only hold one character. You will probably want to use the String datatype.
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Well, switch case allows you to use only integers, and character (which again are processed as integers internally) datatypes. 'H' is a character and "HE" is a string, so it wont work. You have to use if (strcmp(somevar, "HE") == 0) to check if the somvar contains "HE"