On Tuesday, 21 February 2012 at 18:07:34 UTC, Robert Rouse wrote:
What am I missing?

Did you remember to new the class?

class MyClass {}

MyClass a; // a is null right now
a = new MyClass(); // gotta remember this



That's different than structs (or classes in C++)
which work without being new'd.

Reply via email to