... // 字符串长度 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.
此警告意味着在应当使用字符串比较函数的位置使用了字符串复制函数。
This program tries to store to an unallocated memory location by doing a string copy from arr to the p variable. The expected result is a SEGSEGV signal, as you can see
这个程序试图在一个尚未分配的内存中保存数据:它执行一个字符串复制操作,将 arr 中的数据复制到 p 变量中。
Copy this string so it can be used in the next step.
复制这个字符串,以便在下一步中使用。
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.
我想要在内存中有一个拷贝,把字符串存储在,两个不同的地方。
应用推荐