The first character must be a number between 1 and 9, and the next three characters must be a number between 0 and 9 or an uppercase character between A and Z (see Listing 4).
第一个字符必须是 1 到 9 间的数字,后三个字符必须是 0 到 9 间的数字或是 A 到 Z 间的大写字符(参见 清单 4)。
A key that, when pressed in combination with another key, gives the other key an alternative meaning; for example, producing an uppercase character when a letter key is pressed.
当一个键与另一个键组合使用时,它可改变另一个键的含义,例如,在按下某个字母键时产生大写字母。
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.
为了演示这个技术,我特意编写了一个函数,该函数接受一个ASCII字符、加载它、将其转换成大写并存储回去。
s2 So, I'm passing in the first character in s2, I'm making it uppercase and then I'm putting it back so casually speaking this is just capitalizing the first letter of whatever word the user typed in to s2.
那么,我把第一个字符传递给,我把它转换成大写的,然后存下来,简单说,这就是把用户输入s2中的单词,的第一个字母转换成大写的。
应用推荐