Re: Writing a character to the beginning of the same file




In article <1114685495.313105.177700@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, "SAM" <mshyamrao@xxxxxxxxx> writes:
>
> Randy thanks very much. I thought someone would give me a better
> solution than this. I had worked on ur solution but it had taken lots
> of time to complete the process in the case of large files.

This is, indeed, the Ur-solution, but perhaps you meant "your solution"?

If your implementation is slow with large files, that very likely
means your method of copying the contents of the original file is
inefficient. Efficient file copying is largely a platform-dependent
problem, so you should probably address questions about that to an
appropriate newsgroup for your platform.

--
Michael Wojcik michael.wojcik@xxxxxxxxxxxxxx

Q: What is the derivation and meaning of the name Erwin?
A: It is English from the Anglo-Saxon and means Tariff Act of 1909.
-- Columbus (Ohio) Citizen
.