Summary: In this assignment, you will build a simple to-do list in C.
Assigned: Wednesday, 9 April 2003
Due: Friday, 18 April 2003
Details: Write a simple interactive to-do list in C. Each element in the to-do list should consist of
The interface to your linked-list library should include the following operations:
You may also add others you deem appropriate.
Design Options: It is up to you whether you implement a generic linked list library, a specific to-do list library, or both.
More Details Forthcoming.
Questions and Answers
time.h. You can use
man ctimeto get some initial information on conversion operations.
time_t. What should we do?
time_tto-string and from-string operations. You could convert to a string when writing to the file and unconvert when reading.
>/usr/include/bits.h). For portability, to write you should assign your time variable to a
long intand write that
long intand to read you should read into a
long intand then assign to the variable or field of type
time_t. That way, C's implicit coercion will handle any size differences.
most importantthing with different metrics of
important(priority, time, etc.), it may be had to decide which is appropriate.
[s]can the list, one at a time.
nto have your program move on to and then print the next element.
Wednesday, 9 April 2003 [Samuel A. Rebelsky]
Sunday, 13 April 2003 [Samuel A. Rebelsky]
I usually create these pages
on the fly, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Fri May 2 14:19:39 2003.
The source to the document was last modified on Mon Apr 14 08:14:11 2003.
This document may be found at