方法修改,但upcase方法只返回大小写修改后的字符串副本。
Method, but just the upcase method returns a copy of the string with case changed.
此时,标准库负责处理所有的内存管理问题,我们不必再担心每一次修改字符串时涉及到的大小问题。
Now the library handles all memory management, and we need no longer worry if the size of either string changes.
此时,标准库负责处理所有的内存管理问题,我们不必再担心每一次修改字符串时涉及到的大小问题。
Now the library handles all memory management, and we need no longer worry if the size of either string changes.
应用推荐