I am stuck on it completely. First I dont know where to create the new data strings, whether it should be in my header class or tenstrings.cpp? Also I am confused on what the question is asking me? Should I create an array of empty strings? or an array of String1, string2, string3, etc? Please help clear this up as much as you can. Or even post the Part B ONLY solution if you can since im completely lost. Here is my code so far from Part A:
1 2 3 4 5 6 7 8 9 10 11 12 13
tenstrings.h
#define TENSTRNGS
#include <string>
using namespace std;
class TenStrings
{
public:
// Default Constructor
TenStrings();
};
#endif
Thanks again. Please understand me as a beginner and try to post as much detail to part B question as possible. I dont quite understand what the question wants me to do.