Hey Guys,,

I did this coding .. but when ever i add data it doesn't save the data, and when i add second time the data it does.

Even when i try to delete any thing the file gets corrupted.

Sorry i cant copy the whole code here. It a big file.

So i have attached my CPP file.. PLease help me ..

and NOTE: I am asking help for my homework assignment, but I have done this much coding. But i cant catch the error. That why i am asking for help.

Thanks in Advance,
Anshu Verma