This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
haas:fall2015:data:projects:sll3 [2015/08/25 10:08] – external edit 127.0.0.1 | haas:fall2015:data:projects:sll3 [2015/10/09 23:03] (current) – [list library] wedge | ||
---|---|---|---|
Line 37: | Line 37: | ||
Specifically, | Specifically, | ||
- | To implement **qty**, all list functions that perform manipulations to the list will need to see some updating (**insert()**, | + | To implement **qty**, all list functions that perform manipulations to the list will need to see some updating (**insert()**, |
**mklist()** should also set the list's **after** pointer to a sane initial state (NULL). | **mklist()** should also set the list's **after** pointer to a sane initial state (NULL). | ||
Line 45: | Line 45: | ||
====list library==== | ====list library==== | ||
+ | |||
+ | ===sll3 list functions=== | ||
+ | Here is what you should get for the specific functions relevant to sll3: | ||
+ | |||
+ | <cli> | ||
+ | lab46: | ||
+ | ====================================================== | ||
+ | = Verifying Singly-Linked | ||
+ | ====================================================== | ||
+ | [mklist] Total: | ||
+ | [cplist] Total: | ||
+ | [insert] Total: | ||
+ | [append] Total: | ||
+ | [obtain] Total: | ||
+ | ====================================================== | ||
+ | | ||
+ | ====================================================== | ||
+ | lab46: | ||
+ | </ | ||
+ | |||
+ | ===entire list=== | ||
Here is what you should get for all the functions completed so far in the list library (sll0+sll1+sll2+sll3): | Here is what you should get for all the functions completed so far in the list library (sll0+sll1+sll2+sll3): | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
====================================================== | ====================================================== | ||
= | = | ||
Line 54: | Line 75: | ||
[mklist] Total: | [mklist] Total: | ||
[insert] Total: | [insert] Total: | ||
- | [displayf] Total: | + | [displayf] Total: |
[getpos] Total: | [getpos] Total: | ||
[setpos] Total: | [setpos] Total: | ||
Line 60: | Line 81: | ||
[searchlist] Total: | [searchlist] Total: | ||
[cplist] Total: | [cplist] Total: | ||
- | [displayb] Total: | + | [displayb] Total: |
| | ||
[obtain] Total: | [obtain] Total: | ||
Line 68: | Line 89: | ||
[sortlist] Total: | [sortlist] Total: | ||
====================================================== | ====================================================== | ||
- | | + | |
- | ====================================================== | + | ====================================================== |
lab46: | lab46: | ||
</ | </ | ||
- | |||
=====Submission===== | =====Submission===== | ||
{{page> | {{page> | ||