This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2015:data:projects:sll1 [2015/09/25 16:01] – [list library (so far)] wedge | haas:fall2015:data:projects:sll1 [2015/10/01 23:01] (current) – [Errata] wedge | ||
---|---|---|---|
Line 11: | Line 11: | ||
This section will document any updates applied to the project since original release: | This section will document any updates applied to the project since original release: | ||
+ | * Clarification: | ||
* __revision #__: < | * __revision #__: < | ||
- | |||
=====Objective===== | =====Objective===== | ||
We've commenced on our list explorations, | We've commenced on our list explorations, | ||
Line 21: | Line 21: | ||
====header file==== | ====header file==== | ||
- | In **src/inc/** is the list header file: **list.h** | + | In **inc/** is the list header file: **list.h** |
For this project, we're going to be implementing the following functions: | For this project, we're going to be implementing the following functions: | ||
Line 27: | Line 27: | ||
<code c> | <code c> | ||
List *append(List *, Node *, Node *); // append new node into list after specified place | List *append(List *, Node *, Node *); // append new node into list after specified place | ||
- | Node *searchlist(List *, int); // is there a node containing value in list? | + | Node *searchlist(List *, char); |
List *cplist(List *); // duplicate existing list | List *cplist(List *); // duplicate existing list | ||
void displayb(List *, int); // display list backwards | void displayb(List *, int); // display list backwards | ||
Line 75: | Line 75: | ||
Figure out what is going on, make sure you understand it. | Figure out what is going on, make sure you understand it. | ||
- | **NOTE:** None of these files denote an entire runnable program. These are merely standalone functions. The various programs under the **testing/** directory | + | **NOTE:** None of these files denote an entire runnable program. These are merely standalone functions. The various programs under the **unit/** and **app/** directories |
You will also notice there are function prototypes for these list library functions in the **list.h** header file, located in the **inc/** subdirectory, | You will also notice there are function prototypes for these list library functions in the **list.h** header file, located in the **inc/** subdirectory, |