I have a following problem:
I have a text file, I have to read each row and if it fullfills some conditions delete this line. The file looks like this:
1234 472 890
278 9009 12.348
etc.
I have to check e.g. 1234+472+890 > 7899 ?
If yes, delete this line! Is it possible within this file or is it better to write a new file just with "good" lines?
Thanks, Hedvule.
I have a text file, I have to read each row and if it fullfills some conditions delete this line. The file looks like this:
1234 472 890
278 9009 12.348
etc.
I have to check e.g. 1234+472+890 > 7899 ?
If yes, delete this line! Is it possible within this file or is it better to write a new file just with "good" lines?
Thanks, Hedvule.