📅 Project Information Project Name : Address Book Management System in C Author : Sanjai Kumar M
📝 Description
The Address Book Management System is a C-based console application designed to manage personal or organizational contacts. It provides the following features:
->Create new contacts ->Search existing contacts ->Edit contact information ->Delete contacts ->List all saved contacts ->Sort contacts (Name / Number / Email / Normal) ->Save data to a CSV file
This project demonstrates file handling, string manipulation, structures, and menu-driven programming in C.
📌 Menu Interface Address Book Menu:
- Create contact
- Search contact
- Edit contact
- Delete contact
- List all contacts
- Save contacts
- Exit Enter your choice:
🧪 Sample Input 1: Listing Contacts Enter your choice: 5 Display sort Menu:
- Sort by Name
- Sort by Number
- Sort by Email
- Normal method Enter your choice: 4
0 | John Doe | 1234567890 | [email protected] 1 | Alice Smith | 0987654321 | [email protected] 2 | Bob Johnson | 1112223333 | [email protected] 3 | Carol White | 4445556666 | [email protected] 4 | David Brown | 7778889999 | [email protected] 5 | Eve Davis | 6665554444 | [email protected] 6 | Frank Miller | 3334445555 | [email protected] 7 | Sanjai | 8825657765 | [email protected]
🧪 Sample Input 2: Adding a Contact Enter your choice: 1 Enter the name : Kumar Enter the phone number: 8825657755 Enter the email ID : [email protected] Contact added successfully
💾 Saving Contacts Enter your choice: 6 Contacts saved successfully
0 | John Doe | 1234567890 | [email protected] 1 | Alice Smith | 0987654321 | [email protected] 2 | Bob Johnson | 1112223333 | [email protected] 3 | Carol White | 4445556666 | [email protected] 4 | David Brown | 7778889999 | [email protected] 5 | Eve Davis | 6665554444 | [email protected] 6 | Frank Miller | 3334445555 | [email protected] 7 | Sanjai | 8825657765 | [email protected] 8 | Kumar | 8825657755 | [email protected]
🚀 How to Compile gcc address_book.c -o address_book
🔮 Future Enhancements
->Add JSON or binary storage format ->Password-protected address book ->Import/export contacts ->GUI version using GTK/QT ->Duplicate contact detection
MIT License