CS 102
[Schedule]
[Examples] [Programs]
[Notes & Reference] [Syllabus]
[Lab & TA] [Tests]
[Grades]
listprog1.c
Creating a linked list of numbers, and then finding the product or sum of the numbers.
listprog2.c
Builds on listprog1.c. Shows how to pass a struct pointer as a reference parameter to a function.
listprog3.c
Again builds on listprog1.c. Includes a recursive routine to reverse the list.linkedList.c
A generic program showing how to use a linked list of numbers. Based on the code given in Chapter 10 of Johnsonbaugh and Kalin's Applications Programming in C textbook.listInsert.c
Inserting numbers into a linked list in order. A Word version.
storeWords1.c
Storing words into an array of structs, where space is all allocated statically.
storeWords2.c
Storing words into an array of structs. Space is now allocated dynamically.
storeWords3.c
Linked list of words.
storeWords4.c
Linked list of words, storing words into the list from within a function
[CS Dept] [UIC]
[Prof. Reed]