Thread: how to delete entry in a txt file?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    117

    thank you for helping...

    hi all,~~~

    may be i should make the question more clearer....
    my txt file is like this:

    data 1 data 2 data 3 data 4
    data 1 data 2 data 3 data 4
    and so on

    say for example, data 3 is the date, my program wish to check the date if it is expired, if it is, delete it, if not, then keep it.

    i have ask about date and time here and i have got the solution.
    what i cant solve is how to delete the whole line when the date is checked?
    Last edited by Jasonymk; 07-16-2003 at 06:58 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  2. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  3. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04:14 AM
  4. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  5. Problem need help
    By Srpurdy in forum C++ Programming
    Replies: 1
    Last Post: 07-24-2002, 12:45 PM