how to modify a txt file

From: Jerry (zhiweiwang_at_gmail.com)
Date: 01/31/05


Date: 30 Jan 2005 19:25:27 -0800

Hi, everybody:

I want to modify a portion of a txt file. The way I do it is to
open the file in read mode, and create a new file, and delete the old
file, and rename the new file.
I am wondering if this is a common practice of modifying a file in
C, is there any other way to do it?
Thank you all for your attention.

--Jerry



Relevant Pages

  • Re: Date and Time field
    ... You can add a new Calculated column that shows just the date portion of the ... Then modify the view to include your new BeginDate column instead of Begin. ... >>I created a new custom field "Date" which I figured we could use instead ... I'm wanting to display only the Date portion of this ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Modify HttpGet and HttpPost portions of WSDL
    ... Does anyone know if this can be modified in a similar way as the soap ... > HttpPost service ports in WSDL(In particular, I would like to modify ... I know you can modify the soap portion ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • secpol.msc seems to be emply
    ... When running Local Security Policy from Administrator Tools, ... right portion of the screen are empty. ... There is nothing there to modify. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: GNU
    ... "You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program" This seems to define "work based on the program" as a copy of the original which has been modified. ... Software for resource managers and researchers ...
    (borland.public.delphi.non-technical)
  • Re: how to modify a txt file
    ... Jerry wrote: ... > I want to modify a portion of a txt file. ... the broken "Reply" link at the bottom of the article. ...
    (comp.lang.c)