Right? In other words I've got the stoichiometric coefficients in there and the values, and I'm subtracting the reactants from products -1652kJ/mol wind up with minus 1652 kilojoules per mole.
对吧?换句话说这里我用了化学,计量系数和生成热的值,从生成物中减去反应物,最后得到。
Initially, it's the beginning and the end of it.
然后根据中值点和目标数的比较结果。
And actually, if I don't want to clobber, as we say, overwrite the value of my variable, ; I could declare another one and store the return value in Y; Y so now I have two ints in memory; X and Y, 3 one with two, one with three.
实际上,如果你不想彻底清除,像我们说的,覆盖那个变量的值,我可以申明另一个变量Y,并在Y中保存那个返回值;,现在内存中有两个int数,X和,一个的值为2,一个为。
I'm going to say, gee, p2 is the x value the same in both of them, and if it is, and the y value's the same, then this is the same point, I'm going to return true.
这样的数据对象,我会把它们命名为p1和,我会去查看,看看两个对象中,的x值是不是相同,如果相同的话,就去查看y值是否相同。
You have to with C, as with a lot of programming language, say what you return.
在C语言和大部分语言中,你必须说明函数的返回值。
应用推荐