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变量中。
Normal methods (those without the exclamation point at the end) modify and return a copy of the string they were invoked upon.
常规方法(结尾没有感叹号)修改并返回调用它们的字符串的副本。
Translators need to open the glossary database, copy an English string, translate it, and store the strings in the new language to the glossary database.
翻译器需要打开词汇表数据库,复制英文字符串,翻译字符串,然后将用新语言表达的字符串存储到词汇表数据库。
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个字符。
The function strncpy (3) can also be used to copy only a part of the source string into the destination.
函数strncpy(3)还可以用来仅把源字符串的一部分复制到目标中。
So the very last two lines of code I'm saying this, s2 the original string is s1, the copy of the string is s2, but if I haven't lost you, what are we really going to see when we print this?
最后两行代码是这样的,原字符串是s1,那个字符串的拷贝是,但是如果我没有忘记,当我们打印的时候,我们将看到什么?
Here we copy the current arg, indexed by argno (which was initially set to 1, to point to the first actual arg after the command itself) to string var s1.
这里,我们将由argno(初始时被设为1以指向命令本身后的第一个实际参数)索引的当前参数复制到字符串变量s1。
No longer do we have to copy and paste a long string of text, because who can remember that thing, anyway?
我们再也不需要复制粘贴一大串文字了,因为无论如何,有哪个家伙能把那玩意儿全背出来?
This is awesome. No longer do we have to copy and paste a long string of text, because who can remember that thing, anyway?
这太棒了。我们再也不需要复制粘贴一大串文字了,因为无论如何,有哪个家伙能把那玩意儿全背出来?
After the transfer, you use the data in that structure to copy the string itself into your buffer in the local store using another DMA transfer, and wait for it to complete.
传输之后,使用那个结构中的数据来将字符串自身复制到本地存储的缓存区内,方法是借助另一个dma传输并等待它完成。
To implement the logic to do the transformation between the business object and the XML string, copy the code in Listing 4 to the class ContactComponentImpl.
要实现业务对象与xml字符串之间传输的逻辑,将清单4中的代码复制到类ContactComponentImpl。
If the string-pooling option, [/GF], is enabled in Visual C++, then a single copy of the string is kept in the program image during execution and string1 equals string2.
如果在Visual C++ 中启用了字符串池选项 [/GF],那么在执行期间,将在程序的映像中仅保存该字符串的单个副本,且string1 与 string2 相等。
Apart from IE, browsers try to expand the memory allocation for the string on the left of an expression and simply copy the second string to the end of it (see Figure 5-1).
除ie以外,浏览器尝试扩展表达式左端字符串的内存,然后简单地将第二个字符串拷贝到它的尾部(如图5 - 1)。
You can cut, copy, and paste string resources between rows in the strings editor; however, you cannot paste individual values or comments.
可以在字符串编辑器中的行之间剪切、复制和粘贴字符串资源,但是不能粘贴单个值或注释。
I want an actual copy in memory so that that string is in two different places.
我想要在内存中有一个拷贝,把字符串存储在,两个不同的地方。
Return a copy of the string s with trailing whitespace removed.
返回一个字符串的副本年代尾随空格移除。
How to copy the contents of a string variable to the clipboard?
如何将一个字符串变量的内容复制到剪贴板?
Returns a copy of this string converted to lowercase, using the casing rules of the specified culture.
根据指定区域性的大小写规则返回此字符串转换为小写形式的副本。
How to copy multiple files and rename them at once by appending a string in between the file names in Unix?
如何复制多个文件重命名他们立刻通过追加一个字符串在UNIX文件名之间?
A copy of the string with all white-space characters removed from the start of the string.
字串的复本,已经从字串的开头移除所有泛空白字元。
Returns a copy of this string converted to lowercase.
传回此字串转换为小写的版本。
Return a copy of the string s with leading whitespace removed.
返回字符串的副本删除前导空白。
I tied a string around the diaper box and mailed it without a self-addressed stamped envelope, and without making a copy of the manuscript.
我用绳子扎好尿布盒就把它寄了出去,既没有附上一个写好回信地址贴好邮票的信封,也没有把手稿复印一份。
I tied a string around the diaper box and mailed it without a self-addressed stamped envelope, and without making a copy of the manuscript.
我用绳子扎好尿布盒就把它寄了出去,既没有附上一个写好回信地址贴好邮票的信封,也没有把手稿复印一份。
应用推荐