... // 字符串长度 string length //**** 字符串考贝 string copy //**** 字符串比较 string compare ...
基于1个网页-相关网页
This warning indicates that a string copy function was used where a string comparison function should have been used.
此警告意味着在应当使用字符串比较函数的位置使用了字符串复制函数。
Copy this string so it can be used in the next step.
复制这个字符串,以便在下一步中使用。
Hence, to append to a string, you must make a copy of it.
因此,要在一个字符串后面附加上字符,必须对其进行拷贝。
So, let's do a little sanity check now and let's try to demonstrate as much I now claim I'm going to capitalize the copy of the string I just made.
多以,让我们做一个检查,然后做一个演示,现在我声称,我要利用那个字符串的拷贝。
If I want a copy of the string, I've got to whip out my week 1 skills of just iterating with a four loop from left to right and make copies of those characters.
我需要那个字符串的一个拷贝,我使用,第一周的技巧,从左到右做四次迭代,然后复制这4个字符。
I want an actual copy in memory so that that string is in two different places.
我想要在内存中有一个拷贝,把字符串存储在,两个不同的地方。
应用推荐