OK, you say, come on, I've seen these all the time. Every time I type something into my program, it does one of these things, right?
好了,或者你要说,我总是能看见这些,每一次我在程序里输入一些内容的时候?
And I could take that information, type it up into a program, make some assumptions about speed and direction and what routes they're going to take and actually watch the ambulance go to St. John's Mercy.
我得到这条信息之后,将它输入程序里,假设它们的速度和方向,以及它们应走哪条线路,就能看到救护车进入圣约翰医院。
In this blank area over here next to the search tab you can type in any food that you're having, and then the program, unless it's something really unusual, the program will recognize it and then give you a series of options of things it thinks it might be.
你可以在搜索框的空白处,输入你吃的食物,之后程序会,除非是些稀奇古怪的东西,否则程序会去识别输入的内容,并给你一系列它认为可能的选项
I am going to run a program called Nano nano hello c and type nano hello.c and I'm gonna type the following very quickly without much explanation because we'll dive into this more next week.
我要运行一个Nano程序,键入,我快速写下下面的内容,不打算做过多的解释,因为下周我们会深入了解这些。
bug Now, this was not the bug in this program because I did, in fact, use the equality operator and so it feels like if I type the word foo both times I should, in fact, get back you type the same thing.
现在,在这个程序中这个不是,因为,实际上,我使用了等于号,如果我输入单词foo两次,我返回给你“输入了相同的东西“
So if I type "man sleep," this is going to give me the user's manual for a program called sleep, but there's a gotcha and the problem set it makes clear, sleep notice that it says at top left sleep one.
所以如果我键入“man,sleep“,它将,给我一个叫做sleep程序的用户手册,但是这里有个参考信息,它使问题更清晰,请注意它指明在左上角。
i So I have up here at the top of my program a variable called i 0 of type int, and I have to initialize it up here to zero.
所以在程序的顶端我有一个int类型的变量,我需要把它初始化为。
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“或其他人编写的,名为。
应用推荐