Quote Originally Posted by VladimirF View Post
hmm… What kind of problems?

If I had to guess, I’d say that you have ONE Field object (ball), but you index it as if it was an array of 3 objects. Did it crush?

this part gives me an error ? it doesn't work like pointer array does it? if i want to change from x, then to y, and then z??

Code:
	for(int i = 0; i<3; i++)
	{
		*(pBall+i) = randgen(&ball)
	}