Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am writing a program to add new records, edit existing records and to delete existing records in a file, for example, customer(customer.dat).
i want the program to ask for the name of the customer and it will search for that customer in the file. it will then displays the information about the customer and will ask me to enter the new name, new address, new tel, etc. My program is not searching for the customer. Could anyone help me and give me some codes for editing the file and also for deleting a particular record. Please friends, hope you will reply as soon as possible.