CPSC250A Assignment 100 - Concatenation

Due Wednesday September 21

The String class that we created in class can create and print strings, but not much else. To make it more useful add a concat method to it.

Details

The file concat.cc contains a program that allows the user to test concatenation in the String class. For this assignment write a function that overloads the + operator in the String class to perform concatenation. The function should create a new stack allocated String that is the concatenation of the specified strings.

Be sure to test your code on multiple examples and on the cs server.

Submission

Tar your code in a file that contains your name and submit it on course Inquire site.