Falling objects game

hello everyone
i am making a falling objects game for my semester project and i am facing a problem with the code. i can’t create the objects that fall more than once in the program. i am actually calling the function that create those objects in main and it works just once… what do i do if i want to create objects at different time in the game… please help me with this issue,


without some code of yours we can´t help you.
anyway you need a GameLoop that is running over and over again.