lawrence@lemmy.world to Programmer Humor@lemmy.ml · edit-21 year agoOk, at some point we made a big mistake.lemmy.worldimagemessage-square37fedilinkarrow-up1310arrow-down15file-text
arrow-up1305arrow-down1imageOk, at some point we made a big mistake.lemmy.worldlawrence@lemmy.world to Programmer Humor@lemmy.ml · edit-21 year agomessage-square37fedilinkfile-text
minus-squareolorin99@kbin.earthlinkfedilinkarrow-up16·1 year agoYou can have a pointer to a pointer in c++ too tho?
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up3·1 year agoCan you have two pointers pointing at each other?
minus-squareolorin99@kbin.earthlinkfedilinkarrow-up4·1 year agovoid* ptr2 = &ptr1; ptr1 = &ptr2;```
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.