c_str () returns a string that is owned by your string1 object. This object gets deleted at the end of the function, and so does the return value ...
確定! 回上一頁