阅读背景:

添加到数组的最后一个元素被添加两次,无法找出原因

来源:互联网 

Realization: Wow spent so much time staring at this code I finally noticed something I'd been missing all along. I initialize i = size which means at the start the array is looking at an unfilled spot so I finally understand why it always puts a repeat. Now to attempt to fix it. Feel free to berate me.Realization: Wow spent so much time staring at




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: