>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.
>>60979989
>not using free()
>>60980207
I'm using something called existencial garbage collection.
>>60980126
>Why are you casting malloc?
Why not?
>>60980225
Can't wait til existential garbage collection takes you away
>>60980225
Totally disgusting.
>>60980207
The OS will take care of it for me
>>60980259
it has. it has.