Mansoor8
December 9th, 2004, 10:16 AM
Hello:
I am researching the code to write to both screen and to hard drive (file) simultaneously, if this is possible; I am aware that I can program cin to write to file on disk, but it will not appear on the screen (?). If I am taking input from a user and I wish to copy it, why can I not write to disk while it is printed to console before them also? I am unsure about this and I hope for some knowledgable insight into this operation.
Thank-you in advance for your assistance,
Matthew Mansoor
I am researching the code to write to both screen and to hard drive (file) simultaneously, if this is possible; I am aware that I can program cin to write to file on disk, but it will not appear on the screen (?). If I am taking input from a user and I wish to copy it, why can I not write to disk while it is printed to console before them also? I am unsure about this and I hope for some knowledgable insight into this operation.
Thank-you in advance for your assistance,
Matthew Mansoor