[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>How a language can be good if the simplest syntax can cause

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 13
Thread images: 3

File: 0lBXFeW.png (108KB, 400x381px) Image search: [Google]
0lBXFeW.png
108KB, 400x381px
>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 how
int main() 
{
new bool;
}


Could ever cause an issue.
>>
File: 1462225515545.jpg (16KB, 268x265px) Image search: [Google]
1462225515545.jpg
16KB, 268x265px
>>59642638
The real question is why someone would allocate a single bool on the heap.
>>
File: 1458318131118.png (363KB, 544x733px) Image search: [Google]
1458318131118.png
363KB, 544x733px
>>59642671
Why would you allocate a bool before deleting it out of a scope?
Thread posts: 13
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.