Hi!
In the manpage of "libpnm", there is an example of its usage. But there is an
error in it. Here is a triple 'for' from the example:
for (row = 0; row < inpam.height; row++) {
pnm_readpamrow(&inpam, tuplerow);
for (column = 0; column < inpam.width; column++) {
for (sample = 0; sample < inpam.depth; column++) {
grand_total += tuplerow[row][column][sample];
}
}
pnm_writepamrow(&outpam, tuplerow); }
It's obvious that there must be a "sample++" in the third 'for'. Who should I
report this to?
--
In its laws, society makes its mightiest collective effort to impose
predictability upon human behavior.
- S. I. Hayakawa, "Language in thought and action"
--
[email protected] mailing list