And then hash character takes in any string or character, single character, gives me back a number. Notice what I do.
然后哈希接受任何字符串或字母,单个字符,返回给我一个数字,注意我要做什么。
If you know you're not gonna output a full string %C but a single character, percent C will get that job done.
如果你不想输出一个完整的字符串,而是输出一个字母,就要用到。
Think of that the people in a democracy he says "coming together uniting together become like " a single human being with many hands and feet " " and he says "with greater character and mind."
想一下,他说,民主政体中的人民,“连结,统合在一起,变成像是单一的个体,多手多脚“,且如他所说,“含有较广的性格与心智“
But a char we've seen, a character being a single character.
正如我们看到的,一个字符就是一个单独的字符。
So it's these little differences that you'll very quickly acclimate to but it's these stupid little syntactic details that trips off, especially those less comfortable early on because if you leave out a single character, namely that semicolon on the right hand side, nothing will work.
你会很快适应这些,微小的区别,但我们正是要把这些罗里吧嗦的语法细节,尤其是那些让人非常头大的句子啃下来才行,因为如果我们一旦遗漏掉某个符号,譬如一个分号,从另一方面看来,很有可能什么都工作不了。
- We know from Wednesday if -- briefly -- that there's this thing called a "char" or "char," depending on how you want to pronounce it, which is just a single character but where there's also an int.
我们知道从周三起--简单说下-,我们有个叫做“char“或“char“,看你们怎么读它了,那代表一个单一的字符,但那里会有个整型数与之对应。
It gets really kind of trippy if you wanna output a backslash, \ you can't just use the backslash, \\ you need to use backslash backslash because otherwise a single backslash is confused with the so called escape character.
如果你想输出一个反斜杠,估计又得迷糊了,实际上,你不能直接用,而是要,否则一个\可能会被误认为,是转义字符。
应用推荐