C++ Filehandling: Difference between ios:app and ios:ate?
<p>I'm pretty new to C++, and am trying to understand the difference between <code>ios::ate</code> and <code>ios:app</code> when writing to a file. I'm pretty sure that <code>ios::app</code> gives you the ability to move around in the file, whereas with <code>ios::ate</code> it can only read/write at the end of the file. Is this correct?</p>

<p>Thanks</p>

<p>Adam</p>
