A small correction to my previous algorithm:
1. I forget a "count++;" in the first for LOOP
[inside the: if (!pMat1->IsString(i,j) && !pMat2->IsString(i,j)) {} body]
2. because this count would be from 1 to n, the 2nd for LOOP should be
modified accordingly:
for(j = 0; j < count; j++) { // NOT j <= count
3. the x and y values (fValX[count] and fValY[count]) must be stored, so
we have to define (variable) arrays. I do not know which method is best
suited/ will affect speed less. I usually prefer vectors when dealing
with such a situation, but might be too much for this one, especially if
we do NOT do any sorting. Size is unfortunately not known beforehand.
Kind regards,
Leonard Mada
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]