Wats0ns@sh.itjust.works to Programmer Humor@lemmy.ml · 1 year agoTo type or not to type ?sh.itjust.worksimagemessage-square26fedilinkarrow-up1454arrow-down18
arrow-up1446arrow-down1imageTo type or not to type ?sh.itjust.worksWats0ns@sh.itjust.works to Programmer Humor@lemmy.ml · 1 year agomessage-square26fedilink
minus-squarevoxel@sopuli.xyzlinkfedilinkarrow-up17·edit-21 year agotbh c/c++ type system is super fucked up What the fuck is unsigned long long int just call it u64
minus-squareJohanno@lemmy.fmhy.mllinkfedilinkarrow-up7arrow-down1·1 year agoWell it isn’t always 64 bytes. Some architectures differ.
minus-squareakari@lemmy.blahaj.zonelinkfedilinkarrow-up3·1 year agoyou can just use unsigned long long (drop the int) or, if it bothers you that much, uint64t but keep in mind that yhe size of unsigned long long may vary depending on the architecture
tbh c/c++ type system is super fucked up
What the fuck is
unsigned long long int
just call itu64
Well it isn’t always 64 bytes. Some architectures differ.
usize
thenyou can just use
unsigned long long
(drop the int) or, if it bothers you that much,uint64t
but keep in mind that yhe size ofunsigned long long
may vary depending on the architecture