Lists [Archive] - C Board

PDA

View Full Version : Lists


pgrammerdude
04-02-2008, 03:38 AM
Is it possible to create a circular link list with just one method?

Magos
04-02-2008, 04:41 AM
Yes!

pgrammerdude
04-03-2008, 03:18 AM
Would a circular double link list have a continuous loop in the output display if there were 3 nodes?

Magos
04-03-2008, 03:20 AM
If you're not careful when printing - Yes.

pgrammerdude
04-03-2008, 03:27 AM
Cool. Thank you. Mine loops continuously so i wasn't sure if there was a definite way to tell if it was written correctly by the output.

Thanks for the assistance.