Yeah, so let's have the guy in the beard, but let the mike get to him. Yell out your name.
请那位留胡子的同学说一下,把麦克风给他,大声说出你的名字
When you've been typing in words to the keyboard like your name or any word that you're trying to provide to the user, a string really looks like this.
当你们通过键盘键入单词,比如你的名字,或者你想提供给用户的任何单词,一个字符串实际上看起来就是这样。
Yes, in back Yes Student: Dancing bears Professor Paul Bloom: Dancing bears Okay I got to write your name down-- ... report you to health - No Dancing bears, very good ? Anybody else?
好,后面那一位,跳舞的熊,跳舞的熊,好吧,我要记下你的名字-,把你汇报给精神健康,开玩笑,跳舞的熊,非常好,还有吗?
It turns out you can list one, give it a name, and if you use square brackets, that tells the compiler I actually want to put multiple values inside of this -- inside of this variable and how do we do that?
结果是你可以列举一个,给它取个名字,如果你使用方括号,那是告诉编译器,在里面我需要许多的值--在这些变量里,我怎么做到的?
I need to now put this float somewhere, and I'll put it in a variable called f that you can call it whatever you'd like.
我现在需要把这个浮点数放在哪个地方,然后我把它放在,一个叫做f的变量里,你也可以给这个变量取其它的你喜欢的名字。
应用推荐