I did not understand this question?

Use the string class in C++ to complete the following functions: (1) input two strings,
(2) then reverse the first string and connect it with the second string to replace the first
string, (3) and finally output the new first string
How do I solve it?

You’ve already broken down the process… so just change the steps you’ve already written into code. :slight_smile:

I did not understand how to write the code