electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

doubly_linked list


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> doubly_linked list
Author Message
zeos



Joined: 22 Sep 2004
Posts: 11


Post24 Dec 2004 17:33   

doubly_linked list


hi,
can someone explain to me what doubly_linked list is,, does anyone have source code which uses linked list???hope you can help me
Back to top
cedance



Joined: 24 Oct 2003
Posts: 704
Helped: 28
Location: Germany


Post24 Dec 2004 18:01   

Re: doubly_linked list


hi,

a linked list simply contains a pointer for the next item in the list and the next item alone. but in a double linked list every item, there is a pointer which could be made to point the next item and another pointer to point to the previous item.

By pointing, i mean that it would contain the address of the next or previous item....

Reg the refereces or source codes.. there are plenty of books available online for download.. also u could make a google search for getting the codes.. it would not have that much difficulty.. good luck...

/Am
Back to top
banh



Joined: 16 Dec 2004
Posts: 472
Helped: 12


Post25 Dec 2004 15:03   

Re: doubly_linked list


zeos wrote:
hi,
can someone explain to me what doubly_linked list is,, does anyone have source code which uses linked list???hope you can help me


you can search around on google... depending on what language you're familiar with.
Back to top
Google
AdSense
Google Adsense




Post25 Dec 2004 15:03   

Ads




Back to top
asemnor



Joined: 08 Mar 2005
Posts: 27


Post22 Mar 2005 13:23   

Re: doubly_linked list


A doubly linked list is a list of items with each item pointing to the next item in the list and the last item pointing to the first item.
This can be implemented in C++ by using structures for the nodes of the list and a class as the list manager.Eg

typedef struct Node* nodePtr;

struct Node{

int item;
nodePtr next;
}//This will form the node of the list

To make it doubly linked depends on the ilplementation of the insertion function.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> doubly_linked list
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Request: Plz list VLSI companies List with Address & Mai (2)
programming list (5)
linked list (3)
IP Purchase List (5)
list of RF IC manufactureres (6)
list of RF companies (3)
list of univ (2)
Sensitivity list (10)
FREE SAMPLE LIST... (313)
Free CPU List (18)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS