Originally posted by Manfred Klug:
Hi samura,
the problem is the b variable in BinstanceTest. When you instantiate a BinstanceTest, a second BinstanceTest is instantiated to initialize the b variable which instantiates a BinstanceTest to initialize the b variable which ...
That was really deadly manfred, good catch.
Samura! Good practice would be to have member variable
declarations in the class, and
initializations at the place/constructor/methods where they are necessary.
