0% found this document useful (0 votes)
210 views38 pages

Phonebook Application Project Overview

The document describes a phone book application project. It includes an abstract, introduction, list of features, and sections on future scope and working algorithm. The project aims to develop a comprehensive application for contact management with features like adding, editing, searching, and organizing contacts.

Uploaded by

Harsha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
210 views38 pages

Phonebook Application Project Overview

The document describes a phone book application project. It includes an abstract, introduction, list of features, and sections on future scope and working algorithm. The project aims to develop a comprehensive application for contact management with features like adding, editing, searching, and organizing contacts.

Uploaded by

Harsha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 38

Sri Venkateshwara College of Engineering

Department of Computer Science


Bengaluru – 562 157
2023 – 2024

Topic: “Phonebook Application”

PRESENTED BY:
HARSHA P 1VE22CS053
DARSHAN M N 1VE22CS039
GOWTHAM H D 1VE22CS051
HARSHITH REDDY C N 1VE22CS054
CHETHAN M 1VE22CS037
DHANUSH GOWDA M 1VE22CS044
CHETHAN K 1VE22CS036
ATHUL KUMAR S 1VE22CS018
ABSTRACT

The Phone Book Application project is an innovative solution designed to revolutionize contact management in
today's digital era. With the exponential growth of smartphone usage and the increasing reliance on digital
communication channels, the need for a robust and user-friendly contact management system has become more
pressing than ever before. This project endeavors to meet this need by developing a comprehensive application that
offers a plethora of features and functionalities to streamline the process of storing, organizing, and accessing
contacts.

At the core of the Phone Book Application are its advanced contact management capabilities, which allow users to
effortlessly add, edit, delete, and categorize contacts according to various parameters such as name, phone number,
email address, and physical address. This ensures that users can maintain a well-organized and up-to-date repository
of their contacts at all times.

One of the standout features of the Phone Book Application is its powerful search functionality, which enables users
to quickly locate specific contacts by entering partial or complete details. This feature significantly enhances user
productivity by eliminating the need for manual scrolling through long lists of contacts.
INTRODUCTION

In today's digitally-driven world, effective communication is paramount, whether it's for personal connections or professional
engagements. With the widespread adoption of smartphones and the increasing reliance on digital platforms, managing
contacts efficiently has become a crucial aspect of modern life. The introduction of the Phone Book project addresses this
evolving need by offering users a comprehensive solution for organizing and accessing their contacts seamlessly.

Recognizing the challenges posed by fragmented contact management systems and the limitations of traditional methods,
such as physical address books, the Phone Book project aims to streamline the process through innovative technology. By
developing an intuitive application with a user-friendly interface and robust functionalities, the project aims to simplify tasks
such as adding, editing, categorizing, and searching for contacts.

Moreover, the project prioritizes the security and privacy of user data, implementing stringent measures to safeguard
sensitive contact information. Through secure authentication mechanisms and data encryption protocols, users can trust that
their contact details remain confidential and protected from unauthorized access.

The Phone Book project also emphasizes customization, allowing users to tailor their contact management experience to suit
their preferences. Whether it's adjusting the interface layout, selecting personalized themes, or configuring contact display
settings, the application offers flexibility to cater to diverse user needs.
The Phone Book project also emphasizes customization, allowing users to tailor their contact management experience to
suit their preferences. Whether it's adjusting the interface layout, selecting personalized themes, or configuring contact
display settings, the application offers flexibility to cater to diverse user needs.

Furthermore, the project recognizes the importance of integration with other digital platforms, facilitating seamless
communication and collaboration. By enabling users to share contacts, communicate directly from the application, and
synchronize data across devices, the Phone Book project aims to enhance productivity and connectivity.

In essence, the Phone Book project represents a transformative step towards simplifying contact management in the digital
age. By providing users with a powerful tool that enhances organization, efficiency, and security, the project aims to
empower individuals and organizations to navigate the complexities of modern communication with ease and confidence.
Features of the Phone Book Project:

1. Contact Management: Users can add, edit, delete, and categorize contacts based on various parameters such as
name, phone number, email, and address.

2. Search Functionality: A robust search feature allows users to quickly find specific contacts by entering partial or
complete details, enhancing efficiency and productivity.

3. User Authentication: Secure user authentication mechanisms such as login credentials or biometric authentication
ensure the privacy and security of contact data.

4. Backup and Synchronization: Contacts can be backed up to the cloud and synchronized across multiple devices,
ensuring data integrity and accessibility from anywhere.

5. Customization Options: Users can personalize their experience by customizing the interface, themes, and contact
display preferences according to their preferences, enhancing user satisfaction and usability.

6. Integration with Other Platforms: Seamless integration with messaging, email, and social media platforms enables
users to share contacts and communicate easily across various channels.
7. Data Security: Stringent measures are implemented to safeguard sensitive contact information, including
encryption protocols and secure storage mechanisms, ensuring confidentiality and protection against unauthorized
access.

8. User-Friendly Interface: An intuitive and easy-to-navigate interface enhances user experience, making contact
management tasks simple and straightforward.

9. Multi-Language Support: The application supports multiple languages, catering to users from diverse linguistic
backgrounds and enhancing accessibility.

10. Cross-Platform Compatibility: The application is compatible with various operating systems and devices,
allowing users to access their contacts seamlessly across different platforms.

These features collectively contribute to the effectiveness and efficiency of the Phone Book Project, providing users
with a comprehensive solution for managing their contacts in the digital age.
FUTURE SCOPE

In the future, the Phone Book Application has the potential to undergo significant expansion and refinement,
driven by advancements in technology and the evolving needs of its users. One area of development lies in
enhancing security measures to provide users with even greater confidence in the protection of their data.
This could involve the implementation of advanced encryption protocols and biometric authentication
methods, ensuring that contact information remains secure and private.

Moreover, the integration of artificial intelligence (AI) and machine learning (ML) technologies holds
promise for transforming the user experience. By leveraging AI algorithms, the application could offer
predictive search suggestions, smart contact organization, and personalized insights based on user behavior.
These features would not only streamline contact management but also anticipate users' needs, making the
application more intuitive and user-friendly.

Additionally, the application's cross-platform collaboration capabilities could be expanded to facilitate


seamless synchronization with a wider range of digital tools and services. This would enable users to
integrate their contact lists with other productivity apps, such as calendars, task managers, and customer
relationship management (CRM) systems, enhancing productivity and workflow efficiency.
Furthermore, social media integration presents an opportunity to enrich contact profiles with additional insights
gleaned from social networks. By linking contact information to social media profiles, users could access a wealth of
additional information about their contacts, including recent updates, shared interests, and mutual connections. This
deeper level of insight would foster stronger relationships and more informed interactions.

Innovations in augmented reality (AR) and virtual reality (VR) technologies could also play a role in shaping the
future of contact management. Imagine a scenario where users can visualize their contact networks in immersive AR
environments or interact with virtual contact cards in VR spaces. These experiences would not only make contact
management more engaging but also provide new ways to organize and interact with contact information.

Furthermore, the adoption of blockchain technology could revolutionize data security and ownership within the
application. By leveraging blockchain's decentralized ledger system, users could maintain full control over their
contact data, ensuring transparency, immutability, and resistance to tampering or unauthorized access.
WORKING ALGORITHM

The provided code implements a simple phone book application in C, allowing users to perform various operations
such as adding, listing, modifying, searching, and deleting contact records. Below is a summary of the working
algorithm for this code:

1. Main Function:
- The main() function initializes the program by calling the start() function.

2. Start Function:
- The start() function calls the menu() function to display the main menu of the phone book application.

3. Menu Function:
- The menu() function presents the user with options to perform different operations such as adding, listing,
modifying, searching, and deleting contact records.
- Depending on the user's choice, the corresponding function is called to execute the selected operation.
- The menu function loops until the user chooses to exit the application.
4. Add Record Function:
- The addrecord() function prompts the user to enter details for a new contact record, including name, address, father's
name, mother's name, phone number, sex, email, and citizen number.
- The entered details are then written to a file named "project" in append mode.
5. List Record Function:
- The listrecord() function reads and displays all contact records stored in the "project" file.

6. Search Record Function:


- The searchrecord() function prompts the user to enter the name of the contact they want to search for.
- It then reads the "project" file to find and display the details of the contact matching the entered name.

7. Delete Record Function:


- The deleterecord() function allows the user to delete a contact record by entering the name of the contact they want to
delete.
- It reads the "project" file, copies all records except the one to be deleted to a temporary file, deletes the original file, and
renames the temporary file to "project".
8. Modify Record Function:
- The modifyrecord() function prompts the user to enter the name of the contact they want to modify.
- If the contact is found, the user can enter new details for the contact, which are then written back to the "project" file.

9. Got Function:
- The got() function is a utility function used to input strings character by character, allowing the user to backspace
and correct mistakes while typing.

10. File Operations:


- The program uses file handling functions (fopen, fwrite, fread, fclose) to manipulate contact records stored in a file
named "project".

This algorithm outlines the flow of operations and interactions within the phone book application, providing users with
functionalities to manage their contacts effectively.
CODE FOR Phone-Book Application
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<stdlib.h>
#include<windows.h>
struct person
{
char name[35];
char address[50];
char father_name[35];
char mother_name[30];
long int mble_no;
char sex[8];
char mail[100];
char citision_no[20];

};
void menu();
void got();
void start();
void back();
void addrecord();
void listrecord();
void modifyrecord();
void deleterecord();
void searchrecord();
int main()
{
system("color 5f");
start();
return 0;
}
void back()
{
start();
}
void start()
{
menu();
}
void menu()
{system("cls");
printf("\t\t**********WELCOME TO PHONEBOOK*************");

printf("\n\n\t\t\t MENU\t\t\n\n");
printf("\t1.Add New \t2.List \t3.Exit \n\t4.Modify \t5.Search\t6.Delete");

switch(getch())
{
case '1':

addrecord();
break;
case '2': listrecord();
break;
case '3': exit(0);
break;
case '4': modifyrecord();
break;
case '5': searchrecord();
break;
case '6': deleterecord();
break;
default:
system("cls");
printf("\nEnter 1 to 6 only");
printf("\n Enter any key");
getch();
menu();
}
}
void addrecord()
{
system("cls");
FILE *f;
struct person p;
f=fopen("project","ab+");
printf("\n Enter name: ");
got(p.name);
printf("\nEnter the address: ");
got(p.address);
printf("\nEnter father name: ");
got(p.father_name);
printf("\nEnter mother name: ");
got(p.mother_name);
printf("\nEnter phone no.:");
scanf("%ld",&p.mble_no);
printf("Enter sex:");
got(p.sex);
printf("\nEnter e-mail:");
got(p.mail);
printf("\nEnter citizen no:");
got(p.citision_no);
fwrite(&p,sizeof(p),1,f);

fflush(stdin);
printf("\nrecord saved");

fclose(f);

printf("\n\nEnter any key");

getch();
system("cls");
menu();
}
void listrecord()
{
struct person p;
FILE *f;
f=fopen("project","rb");
if(f==NULL)
{
printf("\nfile opening error in listing :");

exit(1);
}
while(fread(&p,sizeof(p),1,f)==1)
{
printf("\n\n\n YOUR RECORD IS\n\n ");
printf("\nName=%s\nAdress=%s\nFather name=%s\
nMother name=%s\nMobile no=%ld\nSex=%s\nE-mail=%s\
nCitizen no=
%s",p.name,p.address,p.father_name,p.mother_name,p.mble_no
,p.sex,p.mail,p.citision_no);

getch();
system("cls");
}
fclose(f);
printf("\n Enter any key");
getch();
system("cls");
menu();
}
void searchrecord()
{
struct person p;
FILE *f;
char name[100];

f=fopen("project","rb");
if(f==NULL)
{
printf("\n error in opening\a\a\a\a");
exit(1);

}
printf("\nEnter name of person to search\n");
got(name);
while(fread(&p,sizeof(p),1,f)==1)
{
if(strcmp(p.name,name)==0)
{
printf("\n\tDetail Information About %s",name);
printf("\nName:%s\naddress:%s\nFather name:%s\
nMother name:%s\nMobile no:%ld\nsex:%s\nE-mail:%s\
nCitision no:
%s",p.name,p.address,p.father_name,p.mother_name,p.mble_no
,p.sex,p.mail,p.citision_no);
}
else
printf("file not found");

} fclose(f);
printf("\n Enter any key");

getch();
system("cls");
menu();
}
void deleterecord()
{
struct person p;
FILE *f,*ft;
int flag;
char name[100];
f=fopen("project","rb");
if(f==NULL)
{

printf("CONTACT'S DATA NOT


ADDED YET.");

}
else
{
ft=fopen("temp","wb+");
if(ft==NULL)

printf("file opaning error");


else
{

printf("Enter CONTACT'S NAME:");


got(name);

fflush(stdin);
while(fread(&p,sizeof(p),1,f)==1)
{
if(strcmp(p.name,name)!=0)
fwrite(&p,sizeof(p),1,ft);
if(strcmp(p.name,name)==0)
flag=1;
}
fclose(f);
fclose(ft);
if(flag!=1)
{
printf("NO CONACT'S RECORD TO DELETE.");
remove("temp.txt");
}
else
{
remove("project");
rename("temp.txt","project");
printf("RECORD DELETED
SUCCESSFULLY.");

}
}
}
printf("\n Enter any key");

getch();
system("cls");
menu();
}
void modifyrecord()
{
int c;
FILE *f;
int flag=0;
struct person p,s;
char name[50];
f=fopen("project","rb+");
if(f==NULL)
{

printf("CONTACT'S DATA NOT ADDED YET.");


exit(1);

}
else
{
system("cls");
printf("\nEnter CONTACT'S NAME TO MODIFY:\n");
got(name);
while(fread(&p,sizeof(p),1,f)==1)
{
if(strcmp(name,p.name)==0)
{

printf("\n Enter name:");


got(s.name);
printf("\nEnter the address:");
got(s.address);
printf("\nEnter father name:");
got(s.father_name);
printf("\nEnter mother name:");
got(s.mother_name);
printf("\nEnter phone no:");
scanf("%ld",&s.mble_no);
printf("\nEnter sex:");
got(s.sex);
printf("\nEnter e-mail:");
got(s.mail);
printf("\nEnter citizen no\n");
got(s.citision_no);
fseek(f,-sizeof(p),SEEK_CUR);
fwrite(&s,sizeof(p),1,f);
flag=1;
break;

}
fflush(stdin);

}
if(flag==1)
{
printf("\n your data id modified");

}
else
{
printf(" \n data is not found");

}
fclose(f);
}
printf("\n Enter any key");
getch();
system("cls");
menu();

}
void got(char *name)
{

int i=0,j;
char c,ch;
do
{
c=getch();
if(c!=8&&c!=13)
{
*(name+i)=c;
putch(c);
i++;
}
if(c==8)
{
if(i>0)
{
i--;
}
// printf("h");
system("cls");
for(j=0;j<i;j++)
{
ch=*(name+j);
putch(ch);

}
}while(c!=13);
*(name+i)='\0';
}
SAMPLE OUTPUT

The provided code implements a basic phone book application in C, featuring functionalities such as adding, listing,
modifying, searching, and deleting contact records. The application presents users with a menu interface where they can
select their desired operation. Contact records consist of fields such as name, address, father's name, mother's name,
phone number, sex, email, and citizen number. Users can input contact details through the console, and the application
stores this information in a file named "project". Each contact record is represented by a structure named "person".
Additionally, the application incorporates basic input validation and error handling to ensure smooth operation. Overall,
the application provides users with a simple yet functional tool for managing their contact information.
Enter your choice: 1 (ADD NEW)
Enter your choice: 2 (LIST)
Enter your choice: 3 (EXIT)
Enter your choice: 4 (MODIFY)
Enter your choice: 5 (SEARCH)
Enter your choice: 6 (DELETE)
CONCLUSION

The development of the Phone Book Application represents a significant advancement in contact management
technology, offering users a comprehensive solution to organize and access their contacts efficiently in the digital
age. Through the implementation of a wide range of features and functionalities, the application aims to streamline
the process of managing contacts while enhancing security, usability, and accessibility.

By prioritizing user authentication mechanisms, the application ensures that sensitive contact information remains
secure and protected from unauthorized access. Integration with other platforms and applications enables seamless
communication and collaboration, empowering users to share contacts and initiate communication directly from
within the application.

The implementation of advanced search capabilities, customization options, and multi-language support enhances
user experience and satisfaction, catering to diverse user needs and preferences. Moreover, the application's
compatibility with various devices and operating systems ensures widespread accessibility and usability across
different platforms.
Data security measures, such as encryption protocols and compliance with data protection regulations, reinforce
user trust and confidence in the application's ability to safeguard their personal information. Furthermore,
accessibility features and adherence to accessibility standards make the application inclusive and accessible to
users with disabilities.

As technology continues to evolve, the Phone Book Application will evolve alongside it, incorporating user
feedback, emerging trends, and advancements in contact management technology to continuously improve and
enhance the user experience. Overall, the Phone Book Application serves as a valuable tool for individuals,
professionals, and organizations seeking efficiency, organization, and convenience in managing their contacts
effectively in today's interconnected world.
REFERENCES

[1].
https://youtu.be/eVqfNODGT1E?si=0gluf4APIyzFB0PQ

[2].
https://www.studytonight.com/c-projects/phone-book-application-c-language-project

[3].
Mini Project In C Phonebook - Code With C

[4].
http://csharp.net-informations.com/communications/csharp-chat-client.htm

[5].
Phone Book Management System In C With Source Code (itsourcecode.com)
THANK YOU

You might also like