Original Post
Hi!
I''m having one question (and I''ll just get to the point).
Let''s say I''m having a few (a lot) actions stored in functions like
void Action1()
void Action2()
void Action3()
void Action4()
void Action5()
void Action6()
...
And I would like to call those functions... All I can remember is:
int action;
cin >> action;
if(action==1)
Action1();
if(action==2)
Action2();
...
and at action 50... we have a lots of actions.
So, How can I solve this a little bit easyer (faster).