I'm having issues with this program. When I enter more than 2 extra I.d's and try to use the display function it'll only display the head and the tail of the linked list. It's almost as if the middle links have completely disappeared.
Line 80: A newly created node that should be added is check for the previous node?
Line 82: You replace the passed node with an again newly created node (memory leak).
The else in addSong creates two new nodes which doesn't make sense at all.