A project with code for Lab. 1, problem 9 (polynomials) with reading and printing of polynomials implemented. (The other functions, i.e. addition, subtraction, etc. have empty (do-nothing) bodies). | Code for reading input of Lab 7 |
The Laboratory Guide in electronic form | The laboratory Guide, available at the University Library |
|
Erata for Laboratory Guide: | on page
7, first code snippet, inside the while loop, the
if should be if ( p−>key ==
givenKey ) with double
equals sign instead of single
equals. on page 10, after "Another choice is to look for a key..." in the code section the "do-while" should end with the line while(p != pNode) instead of while(p != NULL)
|
Singly linked
list example code. Singly-linked
list with separated test
Doubly linked
list example code.
C source code from Lab Guide is available (click on link below):
Lab 01 | Lab 02 | Lab 03 | Lab 04 |
Lab 05 | Lab 06 | Lab 07 | Lab 08 |
Lab 09 | Lab 10 | Lab 11 | Lab 12 |
Last revisited on 11/10/2007 06:14:26Last revisited on 11/06/2007 11:22:42
|