Need help storing .dat file into struct

I need help with my program,the problem I am having with this code is that I cannot figure out how to get data from a .dat file, store it into a struct from a linked list. My program is working, but the code does not list the items from the .dat file and I don't know why it is not. The file is being opened correctly but it is not displaying anything. Please help, thank you

Last edited on
Do you see a problem with this?
1
2
	int count = 0;
	Element **pt = new Element *[count];


Also, you don't actually print out anything but the table headings anyway. There are no other couts.
Please DON'T remove stuff from your question once you've received an answer. It makes this thread useless as a learning resource for others.
Topic archived. No new replies allowed.