• Right, so there's that special sentinel value that's back slash zero, which we'll start to see more explicitly now.

    对的,这里有一个特殊的值“反斜杠0“,我们等下会更了解它。

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

  • * The only thing that matters is the slash star here */ and the slash star at the bottom of this.

    我们唯一要关注的是这里的,还有底部的。

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

  • And this little slash here means an in inexact differential.

    请注意这里的小横杠,说明这不是一个准确的微分。

    麻省理工公开课 - 热力学与动力学课程节选

  • So I've removed the comments, the things that start with slash slash from the slides just so you have an opportunity engage more intellectually rather than just reading the answers off the screen.

    我把注释去掉了,那些双斜杠,右边的文字,所以这样你你们可以做一些思考,而不是阅读屏幕上的答案。

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

  • I could have done this in another way but I am going to just be extra deliberate so I make sure that this copy ends with back slash zero and voila, now, I have a copy.

    我可以用另外一种方式来处理,我确保这个拷贝由反斜杠0结尾,那样,现在我得到了一个拷贝。

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

  • So let me challenge you with this: inside of these curly braces where I have put a comment with slash slash -- a "comment" means nothing here gets compiled, it's just for the human to read.

    让我用这个来挑战你们:,在这些花括号里面,我通过双斜杠写入了一个注释,-一条“注释“在这里不会被编译,它只是用来我们阅读的。

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

  • hi3 Whereas Hi3, I just created, it happens to live in this directory but my computer doesn't know that so you do dot slash which says current directory.

    至于我刚刚创建的,它正好位于我电脑不知道的位置,所以你必须敲入,/,这代表当前目录。

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

  • When the program is on your computer you say dot slash and this means on my computer.

    当程序位于你的电脑上时,敲入,就意味着在我的电脑上运行。

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

  • * So at top left we have a slash and a star - and that says everything that follows that-- those symbols is just a comment.

    在左上角,大家可以看到,这是用来告诉大家,所有跟在它后面的-,标记都只是注释而已。

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

  • a out >> So the dot slash the A out thing-- >> Uh hmm.

    >那个-,>>,嗯。

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

  • So hopefully there is indeed a way to fix this, but it looks as though the division operator, the single slash is division but -- and here's a curiosity about many programming languages -- because 17 is an integer and because 13 is an integer, why do I say that?

    我的确希望有一个方法来修正这个错误,但是看起来,好像那个除法操作,那个斜杠是除法,但是--对于很多编程语言来说,是挺奇怪的--因为17是一个整数,13也是一个整数,为什么我这样说?

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

  • There's the name of the program including the dot slash.

    这里有程序的名字,包括。

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

  • Now I'm typing dot slash as a convention.

    现在我输入。

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

  • > So is there a slash letter command for printf they could just like type you know what I mean?

    >,所以这里有一个斜杠字母命令,来printf,他们可以像,【听不见的】你懂我的意思吗?

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

  • The back slash zero, right?

    是反斜杠0,对不?

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

  • So it does that for us so that you can get away with just knowing the address of the first byte and it will make sure that you know when to stop by including the special value so, in fact, get the string if you type in a three-letter word, we allocate four bytes no matter what because we need an additional byte 0 for this special sentinel value back slash zero at the very end.

    它为我们做了这些事情,这样我们就可以,通过第一个字节的地址,它还可以通过包含一个特殊的值,来保证在哪里停止,如果你输入了一个三个字母的单词,就可以获得那个字符串,不管怎样,我们分配四个字节,因为我们在末端需要一个额外的字节,来保存这个特殊的标志值--反斜杠。

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

  • dot slash hello" runs the program what do we often see if you omit -- little sanity check -- the "dot slash" ?

    ,/hello“是用来运行程序的,我们经常看到的,如果你省略--作为一点提醒--那个“,/“呢?

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

  • Because I know this program was saved by default into my current folder, my current directory, so dot slash means run the program called a.out that's right here in my current directory not in, like, a out my applications folder or somewhere else.

    程序默认保存在,当前目录下的文件夹,/意味着运行这个名为“a,out“的文件,是我当前目录下的文件,而不是应用程序文件夹或其他别的地方的。

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

  • skittles So when you compile a program called A dot out, or skittles or wherever, and you double-click that program, or our in our command line environment, run it with dot slash skittles, that program is loaded Microsoft Word into memory just like Microsoft Word or whatever would be on your own computer.

    当你编译一个程序a,out,或者,或其他的,你双击那个程序,或着在我们的命令环境中,采用,/skittles来运行它,那个程序被加载到,内存中,就像,或者你电脑上的其他程序。

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

  • So this thing here that starts with slash temp, that's pretty useless information.

    错误信息从/tmp开始,其实这是无用信息。

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

  • Dot is my current directory, slash means Hi3 is located here.

    代表我当前目录,/表明hi3位于此处。

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

  • Well it's a stupid looking program, but because I had more new line characters, and because I was using percent C, for individual characters, one per line, now I'm seeing dot slash ARG V2, well, now if I go ahead and rerun this with foo, I get this effect as well.

    这是一个看起来很笨的程序,但是因为我有更多的新行代码,因为我使用的是%c,为单个字符使用的,每一行一个,现在我看到的是,/argv2,好的,现在如果我继续用foo返回它,我产生了这样的效果。

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

  • I have connected to the course's central server from my own laptop and via dot slash chart am I about to run a little program that depicts as best we can with what with generally call ASCII art -- -- it's really all you can do in a terminal window like this -- our numbers from the past few years.

    我已经通过我的电脑连接到了课程的中心服务器,在我的笔记本电脑上,通过键入“,/chart“,我将要运行一个被描写成,“ASCII码艺术“的小程序-,在一个这样的终端窗口中你们都可以做到-,过去几年中我们的人数。

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

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

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

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