CSCI 1730 Programming Project 7 Summer 2009 Questions and Answers Q1: I find myself confused with the string set template constructor. How should the array of strings be initialized? A1: The template type T for StringSet supplies a set of strings and a correspondence with an initial segment of the nonnegative integers. The idea is that every object of type StrinSet will represent a subset of the strings supplied by T. The default constructor should create an empty set of strings, and the constructor StringSet( int ) should construct the set of all strings supplied by T, no matter what actual integer is supplied as the input parameter. Q2: If n=5 is passed to the constructor, should it construct an array of size five with " " as each element or what should the elements be? A2: No, it should construct the set of all strings supplied by T (called Tsset in the project description.) Q3: And since it is static, is there anything special that needs to be done in consideration? A3: What is static is the member functions usize( ), toi( ), and toa( ) of T. Since they are static, you don't need an object of type T in order to access them; just use T::usize( ), etc.