• Many of the students at Byte Back live in a low income neighborhood in Washington.

    VOA: standard.2010.01.05

  • Now do that in a sound byte on a national radio station when you got two minutes to answer.

    这时你就得为全国听众一字一句地,在两分钟时间内解答这个问题

    耶鲁公开课 - 美国内战与重建课程节选

  • And because there are a billion bytes accessible to us, that's-- essentially means well we can just call that byte number zero.

    由于有十亿个字节的存储量供我们使用-,也就是说,我们有0号字节。

    哈佛公开课 - 计算机科学课程节选

  • Byte Back provides free computer classes, free computers, and access to the Internet.

    VOA: standard.2010.01.05

  • That is the address in memory in the heap of the first byte that the user typed in.

    那是用户输入的字符串第一个字节,内存中堆的地址。

    哈佛公开课 - 计算机科学课程节选

  • Kelly Ellsworth, is Byte Back's executive director.

    VOA: standard.2010.01.05

  • You can number every single byte just like you can number every house on a street.

    你可以给每个字节编号,就像你给街上每栋房子编号一样。

    哈佛公开课 - 计算机科学课程节选

  • We can call this byte number one, byte number two, byte number three.

    号字节,2号,3号等等。

    哈佛公开课 - 计算机科学课程节选

  • And for that I need a byte of volunteers, alright?

    为此,我需要一个字节的志愿者,谁来?

    哈佛公开课 - 计算机科学课程节选

  • Alright! We now have a byte's worth of volunteers.

    好,我们现在有一个字节的志愿者。

    哈佛公开课 - 计算机科学课程节选

  • So we now have a byte's worth of volunteers.

    现在我们有一个字节的志愿者。

    哈佛公开课 - 计算机科学课程节选

  • So this is what we know as a byte.

    这就是我们所说的一个字节。

    哈佛公开课 - 计算机科学课程节选

  • Now the byte is the key word there.

    请大家注意这个关键词“字节“

    哈佛公开课 - 计算机科学课程节选

  • Let's just assume that s1 is a pointer and as an arrow suggests it's pointing at this byte here.

    我们假设s1是一个指针,就像箭头所表示的,指向这个字节。

    哈佛公开课 - 计算机科学课程节选

  • > So 8 bits, aka 1 byte.

    >,8比特,即1个字节。

    哈佛公开课 - 计算机科学课程节选

  • Only the operating system has controlling of byte zero NULL in the computer's RAM and so if a function ever returns null, aka zero, well, something must have gone wrong because that can't possibly belong to me that memory because by human convention zero is owned by the operating system; not by a program I wrote.

    只用操作系统在内存中能够控制,字节0,并且如果一个函数返回,或者说0,好的,可能出错了,因为那可能是不属于我的内存,因为惯例上,0是由操作系统拥有的,而不是由我的程序拥有的。

    哈佛公开课 - 计算机科学课程节选

  • So it does that for us so that you can get away with just knowing the address of the first byte and it will make sure that you know when to stop by including the special value so, in fact, get the string if you type in a three-letter word, we allocate four bytes no matter what because we need an additional byte 0 for this special sentinel value back slash zero at the very end.

    它为我们做了这些事情,这样我们就可以,通过第一个字节的地址,它还可以通过包含一个特殊的值,来保证在哪里停止,如果你输入了一个三个字母的单词,就可以获得那个字符串,不管怎样,我们分配四个字节,因为我们在末端需要一个额外的字节,来保存这个特殊的标志值--反斜杠。

    哈佛公开课 - 计算机科学课程节选

  • This is convention, so on almost-- and most any computer you overuse, if you're writing code that uses a char, you're gonna be handed 8 bits or 1 byte to store that particular char.

    这是约定,对于大多数-,电脑,当你写代码要用到一个char型数据时,必须先预留8比特或1字节,的空间来存储这个char型数据。

    哈佛公开课 - 计算机科学课程节选

  • So, for the most part any time we talk about or draw pointers an arrow suffices, which really 71 in there is a number like 71, which is the literal byte that the F is actually in in RAM, but frankly who cares?

    所以,每次我们讨论,或者用箭头表示指针,在指针里面有一个数字,如,那是F在RAM中的字节,但是谁在乎它呢?

    哈佛公开课 - 计算机科学课程节选

  • I don't exactly know where they are in RAM, but I know if I've got 2 gigabytes of RAM, zero is here, byte 1 is here, byte 2 is here, dot, dot, dot so maybe byte 123 is over here and 456 is here.

    我不知道他们在内存中哪个地方,但是我知道如果我有2G内存,零在这里,字节1在这里,字节2在这里,等等等,所以可能123字节在这里,456字节在这里。

    哈佛公开课 - 计算机科学课程节选

  • And it's the 0s and 1s, that notice they're in patterns of 8 generally or chunks of 8, the so called byte that the actual CPU understands.

    也就是一些0啊,1啊,请大家注意,这些数字每8个挨一块,这就是所谓的字节,实际CPU能够处理的东西。

    哈佛公开课 - 计算机科学课程节选

  • D-A-V-I-D So when you get a string like D-A-V-I-D, what's really happening is inside your computer's RAM is going a byte where there's some zeros and ones.

    譬如你有这么一个字符串,而在你电脑的RAM里将会变成,一个个由0和1组成的字节。

    哈佛公开课 - 计算机科学课程节选

  • I store in s1 the address of the first byte that the user typed in and by the way that first bite happens to live in this new place called the heap and that's the only update to the story thus far.

    我在s1中存储的是用户输入的字符串的首地址,这样第一个字节存储在这块,新的堆的地方,这个是唯一的修正。

    哈佛公开课 - 计算机科学课程节选

  • Now a float is not 1 byte, it's 4 bytes, or 4 times 8, 32 bits.

    而float就不只1字节了,它占据4个字节,或者说32比特。

    哈佛公开课 - 计算机科学课程节选

  • So a char is one byte, which is bits -- how many?

    所以char类型占了1个字节,--那是多少位?

    哈佛公开课 - 计算机科学课程节选

  • So a char size is 1 byte or 8 bits.

    一个char型数据占据1字节或8比特。

    哈佛公开课 - 计算机科学课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定