• Another Facebook user in Japan, Mitsutoshi Sato,wrote: It was a frightening experience.

    VOA: special.2011.03.12

  • First of all, he wanted to imbed in his upcoming high potentials the user application of really advanced investment theory.

    首先,他希望,即将到来的潜力人才,学会运用,先进的投资理论。

    麻省理工公开课 - 媒体、教育、市场课程节选

  • And we will show you exactly how you can write programs that actually interact with the user in that way.

    我们将给大家示范如何,书写代码以及跟用户交互。

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

  • "Some of our projects have looked at what we call situational impairments, which are challenges to accessibility that are caused more by the situation or context that the computer user is in instead of maybe as we usually think of accessibility as having to do with someone's own physical or cognitive state."

    VOA: special.2011.04.18

  • I can't rely on the user. I want to make sure I get a float in it, so how do I do that?

    我想确保这儿我得到的是一个浮点数,我该怎么做呢?

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

  • In this case, to optimize for the best of the whole community and the whole user base and over the long term and that's important too, your long over short term.

    在这个前提下,去寻求整个社会,以及所有用户的长远利益的最大化,这十分重要,我们寻求长期利益,而非眼前利益。

    斯坦福公开课 - 扎克伯格谈Facebook创业过程课程节选

  • This is also the classification of user's needs in our search box.

    这是根据用户需求,进行的分类。

    斯坦福公开课 - 百度CEO李彦宏演讲:全球最大搜索引擎的发展课程节选

  • Anything that tells him to sense something like the user's mouse or the edge of his screen is actually purple in color; and so they're nicely colorized and all this but the one that's adventurous right now is this.

    能够让计算机感知鼠标或屏幕边缘的图块,都是紫色的;,这些图块五颜六色,但这里有一个不太靠谱的按键。

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

  • Its name is malloc for memory allocation and what malloc does for us is we say, hmm, the user has typed in a three-letter word.

    它为我们分配内存地址,它为用户输入的3个字母单词,分配地址。

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

  • That is the address in memory in the heap of the first byte that the user typed in.

    那是用户输入的字符串第一个字节,内存中堆的地址。

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

  • It was a complete waste of time, unless the goal in life was simply to pester the user for some input.

    刚才的时间就完全浪费了,除非那个唯一的目的,是简单地纠缠用户索要一些输入。

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

  • In this case, I'm going to get back the answer 3 F-O-O because the user typed in F-O-O, but wait a minute, what's with this?

    假若这样,我得到了答案3,因为用户输入了,等一下,用这个干吗?

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

  • So, summarizing better, assert is something you put in to say to the user, make sure you're giving me input of this type, but I'm going to guarantee you the rest of the code works correctly. Exceptions and exception handlers are saying, here are the odd cases that I might see and here's what I'd like to do in those cases in order to try and be able to deal with them.

    所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。

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

  • When you've been typing in words to the keyboard like your name or any word that you're trying to provide to the user, a string really looks like this.

    当你们通过键盘键入单词,比如你的名字,或者你想提供给用户的任何单词,一个字符串实际上看起来就是这样。

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

  • But odds are it's not sufficient just to get it from the user, I, the human need to be handed whatever this function got from the user in some form.

    如果只是从用户,我这里获取,好像有点不太准确,我们得交出,该函数从用户那里得到的一切信息。

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

  • We look at what emails you reply to if you reply in theory that suggests this user must care about whoever sent this email or the topic they are in.

    我们看看哪些邮件要回复,如果你回复了,理论上来说这表明了用户一定很关心,发件人以及邮件的主题。

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

  • Notice in this program I have not checked whether or not the user actually provided input.

    就拿这个程序说事吧,我们根本没有检查,用户到底有没有输入。

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

  • Well, the user, I don't know in advance what the user is going to type in, right?

    我不能预先知道,用户将要输入神秘,对不?

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

  • Let's assume that the user typed in a pretty short word we didn't run out of memory or anything crazy so here's the new feature.

    假设用户输入,很短的单词,没有出现超出内存之类的问题,这里是新的特点。

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

  • We've been using strings thus far to get input from user and store it in variables.

    迄今为止,我们用字符串来接受用户的输入,然后存储在变量里。

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

  • s1 We're assigning to s1 the string that the user typed in.

    我们把用户输入的字符串赋值给。

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

  • It's your user name that appears in these messages.

    你们的用户名显示在这些消息当中。

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

  • That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.

    这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。

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

  • I can't rely on Professor Guttag if I give this- if this code to him, I can't rely on him to type in a float. Actually I can, because he's a smart guy, but in general, I can't rely on the user-- I wouldn't do it right to see if you did.

    当Guttag使用这段代码的时候-,我不能相信他一定会输入一个浮点数,实际上我能因为他很聪明,但是总体上来讲,别相信用户一定会按照规则来-,我会故意做错来试试你的程序的。

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

  • So now, in a program and you're asking the user for a string.

    我们再回到程序里,向用户要一个字符串。

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

  • In fact they interact with the user.

    实际上,代码是与其使用者相互作用的。

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

  • 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中。

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

  • 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中的单词,的第一个字母转换成大写的。

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

  • It's defined in CS50's library; its sole purpose in life is to ask the user for a floating point value and return it.

    它被定义在CS50的函数库中,它的唯一目的是,向用户询问一个浮点数的值,然后返回它。

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

  • So actually thinking about how humans interact with machines and how you can optimize your so called user interface or GUI interface is also one of the themes in this particular field.

    因此考虑人与机器如何交互动,以及如何优化所谓的用户界面,或者GUI界面就是这个特殊领域的一个主题。

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

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

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

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