• And so you'll learn over time both by seeing and by doing that there are generally some good ways, some okay ways, and some bad ways of actually writing code.

    久而久之,你们将通过看和实践来学习到,这里通常有很好的方法,还行的方法,很烂的方法来编写代码

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

  • And I want to suggest that what we've done is, we've outlined a lot of the basic elements of programming. A lot of the basic elements we're going to need to write code.

    我想提醒大家我们学习的是,我们学习了很多关于,编程的基础的东西,一些我们编写代码需要的基础的东西。

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

  • Everything inside of the curly braces is the code I am writing.

    所有在大括号里面的代码都由我们自己编写

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

  • By the time you get to the end of the term, you're going to be dealing with some fairly complex things, so one of the things you're going to see is, we're going to make heavy use of libraries, or code written by others.

    当你临近期末的时候,你们将要解决一些,相当复杂的难题,因此你们将会看到的其中一点是,我们要充分利用图书馆,或者别人编写代码

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

  • You need to be able to read that code and understand it as well as write your own.

    你需要有能力,像编写,解读并理解那些代码

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

  • It's inside the memory of the machine, which means we have access to it, we can change it, we can use it to build new pieces of code, as well as we can interpret it.

    它在机器的存储器里面,就是说我们可以进入它,改变它,可以用它来编写代码,当然也可以翻译它。

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

  • Again, imagine if I'm a writing a piece of code.

    请再次想象一下我正在编写一段代码

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

  • stdio h This file here is called standard I/O or stdio.h and this is just another text file someone else wrote many years ago and by using that line of code there, I'm telling the computer, give me acces to this code that this other person wrote that's in that file.

    在这里的头文件称为标准输入输出文件或,这是由某位前人编写的文本文件,我们只需要刚才所述的一行代码,就能告诉电脑,让我连接到,这个前人在那个文件中写的代码

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

  • And that's so you can write small pieces of code.

    这就是你可以编写短小的代码

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

  • This is telling GC to yell at why you as often as possible, even about the smallest things to really push you to write the best, the most secure, the most correct code possible.

    这说明为什么GCC尽可能地经常地提醒你,即使是一些最小的事情,来要求你能够,编写出最好的,最稳定的,最正确的代码

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

  • And we hope that at the end of the class, every time you're confronted with some technical problem, one of your first instincts is going to be, "How do I write the piece of code that's going to help me solve that?"

    并且我们希望到了期末,每当你要面对一些,技术问题的时候,你们的本能之一将会是:,“我怎么才能编写一个代码,来帮我解决这问题?“

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

  • Now that I've written sqrt, I can just use it anywhere I want in the code. You've got to rely on the fact that I wrote it correctly, but you can basically suppress the details of how it's used.

    就是忽略细节,既然我已经编写了sqrt函数,我可以在代码的任何地方使用它,你完全可以依靠,我已经编写的这个函数。

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

  • You open what we call the "text editor," the specific one we used on Wednesday was called Nano, -- which is similar to Notepad or TextEdit -- totally simple, kind of dumbed down but in a useful way so that you can just focus on writing code and not learning some new interface.

    你先打开那个“文本编辑器“,就是我们周三用过的叫做Nano的编辑器,这个跟写字板和记事本差不多-,非常简单的,只是通过一种有用的方法而进行精简了的,所以你们可以把注意力集中在编写代码上,而不需要学习一些新的界面操作。

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

  • So you have to somehow convert the source code, the C code into 0s and 1s and for that process there exist this tool called a compiler that someone else wrote that takes this stuff as input and produces this stuff as output.

    所以你必须把源代码,即C语言代码转换成二进制文件,这个过程就需要我们提到的编译器了,它是由别人编写的一个软件,以这些代码作为输入,将会产生的输出。

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

  • - So now if Christiana doesn't actually -- if either programmer or who's programming these little puzzle pieces, don't actually do anything with this return value, and I call, get int, she wants to hand this piece of paper -- to me, but if I don't actually assign -- no, no, I just messed up the demo.

    现在如果Christiana没有-,如果程序员或谁在编写这段代码,不要对这个返回值做任何事情,我调用GetInt,她把这张纸给我,但是如果我没有赋值-,不,不,我刚才把这个演示搞乱了。

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

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

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

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