Beruflich Dokumente
Kultur Dokumente
TECHNOLOGY
ANNA UNIVERSITY, CHENNAI 600 044.
B.Tech Information
Technology(3/8)
1
SOCIAL NETWORKING
SYSTEM
Project members:
S.No.
Name
Register no.
1.
SANJAYANBU.A
2013506100
2.
SANTHOSHKUMAR.D 2013506101
Project Guide:
Mrs. B.Lydia Elizabeth ,
I
T Department,
Madras Institute of Technology,
Anna University, Chennai- 600 044.
2
INTRODUCTION:
Social networking system mainly coordinates
people and helps to find people having common things in
between them. This project mainly aims to entertain
people. It has many options to entertain. Some of them
are finding friends, Sending messages to friends.
SOCIAL NETWORKING:
This project aims to entertain people by sending
messages to friends and also helps to gain new friends. In
this project, Each user has given a separate login system
to enter into the menu. The menu displays several
choices. The user has to input his choice based on his
wish. The corresponding function is called.
Source code:
Implementation of Graphs:
struct AdjListNode
{
int dest;
struct AdjListNode* next;
};
4
struct AdjList
{
struct AdjListNode *head;
};
struct Graph
{
int V;
struct AdjList* array;
};
struct AdjListNode* newAdjListNode(int dest)
{
struct AdjListNode* newNode =
(struct AdjListNode*) malloc(sizeof(struct
AdjListNode));
newNode->dest = dest;
newNode->next = NULL;
return newNode;
}
struct Graph* createGraph(int V)
{
5
Output:
Implementation of graphs:
Friend requests:
Conclusion:
Thus
program
to
implement
social
networking system using graphs was implemented
successfully and checked with various cases of
input. More additional options can be made based
upon the users request.
10