[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]

>OMG please stop mansplaining code to me

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: 17
Thread images: 4

File: melting.png (9KB, 300x240px) Image search: [Google]
melting.png
9KB, 300x240px
>OMG please stop mansplaining code to me
>>
>>60977161
source?
>>
>>60977161
>what if I cuntsplain it? any better?
>>
>>60977161
>Thisendsnow.jix2v
>>
/* main function */
int main(void) {
size_t len = 50; /* length */
double *vec = (double *)malloc(sizeof(double) * len); /* allocate vector*/
if (vec == NULL) /* check if malloc succesful */
err(1, "malloc");

/* initialize elements to zero */
size_t i;
for (i = 0; i < len; i++) {
vec[i] = 0;
}
}

like this?
>>
>>60979989
// single line comment
/*
multiline comment
*/
>>
>>60977161
name 3 kinos where this is uttered
>>
>>60980020
/* single line comment */

/*
* Important single line comment
*/

/*
* This is multi line comment written in full sentences. I just follow
* what Linus sais because I'm brainlet. Deal with it, faggot.
*/
>>
>>60980020
>c89
>>
>>60979989
Why are you casting malloc? Why aren't you using calloc if you're just going to 0 initialize? Clearly your implementation supports it because you are using err.
>>
File: 1493515502191.jpg (33KB, 326x479px) Image search: [Google]
1493515502191.jpg
33KB, 326x479px
>>60979989
>not using free()
>>
>>60980207
I'm using something called existencial garbage collection.
>>
>>60980126
>Why are you casting malloc?

Why not?
>>
File: 1466364691076.jpg (15KB, 280x340px) Image search: [Google]
1466364691076.jpg
15KB, 280x340px
>>60980225
Can't wait til existential garbage collection takes you away
>>
>>60980225

Totally disgusting.
>>
>>60980207
The OS will take care of it for me
>>
File: 1493261139624.png (169KB, 279x282px) Image search: [Google]
1493261139624.png
169KB, 279x282px
>>60980259
it has. it has.
Thread posts: 17
Thread images: 4


[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.