Ok, I have an assignment where I have been given a class definition (for a custom string class) and I need to simply write the member function definitions and such. One of the constructors is confusing me. This is it:
Code:
Mystring(char *);  // Convert a C-style string
Ok, now what is char * exactly? I would think that there needs to be another variable in there. Is it just a pointer or something? Second, what is meant by "Convert a C-style string"? Does it mean to just take the information and place it in an array within my class? Lastly, once I know what (char *) is, how can I incorporate it in the function to do the intended task since it has no variable name?