Wats0ns@sh.itjust.works to Programmer Humor@lemmy.ml · 1 year agoTo type or not to type ?sh.itjust.worksimagemessage-square21fedilinkarrow-up183arrow-down13
arrow-up180arrow-down1imageTo type or not to type ?sh.itjust.worksWats0ns@sh.itjust.works to Programmer Humor@lemmy.ml · 1 year agomessage-square21fedilink
minus-squarevoxel@sopuli.xyzlinkfedilinkarrow-up7·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-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
minus-squareJohanno@lemmy.fmhy.mllinkfedilinkarrow-up2·1 year agoWell it isn’t always 64 bytes. Some architectures differ.
tbh c/c++ type system is super fucked up
What the fuck is
unsigned long long int
just call itu64
you 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 architectureWell it isn’t always 64 bytes. Some architectures differ.
usize
then