Need some help on writing code
Hello everyone,
Thanks for listening, here is my dilemena. I am working on a lab from my Data Structures and Algorithms class, and I am stuck thanks to some poorly worded instructions, at least in my mind. Here is the paragraph giving me trouble, if you need to know more about the code please say so in your reply. This is program has a header, driver, and implemenation file, and all rest of the code works fine.
"Implement the setPos function. This is supposed to set currentPos to the value of the arguement. Of course, you must not allow the current position to become illegal, current always represents an ordinal position (1 means first, 2 means second, etc.) In addition, if a list has 2 items, current must be 'first', 'second', or 'third'. The last case indicates that the 'end of the list' is the current position. If setPos is given an illegal arguement, it is to ignore the request (do nothing). Build project to be sure you have no syntax errors."
Maybe that all makes more sense to one of you. If you want to see my code thus far, I can email it to you if needed. Once again, thanks for listening.
Andrew