On 6/25/07, Christof Donat <[EMAIL PROTECTED]> wrote:


Hi,

> C++
> ----
> ...
> (new Container()).containedObj.method1();
> //How could method1 ever access varA?
> ----

OOps, this shopuld of course read
(new Container())->containedObj.method1();

Christof




I don't post much, but I must say that's pretty funny! hah.

Some really nice help too, I've been following along soaking in the foreign
languages :)

Reply via email to