lawrence@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoOk, at some point we made a big mistake.lemmy.worldimagemessage-square39linkfedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageOk, at some point we made a big mistake.lemmy.worldlawrence@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square39linkfedilink
minus-squaremindbleach@sh.itjust.workslinkfedilinkarrow-up0·2 years agoBut C is worse than C++, because what if you have a pointer to a pointer?
minus-squareUpperBroccoli@feddit.delinkfedilinkarrow-up0·2 years agoAlso it is colder at night than it is outside.
minus-squareolorin99@kbin.earthlinkfedilinkarrow-up0·2 years agoYou can have a pointer to a pointer in c++ too tho?
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up0·2 years agoCan you have two pointers pointing at each other?
But C is worse than C++, because what if you have a pointer to a pointer?
Eh?
Also it is colder at night than it is outside.
You can have a pointer to a pointer in c++ too tho?
Can you have two pointers pointing at each other?
void* ptr2 = &ptr1; ptr1 = &ptr2;```You don’t say.