I am developing a pos application with c language,
What i am trying to achieve is to add, and delete users. Adding is not a problem at all. but deleting is becoming too tricky What i am doing is, i am seaching for the record using fread(), then as soon as i find it, I set the whole record into spaces and this part is doing fine, the problem is when i try to read that file as soon as i delete a record, i cant read past the deleted record but if i restart my POS machine i can read past the deleted record. Any Help
DizaFire 0 Newbie Poster
Banfa 597 Posting Pro Featured Poster
DizaFire 0 Newbie Poster
Banfa 597 Posting Pro Featured Poster
DizaFire 0 Newbie Poster
VatooVatoo 21 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.