Notes on Homework 3
- Look out for repeated code.
- Many of you have designs that will probably lead to repeated code.
- Look and see if you have essentially the same code in multiple algorithms.
- See if you can find a way to abstract idea to reduce the amount of code you need to write.
- Consider encryption and decryption of a shift
- The algorithm is the same, the only difference is a multiplier (either add an amount or subtract an amount)
- This can be done by an additional parameter.
- If your functions are too big on paper (in the design phase) they will almost certainly be too big in implementation.
- Use this as a time to break your code into smaller pieces.
- Make sure you use the document as given.
- Fill in the headers, otherwise you are not putting your name on the project.
- Follow the instructions
- If you don't know what to do, ask.
- If you need help with word, ask.
- The input file is fixed. You don't need to ask for it.