To replace the old quantity value by a new value, set the file pointer to point
to the quantity..
previously when u retrieve the old value, u'll know at which position(index)
qnty is present..
set file pointer using this index as,
FILE * fp=fopen("somefile","w");
fseek(fp,index,SEEK_SET); //seeks position from beginning of file
fprintf("%d",qnty); // put new qnty value
jhoni rahmad <[EMAIL PROTECTED]> wrote: Dear
C-prog,
i'm developing software for barcode software, now i'm making software for PDT
CASIO DT930 (Portable data terminal). I get problem form my coding, i want to
take value from a record. This is example code :
location code qty
111 123456789 12
102 234567890 4
201 222222221 1
1. it in text file. I want get qty from record using a search key with value
"123456789"
2. how to update that data
i'm include my source code here
---------------------------------
Bergabunglah dengan orang-orang yang berwawasan, di bidang Anda di Yahoo!
Answers
[Non-text portions of this message have been removed]
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
[Non-text portions of this message have been removed]