I looked. I really did. Anyway...
Is it possible in c++ to call a function the name of which is contained in a variable?
Psuedo code (which is a euphemism for I can't write code that works):
ThanksCode:double MYROUTINE(double x){ // do stuff } double MYBOSSESROUTINE(const char* z) { // value of z is "MYROUTINE" call z // <== obviously that doesn't work }
John



LinkBack URL
About LinkBacks




