Hi,
Does anyone of you knows how to make a string to be interperted as a variable name in C? For example, is there a function so that the following lines print out "test"?
It would simplify a lot of things to me...
Cheers
Does anyone of you knows how to make a string to be interperted as a variable name in C? For example, is there a function so that the following lines print out "test"?
Code:
char variable[10]; strcpy(function("variable"), "test"); printf("%s\n",variable );
Cheers
Comment