Classes in D are heap objects, you have to allocate them.

``myClas_1 c1 = new myClas_1;``

The default is null.
  • core dumped when... Fox via Digitalmars-d-learn
    • Re: core du... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to