For this lab, you are welcome to get technical help from another student on how to use or install any of the tools involved. You may also get syntax help on C. You may not, however, get help on the algorithmic portion of the exercise outside of office hours or piazza questions to TAs or instructors.
During this warmup, you are going to implement the functions that exercise strings, structs and pointers for which you wrote skeletons in the pre-lab. If you are using Duet Programming, do not forget to trade off after each function. The functions are ordered to provide specific practice to each student.
You will implement main and test files differently this time. Instead of listing your test cases in order, make sure you check the first command-line argument (after the executable name) for the test, and the rest of the arguments for the inputs. Your tests need to be in a file named testscript.
You need to do chmod +x testscript so that you can execute the file. To execute the tests listed in the file, type "./testscript".touch testscript svn add testscript chmod +x testscript
For a given function, the Implementer will implement the code and the Strategist will design test infrastructure and create the tests in the testing script.
$ svn commit -m "hw4 warmup complete"