Thanks 4 the answers, but, I need to work on a non-homogeneous data structure, initially loaded from a file (that would be char * type), that will contain both data ( unsigned char, int, float, etc,) and references to other field-like zones (that's where variable variables should kick in).
Since I'm not allowed to flush a pointer address from a char* pointer to an int* pointer, the pointer alternative itself is not viable.
The algorithm to expand and use the data is very short. The transformation due to type limitation, and lack of variable variables takes 10 times more script lines, and space, and machine time.
Did I mentioned that is also a huge headache to debug ?!
Since I'm trying to apply one function to different variables with different content every time, (and that content itself could be a name of a variable, of a different type), the only short and logical solution would be variable variables....
You lost me completely.
In any case, C/++ isn't reflective. You don't have access to the compile time symbols at run time. If you need to do anything like that, you'll basically need to write your own language with a symbol table and all that.