Hello, I have my whole program complete except I need to write everything to the screen as well as to an output file names OutMenu.txt. I have everything already writing to the screen but I am stuck trying to get it to write the txt file. I keep only getting it to write the last part of the program to the txt file. I deleted everything that I have tried so far because it became extremely messy and I figured you guys would be able to help me better with a cleaner code.
dont know what your problem is. either you close the file after each output, so the next time you start at the beginning again or, if you have to close it, you are not using stream pointers.
Sorry guys, I copy and pasted my code into here and then deleted the messiness and all the things I tried/commented out so I messed something up on here when I erased it, my code which compiles is below.