Why?Because this is where you find number one the world's biggest chunk of population - really between India and China there you have it, two-thirds the population just settled in this area.
VOA: standard.2009.12.23
You've got to do it above this chunk of code, you've got to do it inside this chunk of code.
你不得不在一大段代码之上来实现它,你不得不在一大段代码之内来实现它。
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
当你调用一个函数,实际上发生的是,函数得到了自己的内存块,相同的类型,是占有一样大小的内存的。
It considers this an increasingly significant chunk of the market and predicts green fashion will continue to grow, as more people recognize that what is good for the environment can also be good for their looks.
VOA: standard.2010.01.31
Likewise for mass, we will take a chunk of some material and we will call it a kilogram.
质量也是这样,我们找来一大块材料,然后称它为 1 千克
Death is bad insofar as it deprives you of a chunk of life that would have been good.
死亡是坏的,因为它剥夺了,你的本可以美好的生命。
Somehow the oikos obtains a chunk of land that is understood to belong to it.
贵族家庭控制了大片土地,土地属于其私人所有
They all died. And it was--not everybody, but in France 1,500,000 people died, and that's a huge demographic chunk, it's like a big shark took a big bite out of your basic pyramid of your demographic tree.
都死了,的确是,倒不是所有人,但是在法国有一百五十万人阵亡,这在人口比例中占很大一部分,就好像一个大鲨鱼照着,人口树的基底咬了一大口
It turns out that slightly before the stack, slightly before this conceptual chunk of memory, there's other things called environment variables that we may see over time but elsewhere in memory are other things.
结果是稍微在堆之前,稍微在这个内存块概念之前,另外还一个东西叫做环境变量,我们之后可能看到,内存中的其他地方,是其他的东西。
You put a chunk of wood on a table and you try to move it at constant speed.
你把一大块木头放在桌子上,试着让它匀速运动
It's just a chunk of characters back to back to back so this is storing at the very first location in the string what?
它只是一串紧邻的字母串,所以它把什么存储在,字符串的第一个地址下?
Conceptually, it's put at the top of my chunk of RAM, -- below it, goes initialized and uninitialized data -- - this is a fancy way of saying global variables come next -- and below that, comes what's called the heap.
概念上,它放置在内存块的顶端,在下面,已初始化的和未初始化的数据-,这是一种指明紧随其后的全局变量的设想方式-,在后来,引入了一个叫做堆的东西。
Well, there's a chunk of memory called the heap that you can grab as much memory as you want so long as it exists for your program.
好的,这里有一块叫做堆的内存,这样你就可以获得你想要那么多的内存,因为它为你的程序而存在。
If that would've been worth having, then-- if the next chunk of my life would've been worth having-- then it's bad for me that I die now instead of living for the next ten years.
如果它是值得拥有的话-,如果我下阶段的生活值得拥有的话-,那么它就是坏事,因为我现在就死了,无法再活十年。
It's just some random chunk of four bytes that happens to be available at this point in time, but I can put something there.
只是一些随机的四字节的内存块,在这里是可以使用的,但是我可以在那里放置东西。
Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.
嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。
I can certainly try to write the number 13 there, but bam, my program very likely will crash if this chunk of memory was not given to me previously by the operating system and maybe it is owned by the operating system.
我当然可以在那里写下数字13,但是“嘣“,如果这块内存不是系统预先给我的,我的程序很可能会崩溃,可能这块内存,是系统本身使用的。
Unsurprisingly, you've got the ability to do decent work in this class and most of you have the ability to do good work, and some of you have, a fair chunk of you have, the ability to do excellent work, though it may take some work on your part to get to that point.
不奇怪,你已经有能力去做极好的作业,并且大多人有能力做好作业,一些人有,是大部分人有,有能力去做极好的作业,尽管这需要花费一些功夫才能做到。
So conceptually the key difference here, besides the syntax looking slightly different, it just means that if you want a chunk of code to execute no matter what initially, ; you can use the do while loop; if you want to check a condition first, you can use the while loop.
所以概念上,则关键的区别是,除了语法看起来有点不同,它的意思是如果你想要一段代码,最初无论如何都要执行,你就可以用do,while循环;,如果你想要先检查条件,你可以用while循环。
So, certainly the CS50 Library designed to be dynamic and, in fact, any time you call get string, we are, in fact, ; allocating a chunk of RAM but it's not coming from the stack; it's actually coming from this portion of memory called the heap.
所以,Cs50库是动态设计的,实际上,每次你调用GetSting时,我们分配一块内存,但它不是来自栈;,而是来自于叫做堆的,内存的一部分。
应用推荐