If I have multiple functions that have a similar name (ie fct1, fct2, fct3...), and I'm calling them from a menu that takes the function number in parameter, is there a way to call them without making a switch with every function?
I'm thinking of something similar to this: fct[c](); //c is entered by the user
, which of course doesn't work.