hypercracker to technology • 2 months agoUndergrad CS education is going placesimagemessage-square95 fedilinkarrow-up1165
arrow-up1165imageUndergrad CS education is going placeshypercracker to technology • 2 months agomessage-square95 Commentsfedilink
minus-squaremiz [any, any]hexbear32·2 months agothis is definitely better than having to learn the number of bytes your implementation uses to store an integer and doing some multiplication by five. link
minus-squareKairos@lemmy.todayhexbear18·edit-22 months agoThere's no way the post image isn't joking right? It's literally a template. edit: Type * arrayPointer = malloc(numItems * sizeof(Type)): linkfedilink
minus-squareFunkyStuff [he/him]hexbear15·2 months agoYeah lol it does seem a ton of people ITT missed the joke. Understandably since the AI people are... a lot. link
minus-squarepeeonyou [he/him]hexbear9·2 months agowho even has time to learn about bytes and bits and bobbles? this is 2024 gotdamit! link
this is definitely better than having to learn the number of bytes your implementation uses to store an integer and doing some multiplication by five.
sizeof()
whoa, whoa. this is getting complicated!
There's no way the post image isn't joking right? It's literally a template.
edit:
Type * arrayPointer = malloc(numItems * sizeof(Type)):
Yeah lol it does seem a ton of people ITT missed the joke. Understandably since the AI people are... a lot.
who even has time to learn about bytes and bits and bobbles? this is 2024 gotdamit!