core dumped when run this simple D program.

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Mon Aug 26 07:17:58 UTC 2024


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

``myClas_1 c1 = new myClas_1;``

The default is null.


More information about the Digitalmars-d-learn mailing list