Recent content by SEGA

  1. S

    Comp Sci How do you return a string from a class member function?

    I want to know, how to make a CLASS FUNCTION to return a STRING. For example, taken that all variables are declared correctly. string personType::get() const { return firstName + " " + lastName; }