In part of this assignment you were to send me email containing your version of mystrtok.
Each was tested by using cut and paste from your email to produce a file containing your code and linking it to a test program.
You can find a copy of the test program
here.
I have replied to each email with the output of the test program.
It is up to you to try to figure out what went wrong and to correct your
function before turning in assignment 1.
I have extended the due date for Assignment 1 until Monday, February 13.
Only 5 of the submitted programs passed all of the tests.
Some failed for trivial reasons, including incorrectly formatted comments.
Some did not compile because of simple typos in the source.
Some failed because they only used the first character in the delimiter string.
A few only failed on the last test, one in which the source string contained
only delimiters.
Note that strspn, strpbrk, etc. are library routines
and should not be used in this function
.
Some named their function incorrectly.
It should be mystrtok, not mystrtok_r or myStrtok.
In these cases I renamed the function to test it.
If you sent me more than one copy, I sent more than one reply, but only tested
the latest one sent.
This assignment was graded on the basis of 20 points.
If your mystrtok passed all of my tests you got full credit.
If not you got 15 out of 20.
If you think that the tests run did not reflect the correctness of your program please see me after class or during my office hours. I will be happy to discuss your program with you, but I will not debug it.