Recent content by SEGA
-
S
Comp Sci Help with C++ Strings: Create a Class Function to Return a String
The compiler write error-type- SEGA
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
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; }- SEGA
- Thread
- C++ Strings
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help