How can I change the size of an array in C?

前端 未结 6 1108
灰色年华
灰色年华 2020-12-03 11:22

I am experimenting a little bit with gamestudio. I am making now a shooter game. I have an array with the pointer\'s to the enemies. I want. to when an enemy is killed. remo

6条回答
  •  温柔的废话
    2020-12-03 11:51

    Once an array in C has been created, it is set. You need a dynamic data structure like a Linked List or an ArrayList

提交回复
热议问题