Recent content by SEGA
-
S
Comp Sci How do you return a string from a class member function?
The compiler write error-type- SEGA
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
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; }- SEGA
- Thread
- C++ Strings
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help