• char* Because I've said that char Star is really just the true version of this.

    因为我说过,实际上是字符串的真实版本。

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

  • String is actually not a data type in C. It actually is something called a char star and we'll come back to this before long.

    字符串在C语言里其实不是一种数据类型,而是一种称为char,*的数据类型,这个知识点我以后会讲到。

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

  • So here is one of the interesting takeaways, a char, we've already spoiled this answer, takes up how many bits.

    关于char还有一个重点:一个char占据多大内存,这个问题我们已经翻来覆去说了好多遍了。

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

  • char Here is the char, here is the char, how many bits did we say each of these squares is?

    这是一个char,这是一个,那么这里的一个方框几比特呢?

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

  • - We know from Wednesday if -- briefly -- that there's this thing called a "char" or "char," depending on how you want to pronounce it, which is just a single character but where there's also an int.

    我们知道从周三起--简单说下-,我们有个叫做“char“或“char“,看你们怎么读它了,那代表一个单一的字符,但那里会有个整型数与之对应。

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

  • Is there a key word like int or char double with which you can represent a 1024-bit value?

    有一个像int,char,double这样的关键字,用来表示一个1024位大小的数值呢?

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

  • We did it for silly purposes just to see how big each data type was, but on most systems the size of a char is what?

    只是为了很傻的目的,来看看每个数据类型多大,但是在大多数的系统中char的大小是多少呢?

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

  • char * and frankly this is why we hide this detail in the first week or two because it's just not interesting to get into that early.

    所以一直以来,char,*。,So,all,this,time,这就是为什么在第一二周我们隐藏这个细节的原因,过早的深入这个,是没有好处的。

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

  • So, after the second line for code here char * s1 gets the return value of get string this is what the state of our world looks like.

    在第二行之后,这个代码char,*s1,等于GetSting的返回值,这就是它看起来的状态。

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

  • int No. Even though the key word has changed from char to int, the * is the same and the fact that I've got a * there is saying this is a pointer to an int or a pointer to a char pointers are always the same size on a computer.

    不,即使即使关键字从char变成了,指针的大小还是一样的,我用*表示这是一个int型指针,而不是char型指针,在同一台机子上,它们的大小是一样的。

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

  • 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比特。

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

  • So it's an address, it's a pointer, address pointer, synonyms for now, so it's the address of a char so this makes sense because s1 is also the address of a char so if I wanted to make a copy of that address this is absolutely the right syntax.

    是一个地址,是一个指针,地址指针,也就是,char型数据的地址,这是有意义的,因为s1也是一个char型数据的地址,所以如果我想要复制那个地址,这个绝对是正确的语法。

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

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

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

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