431
To type or not to type ? (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] vox@sopuli.xyz 17 points 1 year ago* (last edited 1 year ago)

tbh c/c++ type system is super fucked up
What the fuck is unsigned long long int just call it u64

[-] Johanno@lemmy.fmhy.ml 6 points 1 year ago

Well it isn't always 64 bytes. Some architectures differ.

[-] darcy@sh.itjust.works 10 points 1 year ago
[-] akariii@lemmy.blahaj.zone 3 points 1 year ago

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 of unsigned long long may vary depending on the architecture

this post was submitted on 13 Jul 2023
431 points (98.2% liked)

Programmer Humor

32562 readers
427 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS