update the number of the person in file
<p>Aslam o alikum
I am making a project using file handling in c++
like address book,
in which user enter
New record
search previous record
and update the previous record.</p>

<p>But when it come to update , the problem occur is the previoud record remain at the same place and new record is added,but i want that the previous record will delete from my file.
please give me the easiest sollution</p>
