On 21 Aug 2000, Lars Gullik Bjønnes wrote:
> No.
>
That's what I thought. I asked just to make sure I wasn't going to
embarrass myself C++-wise.
Anyway, my point being, this isn't portable. Not all OS's ensure that the
BSS (or equivalent) is zeroed out on load. So it would be better IMHO not
to rely on such a feature.
I'll admit I don't know what actually happens under OS/2 or Windows, but
it seems a good idea not to rely on this ...
john
--
"Mathemeticians stand on each other's shoulders while computer scientists
stand on each other's toes."
- Richard Hamming