>#define NULL 0
>>57957428
but muh c
>>57957428
this guy simply does not give one single fuck of how he looks like
and for that, i respect him even more
NULL doesn't have to be 0 even though it usually is this value.
That's why this definition makes sense, because of portability.
Some machine may need other value for NULL, so you just change it in the header file and done.
>#define ONE 1
>>57957508
But why would you need the value of NULL to be zero?
As far as I know, no matter what NULL is defined as, doing a test likeint *ptr = NULL;
if (ptr) dostuff();
will work when compiling as though NULL is 0, even if it isn't, which is all you'd really need the value of NULL for
>>57957538
This can't be, but I'll check it brb
>>57957508
That comes from a pointer with value 0 (in the C source code) being a null pointer.
The NULL macro is retarded, you don't know it's type.
It's nullptr you mongoloid.
>>57957538
Nope, the if doesn't work.
0 is 0.
>>57957577
It's just a preprocessor definition for NULL constant in C language.
>>57957483
He wouldnt shave if he didnt care
>>57957538
>if (ptr)
That cast's to _Bool and gives false negatives.
>>57957608
Yes, it expands to an implemention defined null pointer constant. You don't know the type of that constant though.
IT'S A FUCKING VOID POINTER YOU BAKAS
THEY CHANGED IT TO ZERO AND THEN ADDED NULLPTR LIKE A BUNCH OF GODDAMN MONKEYS
>>57957608
>>57957679
Oh, I was talking about C
I have no idea what the hell C++ does
>>57957684
So your problem is that in C++ there are both NULL and nullptr?
>>57957483
he probably also does not give one single fuck about what some anonymous person on the internet says considering he accomplished more than you ever will in your pathetic life.
>>57957863
beginners blanket for
I don't need you designing my next thought process for me based expense. we dont have the same hobbies!
>>57957428nullptr
>>57957891
how does that contribute to anything? who goes on to /g/ to shill out corporate culture?
he was praising him and for that you remind him to get back to work? what in the nigger loving fuck?
>>57957483
He looks great. Women are attracted to these looks. Speak to a woman and you'll understand. He is an academic. His appearances are in accordance.
>>57957891
somebody got their Cheerios pissed in this morning....
>>57957928
he's an aspie so he didn't understand i was praising his alphaness, oh well
>>57958039
>>57958039
so the autocrat doesnt abide the three H's even when raising their sons?
I noticed the derived forms of autism usually comply with fear, compassion or guilt. fear is schizo, compassion ( or a lack thereof ) is kanner, guilt is aspergers.
autocrats are a sort of scanner arent they? first pass for non-conditional jumps ( index ), second pass for templated forms ( rationalization of degree ) and then third pass is to commit to memory ( standardization ). Aspies don't get to make it to memory stage without learning to curb their energies or without taking their pills and having a "talk" with the psych. But really it goes, the patient talks, the psych defends itself using chemical agencies, see defense mechanisms.
>>57958221
just making conversation while we're here
>>57958221
nah i thought it was just being socially retarded and not picking up meanings and cues, i mean seriously someone would have to be an absolute short fused retard to respond in that way. Crystal clear i was giving him props
>>57958299
that person was female bte