Forum

ArrayCopy array of pointers

Hello, I want to use ArrayCopy() on an array of pointers but it looks like i'm not allowed. It generates an error saying that array cannot contain objects. Is it not possible to use ArrayCopy() with arrays containing object pointers? MyObject* arrTarget[]; void Copy(MyObject* &arrSource[]) {

problem loop over 2 dimensional array

Hello, I'm trying to loop over a 2 dimentional array but I get "invalid array access" when trying to access the second array? Am I doing it wrong? This is my code. The highlighted code gives the error. Any idea? Thanks! void ComputePPRZ(CProjection* &clusters[][], CProjection* &prz[]) {