https://github.com/get-unknown-err0r/simple-phonebook
A simple C application to manage a phonebook database with basic CRUD (Create, Read, Update, Delete) functionality.Contact data is stored in a binary file using file handling.
https://github.com/get-unknown-err0r/simple-phonebook
arpit-prajapati c c-programming compiler crud-operation get-unknown-err0r github phonebook-application
Last synced: about 2 months ago
JSON representation
A simple C application to manage a phonebook database with basic CRUD (Create, Read, Update, Delete) functionality.Contact data is stored in a binary file using file handling.
- Host: GitHub
- URL: https://github.com/get-unknown-err0r/simple-phonebook
- Owner: GET-UNKNOWN-ERR0R
- Created: 2024-12-29T08:58:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-29T09:19:48.000Z (over 1 year ago)
- Last Synced: 2025-05-29T06:56:40.250Z (about 1 year ago)
- Topics: arpit-prajapati, c, c-programming, compiler, crud-operation, get-unknown-err0r, github, phonebook-application
- Language: C
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Phonebook Database
A simple C application to manage a phonebook database with basic CRUD (Create, Read, Update, Delete) functionality.Contact data is stored in a binary file using file handling.
## OUTPUT:

## Features
- Add a new contact (name and phone number)
- View all contacts
- Update an existing contact
- Delete a contact
- Persistent storage using a binary file (`phonebook.dat`)
## How to Run
1. Clone this repository:
```bash
git clone https://github.com/GET-UNKNOWN-ERR0R/simple-phonebook.git
2. Navigate to Folder:
```bash
cd simple-phonebook
3. Compile the program using GCC:
```bash
gcc phonebook.c -o phonebook
4. Run the program:
```bash
./phonebook
## Result
--- Phonebook ---
1. Add Contact
2. View Contacts
3. Update Contact
4. Delete Contact
5. Exit
Enter your choice: 1
Enter name: Arpit Prajapati
Enter phone number: 123456789
Contact added successfully!
--- Phonebook ---
1. Add Contact
2. View Contacts
3. Update Contact
4. Delete Contact
5. Exit
Enter your choice: 2
--- Contacts ---
Name: Arpit Prajapati, Phone: 123456789
# License