提供一个流程名称作为输入,输入一个字符串。
在列中输入一个字符串值“ a ”,并确保包括引号。
Enter a string value "a" in the column and be sure to include the quotes.
为了对字段MIDINIT设置限制以便只能输入一个字符,请执行以下步骤。
To set a restriction on the field MIDINIT so that only one character can be entered, do the following.
Even though my statement said enter a number, in particular, raw input here simply takes in a set of characters and treats it as a string.
即使我的陈述说的是应该输入一个数字,实际上,这里的原始输入会被当做一个字符,的集合来提取并被当做一个字符串来对待。
I give it some character. It gives me back an integer representing. It looks weird.
我输入一些字符,程序返回给我一个整数的表示。
Well, get string again is returning the address of the string the user typed in, D the address of the very first character like the letter D and storing that address in this variable s1.
好的,GetString返回的是,用户输入的字符串的地址,第一个字符的地址,比如字母,然后把这个地址存储在这个变量s1中。
应用推荐