• And then hash character takes in any string or character, single character, gives me back a number. Notice what I do.

    然后哈希接受任何字符串或字母,单个字符,返回给我一个数字,注意我要做什么。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So, when in doubt, if you're having some weird character issue, odds are you need to escape it in some way.

    如果你有拿不准的字符,可能就要用到转义字符了。

    哈佛公开课 - 计算机科学课程节选

  • f truth is the recognition of the systematic character of a certain kind of error, then it would be fully dependent on the prior existence of this error.

    如果真理是,对一种错误的系统化字符的认可,那么它会完全依赖于这个错误的先前存在。

    耶鲁公开课 - 文学理论导论课程节选

  • So now here's the idea. I build a list 256 elements long, and I fill it up with those special characters none.

    所以这里就是这种思想6,我创建了一个可以放下256个元素的列表,然后我以这些没有实际意义的字符将其填充。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • It's not just 140 characters, it's potentially $140 because they can't make the sale.

    这并不只是140个字符的问题,它只是潜在的140美元,因为这些字不能卖出去。

    斯坦福公开课 - Twitter之父Jack.Dorsey演讲:好奇和灵感的力量课程节选

  • The Greeks borrow that with typical Greek innovation.

    希腊人用他们典型的创新手段,借用了这些字符

    耶鲁公开课 - 古希腊历史简介课程节选

  • It turns out when we call string a string, we're really referring not to those characters but to the address, the location and memory of those characters.

    当我说字符串时,我并不是指这些字符集,而是指地址,就是这些字符集在存储器中的位置。

    哈佛公开课 - 计算机科学课程节选

  • C So here I'm declaring a variable called c, and I'm pretty much translating the formula from the slide using the characters on my keyboard to a floating point value.

    这里我声明了一个变量,然后我把那个幻灯片上的公式,用键盘上的字符翻译成了,浮点数值。

    哈佛公开课 - 计算机科学课程节选

  • And there's a few things going on here, so clearly there is multiple sprite, multiple characters, and recall from last week that each sprite has its own set of strips or programs.

    我们可以看到许多东西,譬如,很明显我们可以看到有许多小精灵,许多字符,想想上周,每个精灵还自有一套,程序。

    哈佛公开课 - 计算机科学课程节选

  • FOR c It's going to say FOR c, which was my name for the character in that string.

    那么循环要去做什么呢?循环要去说,也就是字符串中字符的名字。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Usually with just two, maybe three characters, a character that you can't really see as well on the screen, otherwise, so a new line character.

    通常需要两到三个字符,这些字符你们在屏幕上是,看不到的,这个是换行字符

    哈佛公开课 - 计算机科学课程节选

  • 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.

    即使我的陈述说的是应该输入一个数字,实际上,这里的原始输入会被当做一个字符,的集合来提取并被当做一个字符串来对待。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • 0 And we'll also see backslash 0 which is actually the special character that's used at the end of a string to say no more string after this point in memory.

    还有0,用于存储器中字符串末尾,表示在此之后就,没有字符了。

    哈佛公开课 - 计算机科学课程节选

  • If you want to escape certain characters, you need to use these so-called escape sequences.

    如果你想与其他字符隔开,你就要用到所谓的转义字符

    哈佛公开课 - 计算机科学课程节选

  • That's pretty good 'cause now, I can pretty much cover my American keyboard pretty effectively both upper case, lower case, and a whole bunch of punctuation. For other languages as in aside, there are other encoding schemes when there are more characters.

    那是相当不错的,它可以包含整个美式键盘中的字符,包括大小写字母和一连串标点,对于其他语言,当涉及更多字符时就会有其他的编码体系。

    哈佛公开课 - 计算机科学课程节选

  • I print out -- and this is only wrapping - because of the big font -- I print out, "I demand that you give me a positive integer."

    我打印出来--这个字符相互覆盖了,因为用的是大字体-,我打印:“我需要你给我一个正整数“

    哈佛公开课 - 计算机科学课程节选

  • So with eight bits can you express 256 possible characters?

    用八个比特你就可以表达256个可能的字符

    哈佛公开课 - 计算机科学课程节选

  • But a char we've seen, a character being a single character.

    正如我们看到的,一个字符就是一个单独的字符

    哈佛公开课 - 计算机科学课程节选

  • A string is a contiguous sequence of characters aka bytes.

    字符串就是一串,字符,亦称字节。

    哈佛公开课 - 计算机科学课程节选

  • In the case of integers it was easy.

    情况非常简单,在字符的例子中。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Well it turns out a bunch of years ago people just decided that if we have the ability to express numbers and we actually care about expressing letters of the alphabet, well we just need some kind of mapping between one and the other, ASCII and so thus was born what's generally called the ASCII.

    结果证实,数年前,人们觉得如果我们,有数字表达能力,而我们真正在乎其实是字符的表达,那么我们就需要数字和字符的某种对应关系,于是就有了俗称的。

    哈佛公开课 - 计算机科学课程节选

  • The string three times the number three?

    字符3乘以数字3?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • How many characters are in it?

    里面有多少字符

    哈佛公开课 - 计算机科学课程节选

  • 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.

    如果你想输出一个反斜杠,估计又得迷糊了,实际上,你不能直接用,而是要,否则一个\可能会被误认为,是转义字符

    哈佛公开课 - 计算机科学课程节选

  • 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个字符

    哈佛公开课 - 计算机科学课程节选

  • I give it some character. It gives me back an integer representing. It looks weird.

    我输入一些字符,程序返回给我一个整数的表示。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Now for the hacker edition, if you are feeling up to a bit more of a challenge you'll find that when you run the game, one it's not all that hard to use some ASCII art just make it a little fancier as the teaching fellow who implemented this solution did.

    对于升级版,如果你能应付更大的,挑战,你会发现当你在玩这个游戏时,用一些字符画把它做得,比那些教学人员做的更有新意,并不是那么困难。

    哈佛公开课 - 计算机科学课程节选

  • But this is perhaps a very simple example of ASCII art.

    这是字符艺术方面一个非常简单的例子。

    哈佛公开课 - 计算机科学课程节选

  • Seventy-nine is, of course, the letter O so we're almost there.

    当然,79代表字符

    哈佛公开课 - 计算机科学课程节选

  • So this part is the cookie cutter stuff.

    所以这是个可以插入字符的括号。

    哈佛公开课 - 计算机科学课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定