Linked list with multiple data elements per node

Nov 5, 2012 at 9:05pm
Hi, I have a conceptual question, because I am completely stuck on how to write a program. I need to write an address book that holds contacts' names, birthdays, and anniversaries, but is sorted alphabetically using a linked list. I am confused on how to do this, because I'm not sure how to associate the info for birthdays and anniversaries with the names WHILE sorting the list alphabetically via linked list (I was able to do it with arrays but that's not how I'm supposed to do it). I read somewhere online that I could build the info into a class a link the class? That was for a java program though, and it wasn't elaborated on. Would this be a way to do it? Or is there a much easier/more obvious way I am overlooking?

Thanks
Nov 6, 2012 at 10:23pm
closed account (D80DSL3A)
Post removed due to reply timeout.
Last edited on Nov 15, 2012 at 11:01pm
Topic archived. No new replies allowed.