Name: Anonymous 2006-05-01 20:56
Why do all the members of a class are initialized with the value 0 by default? Is it a feature of g++ or is it written in the language? I thought it was undefined (and often "random"). I have the same thing happening with a C program and remember it was not the case on some BSDs systems.