Download presentation
Presentation is loading. Please wait.
Published byEaster Stone Modified over 9 years ago
1
Address book By NIRMIT GANG
2
Main Program Selection Screen 1.Enter Data 2. Read Data 3. Search Data 4. Modify Data 5. Delete Data 6. Exit Choice
3
Entry of Data Name Profession Address Country Telephone Fax Mobile E-Mail
4
Read from File Displays the data from the file Can show up to n records Each record appears on a new screen, to avoid confusion
5
Save & Read Data code saveData(), uses normal I/O operation readData() is used to access the stored information in file input.txt
6
Search data It does a search on the file, by comparing names, and displays the information When it reaches the EOF without finding anything, it gives an error statement
7
Modify Data modify() gets the name to be modified Does the string compare of the name to be modified Displays a menu selection, to modify any choices
8
Modify Data The menu selection uses a switch case, so as to get users input. It appends the necessary changes and saves it to the file.
9
Delete Data It gets the name to be deleted from the user interface, and uses seekg with offset zero to start reading the file. It then just copies empty spaces to each of the parameters, and displays a successful statement
10
??Questions?? Please Feel Free to Ask Any Questions
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.