I need help on how to integrate elements linked to the rank list.i already have a list of seven figures to be that the elements that must be included in the right of such a position that the salary arrangement upward
And the work of the Union and the intersection between 2 nodes
Nidaa87
0
Newbie Poster
Recommended Answers
Jump to PostRead the Rules as you've been asked, and the post titled Read Me: Read This Before Posting.
Jump to PostIt might help to explain your problem is you show something that illustrates what you want to do, because I have no clue what you want.
Jump to PostSo what you really want to start with is something simple like "isMemberOf".
A union is merely a membership test to see if the item is in either list.
An intersection is a membership test to see if the item is in both lists.How much of the …
Jump to PostYour formatting leaves a lot to be desired.
void linkedList :: create() { node *newl = NULL; node *end = newl; int data; head = NULL; cout << "\nCreate the List. Press <ENTER> after each entry\n"; for(int i = 0; i <= 5; i++) { cout << …
Jump to PostLike I said, a function called "isMemberOf" would be a really useful primitive for working out intersection and union
// return true if val is in the list bool linkedList::isMemberOf( int val );
All 18 Replies
Nidaa87
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Nidaa87
0
Newbie Poster
Salem
5,138
Posting Sage
Nidaa87
0
Newbie Poster
Nidaa87
0
Newbie Poster
Lerner
582
Nearly a Posting Maven
Nidaa87
0
Newbie Poster
Salem
5,138
Posting Sage
Nidaa87
0
Newbie Poster
Salem
5,138
Posting Sage
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Nidaa87
0
Newbie Poster
Nidaa87
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Nidaa87
0
Newbie Poster
Salem
5,138
Posting Sage
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.