bzhang41 <bzhang41 at stevens.edu> wrote: > I can't write the content from memory to a file, since the file is > empty. Correct. The file to which you are trying to write the contents from memory needs to be of the correct size before you can do that. (Since this is extra credit, I can't give more specific advise here.) -Jan