使用大写转换来转换所有值。
你需要将一个字符串从大写转换为小写,或者相反。
You need to convert a string from uppercase to lowercase, or vice versa.
现在,我们考虑一下如何将这个算法应用于当前的大写转换代码。
Now, let's think about how you might apply this algorithm to your current uppercase-conversion code. For reference, here is the original code in convert_driver_c.c
接下来,让我们将有关MF c复合intrinsic的知识应用到大写转换程序中。
Now I'll apply this knowledge of the MFC composite intrinsics to the uppercase conversion program.
注意,因为这段代码只处理缓冲区,所以除了大写转换特有的函数调用之外几乎没有特殊代码。
Note that since this code only deals with buffers, there is almost no code except the function call which is specific to uppercase-conversion.
现在键入实际进行大写转换的函数(作为convert _ to_upper . s输入)。
Now enter the function that actually does the uppercase conversion (enter as convert_to_upper.s).
现在从第2行到第4行的字母都转换成了大写字母。
除了一个监听器将输入字符串转换成大写字母之外,监听器的代码完全相同。
With the exception that one of the listeners converts the input string to uppercase, the code for the listeners is exactly the same.
例外情况,一个监听器将输入字符串转换成大写字母,而另一个将其转换成小写字母,这对于监听器所编写的代码都是完全相同的。
With the exception that one of the listeners converts the input string to uppercase, while the second converts the string to lowercase, the code for the listeners is exactly the same.
用该值结合大写和小写值间的差执行转换。
You use that, combined with the difference between the lowercase and uppercase values, to perform the conversion.
当用户更改编辑框的值时,该值将立即转换成大写。
When the user changes the value of the edit box, the value immediately goes to uppercase.
将选择的文字从大写字母转换为小写字母(反之亦然);
Convert a selection of text from uppercase to lowercase (or vice versa).
convert _ to_upper函数接受任意字符的地址,转换为大写并将其存储回去,不返回任何东西。
The convert_to_upper function takes the address of an arbitrary character, converts it to uppercase, and then stores it back and returns nothing.
or UPPER U CASE (p. d escription)返回一个字符串,其中输入值中的所有字母字符都已转换为大写。
UCASE, or upper UCASE (p.description) Returns a character string in which all alphabetical characters in the input value have been converted to uppercase.
之所以这样,是因为RACFRDEFINE命令会在提交到 RACF前将所有字符转换为大写。
The reason this is necessary is due to the manner in which the RACF RDEFINE command converts all characters to UPPERCASE before submitting to RACF.
计算节点UpperCase将接收到的文本字符转换为大写形式并通过TCPIPClientOut put节点发送到Socket 1113。
The compute node UPPERCASE turns the text character received into UPPERCASE and then sends out the message through the TCPIPClient Output node to Socket 1113.
好的,一种处理这个问题的方法是将两个字符串变量($a)及目标文本(RIPT)都转换成小写或者大写字符。
Well, one way to handle that is to convert both the string variable ($a) and the target text (RIPT) to all-lowercase or all-uppercase characters. This command returns the value True
转换成大写的字母(如果是小写)
它们只是分别将字符串都转换成大写字母或小写字母。
They simply convert the string to all uppercase or all lowercase letters, respectively.
您可以看到,该方法将字符串转换为大写字母。
As you can see that method converted the string to uppercase.
有些标准化规则非常简单,不需要进行大量的工作,如将混合使用大小写的数据转换为大写数据。
Some of the standardization rules are straightforward and do not require significant effort, such as converting mixed-character data into upper case.
为了演示这个技术,我特意编写了一个函数,该函数接受一个ASCII字符、加载它、将其转换成大写并存储回去。
To illustrate the technique, I'll write a function that takes the address of an ASCII character, loads it, converts it to uppercase, and stores it back.
在这一点上,您也可能编辑映射并应用任何关于数据所需的转换(例如,将字符串转换为大写)。
At this point, you may also edit the mappings and apply any required transformations on the data (for example, converting strings to uppercase).
请注意,数据类型名称和属性在WSDL文件中全部转换成大写形式。
Notice that the data type name and the properties are all converted to uppercase in the WSDL file.
上一篇文章最后给出了一个名为 convert_to_upper 的函数,它一次操作一个字节,并将字符串转换成大写格式。
The last article ended with a function called convert_to_upper, which operated one byte at a time to convert a string to uppercase.
如果filename属性被填充,则取得文件扩展名,并将其转换为大写形式。
If the filename attribute is populated, the file extension is pulled off and converted to uppercase.
清单3显示了两个监听器中其中一个监听器的代码,该监听器接收通过消息总线传送的CaseModel,然后将提供的文本转换为大写体和小写体。
Listing 3 shows the code for one of two listeners that receive the CaseModel delivered through the message bus and convert the provided text to upper and lower case.
要想获取所需的所有四行,可以使用XQuery函数fn:upper - case把city元素值转换为大写并与“PARIS”做比较。
To catch all four rows that you require, you can use the XQuery function fn: upper-case to convert the city element values to upper case and compare them to "PARIS."
NET类可以直接转换成Ruby类,而命名空间是以Ruby模块的形式表示,在Ruby中两者都会使用大写驼峰表示法。
NET classes can directly translate into Ruby classes and .NET namespaces are represented as Ruby modules — both of these are always named using Upper CamelCase in Ruby.
NET类可以直接转换成Ruby类,而命名空间是以Ruby模块的形式表示,在Ruby中两者都会使用大写驼峰表示法。
NET classes can directly translate into Ruby classes and .NET namespaces are represented as Ruby modules — both of these are always named using Upper CamelCase in Ruby.
应用推荐