This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:data:fall2022:projects:dll2 [2022/11/09 23:18] – [OUTPUT SPECIFICATIONS] dmuck | notes:data:fall2022:projects:dll2 [2022/11/11 01:23] (current) – [SPECIFICATIONS] zswartwo | ||
---|---|---|---|
Line 13: | Line 13: | ||
*For anybody interested in editing the wiki page, here is the dokuwiki user guide: https:// | *For anybody interested in editing the wiki page, here is the dokuwiki user guide: https:// | ||
+ | |||
+ | |||
+ | If one is confused as to what modes correlate to what settings, this can be found in the data.h file inside the inc directory. Note that the new display maintains all the functions of the old display, so it is likely time-efficient to copy over your old display and edit it, rather than starting from scratch. | ||
=====PROGRAM===== | =====PROGRAM===== | ||
Not too much to do besides display for this project. You are to add a qty similar to what we did in sll3 to all your functions that require it. Any functions that add a node, need to also increment the qty amount. While all the functions that remove a node, need to decrement the qty amount. The copy function now needs to copy the qty from the old list as well. Display will start from scratch with a fresh display.c file provided to you when you upgrade. | Not too much to do besides display for this project. You are to add a qty similar to what we did in sll3 to all your functions that require it. Any functions that add a node, need to also increment the qty amount. While all the functions that remove a node, need to decrement the qty amount. The copy function now needs to copy the qty from the old list as well. Display will start from scratch with a fresh display.c file provided to you when you upgrade. | ||
- | * qty handling in display/copy | + | * qty handling in [mklist], [append], [insert], [obtain] |
+ | * new modes for [display] | ||
=====OUTPUT SPECIFICATIONS===== | =====OUTPUT SPECIFICATIONS===== | ||
No new output from any function aside from display. | No new output from any function aside from display. |