Original Post
i have a problem with a pointer to myclass within myclass.
you can see it in dosomething:
class myclass // this is some class
{
myclass *somepointer // this is a pointer to another instance of the same class
}
void dosomething(myclass thisclass)
{
myclass temp
**thisclass.myclass.myclass = temp // the value of temp should be put in the myclass within thisclass
}
as u see i put something in the memory that a pointer points within a memory that a pointer points to. when i use double **''s i get error C2228: left of ''.nextparticle'' must have class/struct/union type
wow should i fix this?
