Thats the only thing -le shrug- I couldnt exactly find a way to test it, im still looking in my book. Bizarre i know, but this entire thing has been so stressful I am not sure how to create a list of objects xD
Well its not necessarily that I even know. The main issue is that I have gone all over the internet and gotten conflicting signals on how to create an empty singly linked list using a dummy head and I am not sure now how to even check if what I have is right. Most of the stress revolves around creating the Dummy Head.
Hey everyone, Ive been trying in vain to figure out what I am supposed to do for this. I have been all over the internet for days, and every time I think I got it right I find something else that makes me think otherwise.
What I am trying to do is set up a constructor for a singly-linked list that makes the list empty. I also have absolutely no idea how to create a Dummy head, and to complete my assignment I need to implement one.