Recent content by SEGA

  1. S

    Comp Sci Help with C++ Strings: Create a Class Function to Return a String

    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; }
Back
Top