What is difference between struct and class?
Rnd
r_narang at yahoo.com
Mon Jun 3 07:13:44 UTC 2019
On Monday, 3 June 2019 at 06:01:15 UTC, Jonathan M Davis wrote:
> On Sunday, June 2, 2019 9:40:43 PM MDT Rnd via
> Digitalmars-d-learn wrote:
>> On Monday,
> http://ddili.org/ders/d.en/index.html
>
> If you want to know more about structs and classes
> specifically, then you can go straight to the sections on them,
> but you're going to understand a lot of things better if you
> just read through the book.
>
> - Jonathan M Davis
I know 'new' is not needed to create instances of structs but can
one use 'new'?
If yes, when should one use 'new'?
More information about the Digitalmars-d-learn
mailing list