Program 2 - 'Xstr library'
DUE 11am Monday Mar 10, 2008
Now available:
- Dave's sample XstrTest.c and XstrTest.h files for some non-trivial Xstr
testing.
- Updated Mon Feb 25 03:55:54 2008! Version 1.0 of the 'Xstr' man page (as
text, as
PDF, as
groff source).
- New Mon Feb 25 03:55:54 2008! Version 1.0 of the
optional, extra credit 'XstrExtra' man page (as text, as
PDF, as
groff source).
- The Xstr.h header file defining the public
interface for the Xstr library.
- XstrDemo.c. A tiny source file giving a
partial sample of Xstr library usage. Can be compiled with
gcc -g -Wall -ansi -pedantic XstrDemo.c Xstr.c -o XstrDemo
(once you've got your Xstr.c starting to exist.)
Notes:
- Start now! There's a lot to read (START NOW!) but a lot of the
functions you write turn out to be trivial!
- Anything marked implementation-dependent in the man page is up to you the
implementor to decide what to do.
- Anything marked as [optional] in the man page is for extra
credit!
- Email me questions!