![]() |
circular link list
HEY GUYS CHECK IT OUT AND PLZ REPLY ON HOW IT IS.
Code:
#include <iostream.h> |
Re: circular link list
Er, yeah. It's code. What kind of help do you want with it? Is it doing something you don't expect, or not doing something you do?
It's also code without the [ code ] and [ /code ] tags, which is a lot harder to read than code correctlky formatted. Just paging through, I noticed you have the interesting concept of deleting from the beginning or end of a circular list. Please enlighten us all as to where the beginning and end of a circle can be found. |
Re: circular link list
The code is not even complete.
|
Re: circular link list
OP, if you want to work out how to write the code to complete the program, don't try to do it in your head, do it first on paper. It's not so easy to do in ASCII art but here is the method to insert into a linked list:
Code:
+-+ +-+ |
Re: circular link list
Similarly insertion into a double linked list goes along the lines:
Code:
+-+--nA->+-+ |
| All times are GMT +5.5. The time now is 08:33. |