Cows Look Like Maps@sh.itjust.works to Programmer Humor@programming.dev · 2 years agoBill is a pro grammersh.itjust.worksimagemessage-square17linkfedilinkarrow-up112arrow-down10
arrow-up112arrow-down1imageBill is a pro grammersh.itjust.worksCows Look Like Maps@sh.itjust.works to Programmer Humor@programming.dev · 2 years agomessage-square17linkfedilink
minus-squaretowerful@programming.devlinkfedilinkarrow-up0·edit-22 years ago// increase the dynamically allocated memory space of a word sized integer stored at the memory address represented by the symbol "x" by the integer 1 and terminate the instruction
minus-squaremorrowind@lemmy.mllinkfedilinkarrow-up1·2 years agoWait why is it dynamically allocated and why are you increasing the memory. Something is very wrong here
minus-squareAnders429@programming.devlinkfedilinkarrow-up1·2 years agoWhy the heck does it need to be dynamically allocated? Just put that puppy on the stack.
minus-squaretowerful@programming.devlinkfedilinkarrow-up1·2 years agoThat’s what it used to do. But it was a bug, and the code has been fixed.
// increase the dynamically allocated memory space of a word sized integer stored at the memory address represented by the symbol "x" by the integer 1 and terminate the instruction
Wait why is it dynamically allocated and why are you increasing the memory. Something is very wrong here
Why the heck does it need to be dynamically allocated? Just put that puppy on the stack.
That’s what it used to do.
But it was a bug, and the code has been fixed.