Originally posted by Zaei

...
p* stuff = new tri[10];
stuff[0].a.x = 0; // cant do this, a doesnt exist
[/code]
typecast it to tri! ((tri *) stuff[0]).a.x works. But when you are dealing with having a base class thats the same as the child class, then it really starts looking weird.