Deleting rows in a file

Discussion in 'C Programming' started by QueryWriter, Sep 18, 2007.

  1. QueryWriter

    QueryWriter

    Joined:
    Sep 17, 2007
    Messages:
    4
    Hi guys, I'm a SQL programmer, not very good in C.
    From a C program, I want to open a file (done), remove the 3rd and 5th rows and then close it.
    I go on reading the file char by char, usign \n delimiters to count rows, then when I'm in the row I want to cancel, how can I obtain my goal?
    MTIA
    Ronald
     
    QueryWriter, Sep 18, 2007
    #1
    1. Advertising

  2. QueryWriter

    QueryWriter

    Joined:
    Sep 17, 2007
    Messages:
    4
    I know it's in fact not so much stimulating!
     
    QueryWriter, Sep 19, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QXNoYQ==?=

    deleting duplicate rows in a dataset

    =?Utf-8?B?QXNoYQ==?=, Jul 24, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    3,087
    Naveen K Kohli
    Jul 24, 2004
  2. John
    Replies:
    3
    Views:
    693
    ocrow
    Jun 28, 2006
  3. Imran Aziz

    deleting rows in repeater control

    Imran Aziz, Aug 4, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    10,746
    pwhe23
    Jun 30, 2008
  4. Harry Barker
    Replies:
    2
    Views:
    518
    Alf P. Steinbach
    Apr 19, 2006
  5. crea
    Replies:
    2
    Views:
    414
    Nobody
    Dec 28, 2012
Loading...

Share This Page