>How a language can be good if the simplest syntax can cause a memory leak?
int main() {new bool;}
>How a language can be good if the simplest syntax can cause a mind leak?
01
>>59640612
then how did u post if you brain is currently leaking?
>>59640640
my brain leaking >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> your brain in normal state
>>59640612
you are actually more retarded than the dumb frogposter
>>59640773
thanks, dumb shitposter
>>59640590
>how can OP be intelligent if he can't even clean up after himself?
>>59640785
ur welcomed shit eater
>>59640833
no ur welcomed shit eaterposter
it's not a memory leak if the operating system cleans up after you.
>>59640590
>Program terminates
>Memory gets cleaned up anyway
I don't see howint main()
{
new bool;
}
Could ever cause an issue.
>>59642638
The real question is why someone would allocate a single bool on the heap.
>>59642671
Why would you allocate a bool before deleting it out of a scope?