@Wats0ns@sh.itjust.works to Programmer Humor@lemmy.ml • 1 year agoTo type or not to type ?sh.itjust.worksimagemessage-square26fedilinkarrow-up1457arrow-down18
arrow-up1449arrow-down1imageTo type or not to type ?sh.itjust.works@Wats0ns@sh.itjust.works to Programmer Humor@lemmy.ml • 1 year agomessage-square26fedilink
minus-squarevoxellinkfedilink16•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-squareakarilinkfedilink3•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