Why do I need to call new?
Posted
by cam
on Stack Overflow
See other posts from Stack Overflow
or by cam
Published on 2010-04-27T12:31:03Z
Indexed on
2010/04/27
12:33 UTC
Read the original article
Hit count: 288
It seems like I could program something without ever using the word 'new', and I would never have to worry about deleting anything either.
From what I understand, it's because I would run out of stack memory.
Is this correct? I guess my main question is, when should I call 'new'?
© Stack Overflow or respective owner