Hi,
I have a question concerning streams. When I press a certain button in my application, I open a stream for output, write some information in the stream towards a file and at the end I close it of course. When I click the button again, information is added to that file. My stream is not opened for append so I find this very strange. The information has to overwrite the old one and not add it. Can somebody help me with this?
Thanks in advance
I have a question concerning streams. When I press a certain button in my application, I open a stream for output, write some information in the stream towards a file and at the end I close it of course. When I click the button again, information is added to that file. My stream is not opened for append so I find this very strange. The information has to overwrite the old one and not add it. Can somebody help me with this?
Thanks in advance