Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello, I'm using a text file and I work it with QTextStream.
how can I delete a line from the file without delete all of it?
thanks.
Hi,
What to you mean by "without delete all of it" ?
Hi You cannot delete a line as such. You can either copy all lines except the unwanted to new file OR You can load the file to a buffer, remove the line from it and write it back.
thank. That's what I thought