I\'m programming a game and in the program I need to add new enemies based off of a file. Right now my problem is that I\'ve run into an infinite while loop when trying to read
Next you have closed the input within the loop that also needs to be done outside the loop as after the first time the input being closed will not get processed and will give exception.