I opened a stream using this very function
fstream index("c:\\windows\\desktop\\index.htm", ios:ut);
I then close it using
I then open a new stream called multimedia
fstream multimedia("c:\\windows\\desktop\\multimedia.htm", ios:ut);
After writing to the file through the stream both times, the index stream works but multimedia does not, what could be causing this?