Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Deleting rows in a file

Reply
Thread Tools

Deleting rows in a file

 
 
QueryWriter QueryWriter is offline
Junior Member
Join Date: Sep 2007
Posts: 4
 
      09-18-2007
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
 
Reply With Quote
 
 
 
 
QueryWriter QueryWriter is offline
Junior Member
Join Date: Sep 2007
Posts: 4
 
      09-19-2007
I know it's in fact not so much stimulating!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting data from the file without deleting the file first crea C++ 2 12-28-2012 11:50 PM
deleting rows in repeater control Imran Aziz ASP .Net 3 06-29-2008 11:09 PM
Really urgent : Programmatically deleting Datagrid rows John ASP .Net 3 06-28-2006 05:00 AM
Deleting a File from Hardrive and Deleting a SubKey in Registry Harry Barker C++ 2 04-19-2006 09:34 AM
deleting duplicate rows in a dataset =?Utf-8?B?QXNoYQ==?= ASP .Net 1 07-24-2004 07:34 PM



Advertisments