mycodesucks@kbin.social to Programmer Humor@lemmy.ml · 1 year agoIt's not greatmedia.kbin.socialimagemessage-square58fedilinkarrow-up1478arrow-down117file-text
arrow-up1461arrow-down1imageIt's not greatmedia.kbin.socialmycodesucks@kbin.social to Programmer Humor@lemmy.ml · 1 year agomessage-square58fedilinkfile-text
minus-squareTheyCallMeHacked@discuss.tchncs.delinkfedilinkarrow-up3·1 year agoLooooongCounter operator++(const LooooongCounter& c) { if(c.lowPart == ULONG_MAX) { c.highPart++; c.lowPart = 0; } else c.lowPart++; }
LooooongCounter operator++(const LooooongCounter& c) { if(c.lowPart == ULONG_MAX) { c.highPart++; c.lowPart = 0; } else c.lowPart++; }