SIOX

Michael Thaler michael.thaler at physik.tu-muenchen.de
Sun Feb 5 14:02:55 CET 2006


Hi,

one more question:

In gimp, the following code is used:

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++

Thanks,
Michael


More information about the kimageshop mailing list