This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
haas:summer2015:data:projects:sln0 [2015/01/29 00:19] – external edit 127.0.0.1 | haas:summer2015:data:projects:sln0 [2015/05/31 21:48] (current) – [Project] wedge | ||
---|---|---|---|
Line 90: | Line 90: | ||
<code c> | <code c> | ||
- | start -> next = tmp2 | + | start -> after = tmp2 |
</ | </ | ||
- | (as tmp was also pointing to the same node, we could just as easily have said "tmp -> next = tmp2", and we may have wanted to use that approach instead, as the idea behind **start** is to use it as an anchoring reference point only). | + | (as tmp was also pointing to the same node, we could just as easily have said "tmp -> after = tmp2", and we may have wanted to use that approach instead, as the idea behind **start** is to use it as an anchoring reference point only). |
The result of that assignment results in the following: | The result of that assignment results in the following: | ||
Line 111: | Line 111: | ||
<code c> | <code c> | ||
- | tmp3 -> next = start | + | tmp3 -> after = start |
</ | </ | ||
Line 214: | Line 214: | ||
Temporary variables come and go.. feel free to make use of them as needed; just make sure you don't overcomplicate a problem by using too many. | Temporary variables come and go.. feel free to make use of them as needed; just make sure you don't overcomplicate a problem by using too many. | ||
- | For this project, I would like for you to write me the necessary pseudocode and/or draw the necessary step-by-step pictures to correctly accomplish the following: | + | For this project, I would like for you to write me the necessary pseudocode and draw the necessary step-by-step pictures to correctly accomplish the following. The pseudocode should go in a file called **sln0.text** to be submitted, and pictures drawn can be submitted electronically (even uploaded to lab46 and submitted using the submit tool). |
+ | Do this for the following: | ||
====Building a list==== | ====Building a list==== | ||
Let's say we had a list generated with the following: | Let's say we had a list generated with the following: |