Not sure if I understand that right. You want the variable name itself to change? Sorry, you can't do that and I doubt it's what you need. If you tell us what you want to achieve by this we can maybe help you to do that in another way. My guess would be that you want an array.
like:
Are you basically trying to increment the number each time? I think nobody is quite sure what you mean, because you don't clearly state what you want it to do.
If language is a barrier, just post the same in your native language, and see if anybody can translate.
core::array<ISceneNode*> Nodes;
// you can fill the array with this
Nodes.push_back(MyNode);
// where MyNode is a ISceneNode*
// Now you can access the nodes with
Nodes[i]
// so if you for example want to get the id of one of the nodes you would do this
Nodes[0]->getId();
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
a ha, this guy must be the flash action script guy. ?...
what u want is imposible. i guess this is the different between a compiler and an interpreter, interpreter can acces source codes (may be?) and read some string operation as a variable name. flash player is an interpreter, and c++ is compiler. u triying something that i have try man.
by the way u've got u're answers on the previous reply.