I've decided that I need to be able, in my program, to swap the value of two variables. All right.
我觉定在我的程序中,我可以,交换两个变量值,好的。
it's a two-and-a-half-year-long program that mixes biology, chemistry, physics and computer science together.
这门课是一个两年半的项目,涵盖了生物学、化学、物理学,还有计算机科学。
s1 It's a little square, it's going to be called s1 and that's what exists as of line two of this program, GetSting but now I've called get string.
这是一个正方形,叫做1,这就是程序中第二行代码所表示的,现在我调用。
I did two things: first thing I did when I got to Harvard, was to find out where the program for poor children was, and Black Panther Party was sponsoring.
当我到了哈佛之后,我做了两件事,首先我去找到为贫困学生设立的项目,而黑豹党提供了帮助。
All of physics is a two-part program.
所有的物理理论都包含两部分
Now I don't know if you can read it because it's a little blurry, but a diet program that's been successful over two thousand years; can't beat that kind of a track record.
我不确定你们能否读懂它,其内容有些模糊,但该减肥方案已有两千年的成功史,这个记录是难以打破的
And I might add that, today's program is part one of the two part program with Joshua.
另外我补充一点,这次的访问分为两部分,今天只是第一部分。
In that year, we were early on in terms of diversifying the portfolio -we'd only been working on that program for two years -and even so,the negative return was less than 1%, so it was a modest negative return.
在那一年,我们还处于投资组合多元化的初期,刚刚开始2年,即便如此,股灾时我们的亏损小于1%,这只是一个轻微的亏损
It was a two-year program, and I really enjoyed campus life
上了两年,我非常喜欢校园生活,
If you look at the up left corner, Gabriel was a student here in this class two years ago, when we came and presented on the program and he is currently a student in the MAPP program.
看左上角,两年前,Gabriel修读这门课,在我们来推广硕士课程时,现在他正在我校读硕。
Why not write the program in a way where you figure out dynamically when the program is run how much memory you need rather than hard coding in two with or within that constant.
为什么不写一个可以动态的方式写那个程序,程序可以动态分配内存,而不是用常量硬编码两个值。
I sort of blocked it out with the circles, but then you can go put in two servings, and you put what time of day you had it and then the program will be able to do its work.
我把它圈了出来,你输入说是两份,之后输入进食的时间,系统随后就能运行分析
And for reference, incidentally, in case you ever forget what the point of some exercise was, I'll almost always comment the code up top with a quick sentence or two that reminds you what this program does.
顺便作为参考,为了避免我们可能忘记一些代码的意思,我通常会用一两个简单的句子,在上面作出注释,那样会提醒我们这个程序是干嘛的。
So writing a program at least in this language is a two-step process.
用这种语言写一个至少需要,两步完成的小程序。
This code does swap the two values, A and B. However, when I run this program, something happens.
这个代码没有交换那两个值,A和B,但是,当我运行这个程序时,有些事情发生了。
应用推荐