Cows Look Like Maps to Programmer [email protected] • 1 year agoBill is a pro grammersh.itjust.worksmessage-square84fedilinkarrow-up1786
arrow-up1785imageBill is a pro grammersh.itjust.worksCows Look Like Maps to Programmer [email protected] • 1 year agomessage-square84fedilink
minus-square@[email protected]linkfedilink61•edit-21 year 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-square@[email protected]linkfedilink37•1 year agoWait why is it dynamically allocated and why are you increasing the memory. Something is very wrong here
minus-square@[email protected]linkfedilinkEnglish33•1 year agoFound the bug. Thank goodness for comments.
minus-square@[email protected]linkfedilink3•1 year agoOh, is this what they meant by “commenting your code”?
minus-square@[email protected]linkfedilink10•1 year agoWhy the heck does it need to be dynamically allocated? Just put that puppy on the stack.
minus-square@[email protected]linkfedilink6•1 year 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
Found the bug. Thank goodness for comments.
Oh, is this what they meant by “commenting your code”?
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.