CS Behind the Curtain (CS195 2003S)
Primary:
[Front Door]
[Current]
[Glance]
-
[Blurb]
[Disabilities]
[Honesty]
[Instructions]
[Links]
[Search]
[Syllabus]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
ECA:
[About]
[Grades]
[Quizzes]
[Submit Work]
[Change Password]
[Reset Password]
Misc:
[Walker/Fall 2001]
[SamR]
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 ctime
to get some initial information on
conversion operations.time_t
. What should we do?time_t
to-string and from-string
operations. You could convert to a string when writing to the file
and unconvert when reading.time_t
is a long int
(>/usr/include/bits.h
).
For portability, to write you should assign your time variable to
a long int
and write that long int
and to
read you should read into a long int
and 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.
n
to 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]
Primary:
[Front Door]
[Current]
[Glance]
-
[Blurb]
[Disabilities]
[Honesty]
[Instructions]
[Links]
[Search]
[Syllabus]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
ECA:
[About]
[Grades]
[Quizzes]
[Submit Work]
[Change Password]
[Reset Password]
Misc:
[Walker/Fall 2001]
[SamR]
Disclaimer:
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 http://www.cs.grinnell.edu/~rebelsky/Courses/CS195/2003S/Homework/hw.06.html
.
You may wish to
validate this document's HTML
;
;
Check with Bobby