*
nkomli@gmail.com:
> When outputting or inputting to a file is there some easy way to move
> to and overwrite a specific line?
No, not if you're talking about an ordinary text file.
That hasn't anything to do with C++, it has to do with the structure of an
ordinary text file.
> With seekg it seems you can only
> move positions without knowing whether you've moved to a newline or
> not.
Yes.
Cheers, & hth.,
- Alf
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?