>>>
>>>No, it inserts additional chars instead. We need Field1|^Field2|^Field3|^Field4
>
>Steve,
>
>What I'm concern is speed. I have no problems of using either of suggested methods, my question is, which is the fastest? Currently I'm working on some other tasks, so I can not just run tests and compare speed for each method, besides, this is not my assignment, I was just trying to help my manager, who wants to do it himself...
>
My gut feeling would be that fputs() should be faster, because the other method has to write the file to the disk two times. The disk is still one of the slowest parts of the system.
I'm curious myself, and I may run a test in a little bit...
Steve Gibson