Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

douably  linked list with thread

Posted on 2000-02-14
4
Medium Priority
?
218 Views
Last Modified: 2010-04-02
my list is sorted alphabetically and then the thread is supposed to go from decr number to incr.

My question is where in the add should i do the thread?  Any suggestions how?  Also where and how in delerte?
0
Comment
Question by:superdesio
  • 2
4 Comments
 

Author Comment

by:superdesio
ID: 2521345
the list has a name then a id number.  The primary ordering is the name then the id number goin from least to most.
0
 
LVL 7

Expert Comment

by:KangaRoo
ID: 2521731
I do not understand what you mean with 'thread' in this context.

Do you need to know about inserting and deleting from a sorted list?
0
 

Author Comment

by:superdesio
ID: 2525175
i have a doublely linked list that is sorted by name.  then i have  a third pointer in node that will order the  list by number
0
 

Accepted Solution

by:
sirwnstn earned 100 total points
ID: 2530156
Your question is a bit cryptic.  If you are asking about adding and deleting elements while keeping the integrity of the thread, I suggest keeping a pointer to the front and end of the thread.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question