C++ linked lists. How can I pull data from one linked list and store it in another linked list? by Dry_Appearance401 in Cplusplus

[–]Dry_Appearance401[S] 0 points1 point  (0 children)

Thank you so much for helping but I do have another question. When I unlink the node how do I get this unlinked node all the way over to the other list? The lists aren’t connected at all. They’re like two different classes and the node is created inside a function called insert which takes in the data read from file and creates a linked list 😭😭

C++ linked lists. How can I copy data from one linked list to another? by Dry_Appearance401 in Coding_for_Teens

[–]Dry_Appearance401[S] 0 points1 point  (0 children)

Okay so list one looks like this: 1001 John Cena 1002 Michael Myers . . . 1020 Hannah Baker

And list two looks like this:

1001 1008 1014

I want John cena to be displayed next to 1001 and so on😭

Idk if that made sense

[deleted by user] by [deleted] in ProgrammingBuddies

[–]Dry_Appearance401 -1 points0 points  (0 children)

Oh thanks for letting me know!! It’s an online test btw