Hi all,
I want to read a text file line by line and to make some changes in some
lines.
Which method do you recommend?

To store the file in an array, then to insert the changed value in that
array, and then to write that array to the file, or to use a temporary file
to store each line from the source file and twhen I want to modify a line, I
have just to insert it in the temporary file.

I ask this because I don't know if using the first method it will eat my
whole memory.
Thanks!

Teddy,
My dear email address is [EMAIL PROTECTED]



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to