P
P.J. Plauger
P.J. Plauger said:
Since it can, I'd have thought that to be a rather important thing to say.
Undefined behaviour *can* cause real effects in the real world, and I've
seen machines trashed by it. I suppose you have, too. And that's why it's
neither a quibble nor off the point to indicate to the OP that his
program's results are untrustworthy and that his first act should be to
correct his program.
Then tell him how to correct his program, if you want to be truly
helpful at least.
That is *one* of the things the OP needed education about, yes.
But you chose not to provide that education, or even suggest that
it might be needed.
<snip>
P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com