Copy from cout to hard file?
I am nearing the end of a small program which allows the user to cull the letter frequency of encrypted text and display it in standard output. I thought that I would allow the ability to save a hardcopy of their results in a drive-file. I have figured out how to do this, but not without preventing each character from displaying on the console screen. I would like to retain screen print while at the same time recording data into text file. Any hints or help would be greatly appreciared.