From .dat to dynamic memory

Sory if there is another topic about that issue but can you please help me with making a code in C++ about reading a file(easy) and writing it into the tynamic memory. I've been trying to make it work but with no success. I can give you what I've done if you want. Plese give me some hints :).

the dynamic structure is struct item { int key; item *next;) *start=NULL;
That depends on the file format (.dat doesn't indicate any file format in particular and is usually used for custom formats).
Last edited on
Topic archived. No new replies allowed.