SIOX
Michael Thaler
michael.thaler at physik.tu-muenchen.de
Sun Feb 5 14:38:57 CET 2006
On Sunday 05 February 2006 14:02, Michael Thaler wrote:
> guchar **max; /* caches the largest values for each column */
> max = g_new (guchar *, region->w + 2 * xradius);
>
> I tried the following code:
>
> Q_UINT8 **max; // caches the largest values for each column
> max = new Q_UINT8[selectedExactRect.width() + 2 * xradius];
>
> But this oviously does the wrong thing. How do I have to do this in C++
OK, that seems to do the trick:
max = new Q_UINT8* [selectedExactRect.width() + 2 * xradius];
I wonder if this is actually correct:-)
Greetings,
Michael
More information about the kimageshop
mailing list