Hello, I am playing with a test program to explore the functionality of the common linkedList.h algorithm. This algorithm has been written and is well known, there is an example in the book that I am referencing and many examples on the web... however I am curious about the lastIndexOf() and the set() functions. I cannot find any examples where these have been implemented or used in a test program. Every linkedList.h that I have seen has these functions prototypes but no implementation, they have been left out of the algorithm. Can someone who has used these before help me understand their purpose? Why are they in the list of prototypes but never implemented?
A linked list is a commonly known container, not an algorithm. It can be implemented in a variety of ways, not just one.
We do not have the same file as you do, so you will have to copy and paste the code [code]between code tags[/code] for us to know what those functions do.