Assignment 7 : CIS 208
Assigned: April 6th, 2005
Due: Wednesday, April 13th, 2005, by 5:00 PM.
Turn in hard copies to the CIS Main office and
email your source code (not compiled programs) to
sdg5476@ksu.edu.
This assignment is worth 10 points.
Write a C program that builds a String Buffer Abstract Data Type.
Specifically:
1) Two files are provided. useStrB.c
& stringB.h. The header file
defines the structure and functionality of a
string buffer. Write a C program that implements the functions
described in the header file.
2) useStrB.c is a test program. It will create many instances of
the stringB data type, apply different combinations
of the functions, and print out the results. The expected output
is provided. Note: a different program will be used to
grade the submittions.
3) Do not alter the header or test file. Of course, you may
create additional functions if necessary. Functions not in
the header file are internal only. The grading program will
only use the functions declared in the header file.