There is too much talking in the room so I am asking you to stop now in respect for your classmates.
教室里太多人说话了,我命令你们马上停下来,为了尊重其他同学。
And I also don't like taking orders.
而且我不喜欢接受命令。
Here's Samson: O first created Beam, and thou great Word, ; "Let there be light, and light was over all"; Why am I thus bereav'd thy prime decree?
参孙说到:,为什么我被剥夺你这第一道命令,“我们要有光!“光就普照一切;,为什么我被剥夺你这第一道命令?
So let me go ahead and pull up the staff solution 15 to the standard edition for a moment, the game is called 15, it takes one command line argument which is the dimensions of the board 3 by 3, 4 by 4, I'll do it 4 by 4.
下面我们继续,等一会儿,我会给出标准的解答,这个游戏叫做,有一个命令行参数,标识其大小是,3阶还是4阶,我选择4阶。
And I need to make sure I have a command that sets that up.
我想从哪儿开始呢?,我必须确认有个设置计数的命令。
Now we're engaging each other, what do I say?
好了我们在缠斗,我下什么命令呢
If an ordinary man, not the guy in a white lab coat but an ordinary guy, says, "Hey, keep shocking him, that's okay," you're less likely to do it, and if there is a rebellion, if somebody else rebels and says, "I won't do it," you are much more likely not to do it yourself.
如果是一个普通人,不是穿白大褂的,只是一个普通人说,”继续电击他,没问题的“,你进行电击的可能性会减少,如果有电击者反抗,如果有电击者不听命令说”我不电击“,你电击的可能性就更低。
So I've used this jargon before; command line arguments, but what does that really mean?
我之前也用过这个术语,命令行参数,但是这实际上是什么意思?
I then click on the shell, rather than hitting F5, try and run it and say, it's not doing what I thought I should do.
然后我点击了命令解释程序,而不是按F5,我运行了程序而它,并没有按照我认为的那样做。
Yeah, I've still got a binding for z and I'm giving it the same test, but notice now I've got the two same commands but they have different indentation.
对,我还是对z进行了绑定,我还是要对它进行同样的测试,但是请注意现在我有了两个同样的命令,但是它们有不同的缩进。
I have a sequence of commands; I've got an assignment statement, I've got another assignment statement, I've got a print statement, I've got an input statement, which we'll come back to in a second.
这是一系列的命令;,我有了一个赋值声明,然后是另外一个赋值声明,还有一个print声明,然后是一个input声明,我们稍后会讲讲这个生命。
But what I ran was GCC and then I get back this big error message.
好吧,我刚运行了一条GCC命令,然后我们得到了这一个,报错信息。
So with the fact that I'm now just back at my prompt is a good thing so now GCC hello c if I type this command GCC hello.c, this is gonna run this program that Apple wrote in this case GCC or someone else wrote called GCC.
也就是说我们现在安全返回,说明一切正常,现在我输入这条命令:,这代表运行hello,c这个程序,是由“Apple“或其他人编写的,名为。
And here's a little trick -- and again, we promised to point -- out little tricks of the trade -- if I know I want to execute the last command I typed that started with an m, bangm will actually figure out what that command was and redo it for me so I don't have to figure it out, or you can go back in time in a terminal window.
这里有个小技巧--此外,我们许诺指出行业中的,一些小技巧-,如果我知道我想执行我写入的上一个命令,是以m开头的,!m会明白那个命令是什么,然后为我恢复上次操作,所以我不需要明白它,或者你可以回到,那个终端窗口。
GCC -o So, on the one hand, I've run this command here, GCC dash O and this projector I'm highlighting things all day long on the screen here and you're not seeing any of it unfortunately it seems on this projector.
我在这运行了一条命令,这台投影仪我一天到晚的开着,一再强调屏幕上的东西,不幸地,你们却,在投影仪上没有看到它。
It's not me. I'm just an instrument of somebody else telling me what to do.
不是我的责任,我只是一个工具,我只是执行别人的命令。
If I'm the general and so I say -- what do I say? Charge!
比如我是将军,我下命令,什么命令呢,"冲锋"
If I wanted to use print as a variable name, how do I get the system to decide gee, do I want print as a value for something, or do I want print as a command?
如果我把print当做一个变量名,我如何让系统来决定,我是要把print当做一个命令来用呢,还是要把它当做一个变量名来用呢?
> So is there a slash letter command for printf they could just like type you know what I mean?
>,所以这里有一个斜杠字母命令,来printf,他们可以像,【听不见的】你懂我的意思吗?
应用推荐