Assignments, Sep 14:

Assignment P4:

Design the interface for a subroutine called stcat(char * s, char *t, ??).  This program is supposed to create a new string, which is the concatenation of strings s and t.  You may add extra arguments, and specify the return value’s type.  What is the problem here?  What are several ways it can be solved?

 

Assignment P5:

Write the function stcat().  Submit it as P5, using submit_cps149s.2 P5 <files>, and include a main program which tests it.