I have a class called stringcreator. A constructor in that class is defined as
stringcreater ( const char different[] ). The constructor's job is to construct an array to hold a charater string.
However, I want any string to be inputted by a user of the program. Hence I'm using the following in main()
Constructors are meant to do some primary initialization for the class that it's part of, not anything it's not part of. In this case, you don't need a constructor.
You have a constructor for stringcreator that initializes the char array (either to an empty string
or copies the string passed into the constructor, I would guess).