Where is write_breed's called??
Its not. Thats just a function I made to write the file. I don't call it when I'm running the game. Do I need seperate ifstreams for each file I open or can I reuse the same one somehow?
You may need to use the inherited ios::clear method to reuse the object.