• int So, primitive type besides those three types, we have ints which are just integers which are similarly 32 bits.

    除了这三种类型外,还有一种最原始的数据类型,32比特整数

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

  • The reason I want to point this out to you is, if we go back up to the kinds of data objects we started with, floats, ints, strings, they actually behave the same way.

    我要为大家指出这一点的原因是,如果我们想一下以前讲过的,数据类型的种类,浮点数,整数,字符串,它们实际上有相同的行为方式。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • If you want to output an integer or other types as we'll see.

    如果你想输出一个整数,我们将学习到的其他类型

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

  • I get the int and store it in n. The switch statement takes inside its parenthesis an int or a char or some primitive type.

    我得到一个整数并把它存储,到n中,switch语句的圆括号里可以是一个整数,或者一个字符或其他的基本类型

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

  • It's gonna hold integers so I have to say int as we'll see 0 and set it equal to 0.

    因为需要是整数,所以我们把它定义为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“,意思是里面存储的是整数型的数据。

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

  • So int is gonna stand for integer, it's just a number.

    大家都知道int代表整数类型,一个数字而已。

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

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

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

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