Who knows? And that's a different type of search. I'm trying to urge the SETI community to change their tactics a bit."
VOA: standard.2010.04.16
s1 I have a variable called s1 and it's char * of type char * so here we go.
我有一个变量,它的类型是。
But I'm just not the type of person to pay for a brand name, like a huge brand name.
但我不是那种为了大品牌花大价钱的人。
"Because in a way I really was not expecting the type of problems that we face there."
VOA: standard.2010.06.29
OK, but nonetheless, I want to stress we have both a value, yeah, and a type.
好,但是尽管如此,我想要强调我们有了一个值,和一种类型。
"I specialize in a very specific type of security: subconscious security."
VOA: standard.2010.07.16
If you're writing a one line function, whose sole purpose in life is addition, and, clearly, this is about addition, well, then it's, in fact, A reasonable to use a shorter symbol like A, but I do have to specify it's type.
如果你在写一个一行的函数,它唯一的目的是,做加法,显然这是关于加法的,好的,实际上,用一个短的标识符是合理的,像,但是我必须指明它的类型。
Even though it would be easy and it is ripe for the picking, we wanted to be more of an homage to that type of storytelling because I think it has a really powerful message.
VOA: standard.2010.05.27
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.
我得到这条信息之后,将它输入程序里,假设它们的速度和方向,以及它们应走哪条线路,就能看到救护车进入圣约翰医院。
Now there are two types of diabetes, as you may know, there's Type I Diabetes which is a genetic abnormality that usually shows up in childhood or adolescents where people are dependent on insulin.
你们可能知道,糖尿病有两种类型,Ⅰ型糖尿病是由基因异常引起的,在儿童和青少年中较为多见,患这种病需要长期依赖胰岛素
So that way you can have an idea if, oh, I do really understand this but I'm a little bit slow, maybe I need to practice this one type of problem a little bit longer so I can get up to speed so I'm going to be able to get through all this in terms of the exam time.
这样你就可以知道,假设,噢,我真的懂这个,但是我的速度有点慢,或许我需要在练习这个类型的题目上,多花一点时间,这样我就可以提高自己的速度,可以全部做完,在考试规定的时间内。
I wonder--They seemed like a nervous type."
他似乎是一个很紧张的人“
I think for any type of a night activity that you're looking for you could probably find it.
我觉得任何类型的夜生活,你在旧金山都能找到。
Well, I would say it's a very different type of environment in the day and at night.
在白天和晚上,这里的环境会有很大不同。
but I feel like more than half of the school is on some type of a financial aid whether it's like partial or full.
但是我觉得一半以上的学生拿到了各种类型的奖学金,
不管是半奖还是全奖。
I mean, why can't the government just provide some type of a tax benefit
我的意思是说,为什么政府不能就提供某些税收优惠,
I hope to get a manager type role with a large manufacturing company.
我希望能够在一家大的制造公司找到和管理相关的工作。
OK, now, if I actually do this, and I'm going to show you the example, I just, what did I type over there, I got p was a c point.
传入了其他的参数,好,现在,如果我,实际上要做这个的话,我要给大家看个例子。
I went from this description, it gives me some information. I need to have a particular type.
我从这些描述出发,它给了我一些信息,我需要一些特定类型的数据。
Now what I'm going to try and do is read in a set of values, but I'm going to give a type of value as well as the messages.
现在我要做的是输入一些值,并关注异常,我会输入消息以及一种其他的值。
> So is there a slash letter command for printf they could just like type you know what I mean?
>,所以这里有一个斜杠字母命令,来printf,他们可以像,【听不见的】你懂我的意思吗?
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程序,键入,我快速写下下面的内容,不打算做过多的解释,因为下周我们会深入了解这些。
I can't rely on Professor Guttag if I give this- if this code to him, I can't rely on him to type in a float. Actually I can, because he's a smart guy, but in general, I can't rely on the user-- I wouldn't do it right to see if you did.
当Guttag使用这段代码的时候-,我不能相信他一定会输入一个浮点数,实际上我能因为他很聪明,但是总体上来讲,别相信用户一定会按照规则来-,我会故意做错来试试你的程序的。
So I'm going to go over here, and I'm going to type test search-- I can type and if you look at your handout, it's just a sequence of tests that I'm going to do OK. So initially, I'm going to set up the list to be the first million integers.
大家可以看看你们的课堂材料,那儿有一些我要做的实验,好,一开始我先去建立个,含有一百万个integer的数组,对,这有点儿简单,但是这给我提供了这样一个有序的数组。
And I'm storing the answer in a variable called "answer" that's of type float.
我把这个答案存储在一个float类型的,叫做“answer“的变量中。
Well I need to take that number and I'm going to turn it into a string. So notice what I'm going to do right here. I take that number and convert it into a string. That's an example of that type conversion we did earlier on. By doing that it makes it possible for me to treat it as an ordered sequence of characters.
我可能得把这个数字变为字符串,请注意我这里是怎么做的,我把这个数字,转化为字符串了,这是我们之前学过的,类型转换的例子,这么一来我就能把它按照有序的。
So this declares an integer, a variable of type int called I, 0 and initializes it to zero.
所以这里声明了一个整型数,一个叫做I的整型变量,把它初始化为。
So in the first case of this first bond here that I've put in a square, what type of a bond is this, is the sigma or pi?
在这第一个键里,我用方框把它标出来了,这个键是什么类型的,sigma还是π?
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类型的变量,我需要把它初始化为。
And then I run a loop in which I read something in, I check to see if it's the right type, if it is, I change that variable to say it's now the correct type, which means the next time through the loop, I'm going to say I'm all set and I'm going to bounce out.
因为我还没输入,然后我运行一个循环,循环内部我输入一些东西,然后看看是不是正确的类型,如果是的话我改变input,Ok为真,来证明输入数是正确的类型,这就意味着下一次运行这个循环的时候,就可以跳出循环继续执行了。
应用推荐