Class in Switch

Is this possible? If so how? Thanks I appreciate the help. I am trying to jump out of a Switch to a class in the mortEnt.h file.

switch(menu)
{
case 'A':
goto mortEnt::input;
break;

case 'B':
goto mortSel::input;
break;

}
Last edited on
No.
You must mean this:
1
2
case 'A':
   mortEnt::input();
Thank you! I feel very stupid now! I have been working this all weekend I am starting to forget what I have learned. Thanks again!
Topic archived. No new replies allowed.