How can I change the size of an array in C?
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. remove him from the list. And I also want to be able to create new enemies. Gamestudio uses a scripting language named lite-C. It has the same syntax as C and on the website they say, that it can be compiled with any C compiler. It is pure C, no C++ or anything else. I am new to C. I normally program in .NET languages and some scripting languages, Once an array in C has been created, it is set. You need a dynamic data structure