---------- Post updated at 01:05 PM ---------- Previous update was at 01:03 PM ----------
HI,
I am trying to write a program for single linked list. But the problem is the in the while loop in the below written program the value of the nodes created is not getting saved.
Like for example if I try to display the list..all I get is 0 10
Pls help me understand this.
thnx in advance
Prince
Last edited by Corona688; 02-26-2013 at 05:47 PM..
i have a linked list set up like
typedef struct client_list {
char *client_name;
int client_socket_fd;
struct client_list *next;
} client;
client *client_list=NULL;
before adding to the list i check if it already exists, only if it does not then i add
if (client_list==NULL... (1 Reply)
can someone provide an example of a struct linked list, where it has strings as its values, and then how do I check if a specific string (say called buffer) exists in the list of structs?
i dont understand how to make a copy of it to check with
this is what i have
... (0 Replies)
Hi, I am programming in kernel, and I want to use a double linked list that holds infos that every process could access and modify THIS list. So, I suppose it is a 'global' variable since every process(thread) can reach it, I am wondering where to put it? by changing some of the kernel files? (1 Reply)