[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: object oriented dilemma

Hi David,

> I presume you mean you are taking a line of your image
> like this:
> line = (*self.imagePointer)[5,*]

That is what I was looking for. I had searched the manual all over, just
could not find an example on how to dereference an element of a pointer that
is pointing to an array. Basically I messed up the syntax. In hindsight,
(*pointer)[i,j] makes a lot of sense.

Thanks very much! Now I can chuck along in my OOP adventure.

PS. Thanks for your recommendation on Arthur Riel's book.