阅读背景:

删除中点后移动数组中的数字

来源:互联网 

I am using an array that inputs a numbers from a file. I have to delete the midpoint number and shift all other numbers after the midpoint to the left to fill the space. This works unless the array has not enougth numbers to fill the array so it just keeps prints out the last number twice instead of once. How can I get it to stop printin when there are no numbers left in the file. (Sorry if this sounds complicated) My code is below I am using an array that inputs a numbers from




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

分享到: