CMPT 212 Assignment 4
Yihang Tang (DeathMaster@NastyThing.com)
Thu, 27 Nov 1997 16:37:17 -0800
Hi there,
I'm having some trouble with the display function in student, instructor and
programmer classes.
void display(char *);
This function is passed a pointer to a
character string, and the function writes the
information about the person into that string.
The format of the information can be seen
in the sample program: in the display of people
in the list, each line is the string returned
by this function.
As stated above, display function in student class should return a string
like "STUDENT: Yihang Tang(CMPT)", right? How can I append several strings
into one single string? Any predefined function in string.h will do this
job?
Thanks for your help.
Regards,
Yihang