July 7th, 2012, 10:12 AM
Mapping a linked list issue
I am new to the forum and I kindly ask for help (excuse me for my bad language)
I have a task to write a program Simple Diary (in C++) which has to store notes in a text file but the program have to use data structure. More over the program has to have the ability to search notes by date and print those notes, but the contents of the file must be loaded into the program each time the program starts.
I thought to use list to store the notes into a text file and if the user wants to search, the contents of the file to be stored into another list. Then I wanted to map this list in order to be able to search notes by keyword (date) and print it on the screen if there is a match.
The problem is that I do not know how to map a linked list. Please help me on this. (If there are posts of this kind, please point me to them.)
Thanks in advance.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!