Original Post
Heh, I posted a message on the newbee forum about linked lists... but that post got totally messed up by me, so I'll give it another shot here.
So after a couple of hours thinking about my problem my conclution is that what I need to do is something like this:
Object
{
int nTestVariable;
}
char* sVariableName = "nTestVariable"
object.sVariableName = 10;
If i print object.nTestVariable, I want to get 10 as the result
That is the effect I would want to achieve.
The important this is that I need to be able to do the
//object.(still not choosen variable)
object.sVariableName = 10;
//object2.(still not choosen variable)
object2.sVariableName = 20;
thing.
Would be greatful for any help !
[edited by - bilsa on September 3, 2003 3:32:59 PM]