hello
how o di add entity names in runtime

lets say:

i want this function:

function add_ent("obj1");

Entity* R= "obj1";

obj1.x=20; ...

how i can make that possible?
Giving a name and using the function to add that name to the entity.. so i can control it, by that name..
and not by giving a pre defined name.