• 4 So even if the correct mathematical answer is 1.4 or whatever, when you divide an int by an int, you only have room in that variable, in the response for an actual integer.

    所以即使那个正确的答案是4,或别的数值,当你用一个整数除以一个整数,在那个变量的返回值里,只有,存储一个整数的空间。

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

  • Here I actually need to tell the computer, "Give me some bytes in ram in which to store a value, and that value's going to be a floating point value."

    这里我的确需要告诉计算机,“给我一些字节内存,来存储一个值,那个值将是,浮点的数值“

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

  • 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数据。

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

  • Now at this point in the story, I've got a variable called n. I've stored it in int.

    现在这个故事的这里,我获得了一个变量n,我把它存储成int的。

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

  • So this line here declares a variable, just storage space called "x" and it's of type "int," which means an integer has to go in it.

    这里的这条线声明了一个变量,一个叫做“x“的存储空间,它的类是“int“,意思是里面存储的是整数的数据。

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

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

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

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