C preprocessor at run time?
- by drigoSkalWalker
Hi guys, I want to do a Token concatenation, but I want to do this with the content of a variable, not its name. like this.
#define call_function(fun, member) fun##_##number ()
while (i < 10 ) {
call_function(fun, i);
}
but I give fun_number (), I want to give fun_1, fun_2, and so on...
how to do it?
Thanks in advance!!!