View Single Post
Old Feb 24th, 2005, 2:59 AM   #1
Princeck
Newbie
 
Join Date: Feb 2005
Posts: 3
Rep Power: 0 Princeck is on a distinguished road
C files and structures

hey,
I am new to C programming,
Actually i have one text file, which has to be read records from starting to end.while reading records, i will check for few fields and if necessary i will insert some records in the middle of the record list.this is my requirement.
Can i go for C structure? if so could you pls give me sample code.
Also pls tell me which mode should i have to open and write the records.
w+b or a+b?

could you pls suggest me?
ambichan.

Last edited by Princeck; Feb 24th, 2005 at 4:28 AM. Reason: its urgent.
Princeck is offline   Reply With Quote