Okay for an assigment I have to create a date book using a linked list, but I am having trouble getting the thing to link and display. My display loop is infinite for some reason and data entry fills my entire list with that one node's data. I am also supposed to be able to delete, save to a file, restore from finle and clear the list. However, the list doesn't work. Someone give me a hand please.
void newEntry(object *newEvent);
using namespace std;
void newEntry(object *newEvent)
while(temp != 0)