On Sun, 22 Feb 2015, Bart wrote:
Hi,
I cannot find it in the docs (probably not looking in the right place).
Which variables/class-fields are initialized by the compiler?
My understanding is that:
- global vars are initialized (zero, false, empty string etc)
- local vars are not
But what
Oh god, that must have been tunnel vision. Yeah, that was the obvious
next step. Thanks :-)
I compiled all the supplied examples and ran them, and they seem to
print plausible results.
The only hurdle is, that ld doesn't pick up libxml2.dylib on its own -
for whatever reason.
I had to
Hi,
I cannot find it in the docs (probably not looking in the right place).
Which variables/class-fields are initialized by the compiler?
My understanding is that:
- global vars are initialized (zero, false, empty string etc)
- local vars are not
But what about class fields?
Typically I do