Hi all!
How to automatically create structures (the aliens in this code are capable to muliply) and delete them? Is the only way to change the value of "number" in this code and re-define the struct part? What if Alien[55] is killed and at the same time Alien[56] and Alien[57] are multiplying?
Thanks in advance for ideas!Code:some headers.... int number; number = 100; struct alien{ int energy; int health; }Alien[number] int main(void){ ...game... }