• If somewhere later on in the code it shifts to string, I might not be manipulating that and getting actual values out, but not what I wanted, and it's going to be really hard for me to chase it back.

    然后后面的一些代码,把变量类型变为了字符串,我可能不会通过实际操作,去取得实际的变量的类型,但是这并不是我想要的类型,而且对我来说把类型,变回去也很困难。

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

  • If you talk to string theorists, they will tell you there are really, how many dimensions?

    如果你和弦理论家交流,他们会告诉你到底有多少维度

    耶鲁公开课 - 基础物理课程节选

  • It says, if I want to print out something I built in Cartesian form up here, says, again, I'm going to pass it in a pointer to the instance, that self thing, and then I'm going to return a string that I combine together with an open self and close paren, a comma in the middle, and getting the x-value and the y-value and converting them into strings before I put the whole thing together.

    这不仅仅是个列表,它是怎么来做的?,流程是:如果我想要返回,一些已经在笛卡尔模式下建好的值,好,再说一遍,我首先要传入一个,指向实例的指针,也就是,然后我会返回一个,由开括号,闭括号,中间的一个逗号,以及提前转换为字符串格式的。

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

  • printf And then I'm gonna use the same printf line after that to actually plop it into this formatted string.

    我还是要用到,来把它转换成格式化字符串。

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

  • These joint undertakings are like,well, you might think of them analogous to playing chamber music with a string quartet.

    这种共同行为,就像是用弦乐四重奏演奏室内乐。

    耶鲁公开课 - 死亡课程节选

  • The head of a string of pigs appeared, snout-up, over the ditch, and he had to screech to a stop and watch the rear of the last pig disappear shaking into the ditch on the other side.

    这时候出现了一群猪,仰着鼻子走过水渠,他只好用一个急刹车,目送着最后一只猪大摇大摆地跨过水沟,消失在另一端。

    耶鲁公开课 - 1945年后的美国小说课程节选

  • And what are the strings up to in terms of string technique here?

    这里弦乐的演奏技巧,是为了表达什么

    耶鲁公开课 - 聆听音乐课程节选

  • The violin string extends from x equals zero to x equals L, and we pluck the violin string.

    弦从X轴指向原点,让x等于L,然后我们拉直那根弦。

    麻省理工公开课 - 固态化学导论课程节选

  • It says if this is a string of length 0 or 1, I'm done. I'm going to return the answer true.

    我就会返回答案为真,否则的话我得判断它。

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

  • Notice what it says. I'm going to pass in 1 a string, call it s, binds it locally, and it says the following.

    然后看接下来的内容,接下来说的是如果这个字符串的长度等于,那么我就成功了。

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

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

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

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

  • But really, the computer's just so fast I'm drawing the same string with just a slightly different number again and again after going to sleep one second at a time.

    但是真实地,这个计算机到现在为止,我一次又一次用稍微不同的数字,绘画了相同的字符串,在睡眠1秒钟之后。

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

  • So if I want to use a string as we'll call it which is a word or phrase generally, they always go between double quotes, David hence the quotes around David, and they are double quotes not single quotes intentionally.

    当我们要表示单词啊,词组啊,句子啊等等这样的东西时,就会用到字符串,它们位于双引号之间,也就是这里双引号之间的,是双引号,不是单引号哦。

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

  • STUDENT: Good question. Sounds like a reasonable guess How in the world am I going to compare a string to a number?

    学生:不可闻的声音:,很好的问题,听起来像一个很合理的猜测,我到底该怎么对一个字符串,和一个数字进行比较呢?

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

  • So there are all sorts of different little technique things you can do to create different colors and sounds on all string instruments, so this applies to any of them.

    在所有弦乐器中,都能用很多小技巧,来制造不同的音色和音质,这些技巧对任何弦乐器都适用

    耶鲁公开课 - 聆听音乐课程节选

  • So it's a useful way of not quite knowing in advance what you want to put in a string, but being able to create strings, phrases, sentences, dynamically.

    这是一个很有用的方法,如果你之前不是很了解,在句子中要加入什么,但是这个方法可以,动态地创建字符串,短语,句子。

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

  • So, let's do a little sanity check now and let's try to demonstrate as much I now claim I'm going to capitalize the copy of the string I just made.

    多以,让我们做一个检查,然后做一个演示,现在我声称,我要利用那个字符串的拷贝。

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

  • There's a whole bunch of blocks that we'll look at in more fun detail on Friday but I'm going to pick the easiest one here and I'm going to type Hello CS50 in this string, "Hello CS50", zooming in say how nice the puzzle pieces are nicely interlocked?

    今天我们看到的各种图块,到下周五我会仔细讲解其中的精妙之处,但今天我只想举一个最简单的例子,我要在这儿键入字符串,放大窗口,然后看看这漂亮的图形和文字,是如何美妙地连结在一起的?

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

  • And it boils down to modifying the format string with just a simple number.

    它归结于是用一个简单的数字来,修改字符串的格式。

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

  • Well, what does it mean to copy a string?

    嗯,复制一个字符串是什么意思?

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

  • I just doubled the indentation each time so you can see it. So each successive call, notice what's happening. The argument is getting reduced. And we're going another level in. When we get down to this point, we're calling it with just a string of length one.

    因此每次成功调用注意它的过程,我们的命题不断简化,而且我们不断深入嵌套,当我们走到这一步的时候,我们就是在调用它处理,仅有一个元素的字符串了。

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

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

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

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