david wrote:
> So, what I should do to make this work?
> I want to send pointer, allocate something (matrix) there, change
> value and after that in main code I still want to have the data. In
> other languages I would send pointer, pointer to pointer or reference.
Either return the new matrix as the return value of the method, or create
a
holder class that contains the variable you want to assign, or create the
new
object outside the method instead of inside.
--
Lew


|