• >> They only use that when the program that you're running-- the program that you're referring to is going to your computer?

    >它只有在你运行程序的时候才用到-,那你刚刚提到的程序,会到你的电脑上运行吗?

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

  • We'll talk more about this later, but it often happens that when you change your program to solve one problem you break it, and things that used to work don't work.

    我们以后会更多的去讨论者一点,但是经常发生的情况是当你因为,一个问题修改你的程序的时候,你修改了程序,但原来没问题的模块。

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

  • You can touch almost any part of memory in the computer systems that you want with your program, but do you want to?

    通过你的程序,你可以触及到计算机系统,内存的任意部分,但是那是你想要的吗?

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

  • Then also you'll be asked to do identifying information if you print it out from the program itself, but if you go up to your web browser print option and print from that particular thing then you can do it and no identifying information will be necessary.

    如果你想直接从网上打印分析结果,就得提供个人信息,但是,如果你用浏览器中的打印选项,只打印营养分析结果,你就可以打印文件而无需提交个人信息

    耶鲁公开课 - 关于食物的心理学、生物学和政治学课程节选

  • So when someone comes to me, and they're about to do a test, I ask them, what do you expect your program to do?

    因此当很多人找到我想要,做一次实验的时候,我问他们你期待你,的程序返回什么结果呢?

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

  • What I don't want your program to do is crash when that happens. Or run forever.

    当这种问题出现时程序崩溃,或者一直运行下去。

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

  • And try and explain to them why you think your program is doing what it's doing.

    向别人解释你认为的程序作用,会给你带来很大帮助。

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

  • As a matter of convention and good style which is another theme of the course that we'll focus more - on on Friday onward, it's generally good to-- good style to actually describe in English even succinct English, what your program is doing.

    大家要养成一个良好的编程习惯,这是本课程另一个重要的中心思想,我会在本周五还有以后的课堂时间着重强调这个问题-,用简明扼要的语言,描述你的程序,是一种很好的编程风格。

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

  • Always guess before you run your program what you think it's going to do.

    当你运行程序之前,总是先想想程序会怎么做。

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

  • So in your mind, if you are now the computer program and you are executing this thing from top to bottom, what just has happened verbally is we are stepping into the line of code that says sort left half of elements.

    在你们看来,如果你现在是计算机程序,正在从上到下执行一系列指令,刚才所发生的就是我们现在已执行到了这行代码,它告诉你要对左半部分的元素排序。

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

  • I can't give it what it wants," know that when you're writing code and the problems that will remind of this, if you absolutely have to kill your program, you don't have to close the window, CTRL+C reboot crazy stuff like that, generally you can hit CTRL+C and it will just abort the program right where it is, in case you ever get trapped in some awkward situation.

    我不能给它所要的“,当你在写代码时,程序将,提醒这个问题,如果你不得不,关闭这个程序,你不需要关闭这个窗口,重启像那样的疯狂举动,通常你可以敲,它将会在这个地方终止那个程序,假使你陷入了尴尬的处境。

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

  • bug You're gonna run into innumerable bugs most likely, by bugs we mean mistakes, - behaviors that you didn't quite intend and yet they seem to be-- and yet your program seems to be misbehaving in some sense.

    你可能会制造数不清的,对了,我们称bug为错误或,你完全没有预料到的行为,但是它们的确存在-,这样看来,你的作品在某种意义上可以说是行为不端。

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

  • When you want to use a library like CS50's, you can't just run GCC on your program.

    当你想使用一些CS50的库,不是只运行GCC就够了。

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

  • But you'd like to write your program not in terms of floats and ints and lists, but in terms of mortgages, and CDOs, and all of the objects that you read about in the paper, the types you read about.

    但是你可以不基于,浮点型,整型还有链表来进行编程,而是基于一些房贷类,债务抵押债券类来编程,甚至那些你在报纸上看到的类。

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

  • - This one was among our favorite-- "I was you at the CS50 Fair; I went to your station ; to see your program, you were my best friend; but when our hands touched as you handed me a Smiley face sticker, my heart skipped a beat.

    这是我们最喜欢的-,“我和你一样在CS50大会上,我到你的网站看你的程序,你是我最好的朋友;,但是当我们牵手的时候,你传给我一张笑脸贴纸,我的心跳加速“

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

  • You hit control O to write out your program.

    按住control,O键来写程序。

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

  • Because even though it's a little confusing or a little sort of contradictory, the argument count includes the name of the program itself, -- which can actually be int useful because if someone -- if a producer changes the name of a program by renaming a file, you, the program still have access to your own name by this mechanism.

    因为即使它有点迷惑的,或有点冲突的,参数计数包括程序的名字,那个可以是int型的,因为如果有谁-,如果程序员通过重命名改变了一个程序的名字,你仍然可以用这个机制,使用你自己的名字。

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

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

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

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