I have this on going project for my C++ class, dealing with a random number generator guessing game. I'm on the last step, finally. I gotta add functionality to output the array of guesses to a file after the answer has been guessed, and I need to include exception handling within my program. Is there a simple way to do these things? I am completely lost at this point, and just want to get it over with so i can start C++ from scratch and learn it at my own pace, rather than the rush job of online school.