OK. So if we have variables, one of the questions we can ask is, what's the type of the variable.
好,如果我们有了一个变量,我们要问的问题之一就是,这个变量的类型是什么?
This is what's actually going to create the instance, instantiate it, create what the set of variable values are for it.
这个声明在你,创建一个实例的时候,实例化这个实例,然后给这个实例。
What's variable about them is that they bind to a specific antigen.
它们可变的原因是,它们需要结合不同的抗原
Line 1 is creating what we'll call a variable.
第一行创建了变量。
Right.? I'm going to set up a variable to say, none what's the answer I want to return, is it there or not. Initially it's got that funny value none.
看我要找的答案在不在数组里面,初始化为,然后建立一个索引。
You measure your temperature is a little up, you've got a fever, something's wrong, I better find out what that is' because temperature is a very highly controlled variable.
你测出体温偏高是,你就发烧了,身体哪里出问题了,我最好把问题找出来,因为体温是一个严格控制的身体指标
Now, what type of variable is this?
那么,这个变量的类型是什么?
And what it's saying semantically is, using that variable as my placeholder, have it walk through this collection, starting at the first thing, execute that code, then the next thing, execute that code, and so on.
它的语义意思就是,把这个变量应用为我的占位符,用它来遍历这个集合,从第一个元素开始,执行代码,然后下一个元素,再执行代码。
So don't underestimate the value for the next week or two of just inserting printf statements into your code temporarily just to print out what the value of some variable is, or some expression is, so that you can just do a sanity check.
所以不要低估下一两周的重要性,虽然我们只将“printf“语句暂时地植入到,我们的代码中,只是用来打印一些,变量或表达式的值,所以你们提醒一下自己。
应用推荐