while compiling i get the following error message: "invalid array assignment" but i can't see why because the return value of the function is from the same type as the variable...
if CreateLambdaSet function returns a LambdaSetAT and startLambdaSet is of type LambdaSetAt -
then this line is : startLambdaSet = *CreateLambdaSet(randomSet.empty);
doesn't seem to make sense.
Shouldn't it be just;
startLambdaSet = CreateLambdaSet(randomSet.empty); //remove the * dereference opertor
Hmm...yeah...sorry...i am such an idiot...well, thanks ^^
Sometimes you just don't see the little things :S
Edit:
How ever, we still don't get it...now the error message
is incompatible typed in assignment of 'cycmea::real32 (*) [12]' to 'cycmea::real32 [12]'
According to my friend (i hate the qt compiler output) that means that the returned array has pointer as his content....now i really don't know anymore what's going on (yeah, i am a .NET dev and i don't work with C++ usually ;))
Edit2:
We now have a pointer in the parameters of CreateLambdaSet...problem solved...