"Actually my first name is Charles. When I was in the military they would always assume that somebody had mis-keyed the M versus the F and would house me with a male roommate or such."
VOA: special.2009.07.06
Suppose f of x, y, z equals k1, that is my equation, s1 and it gives me a solution s1.
假设我的方程是这样,然后给出了一个解。
printf Right. When in doubt, let me just use print F for now.
对的,当感到怀疑的,让我现在只用。
First, let me point you to this notation about Mrs. Richard F. Schiller.
首先,让我告诉你们这些关于Richard夫人的符号的意思。
Let me give it some other name like f.
我就给它换个名字吧,比如 f
If we did that, if we moved f minus 32 over to the left, that would give me a floating point answer because f is a float.
如果你那样做,如果我们把,放前面,那将会给我们一个浮点数答案,因为f是浮点数。
- Then you declare a float called f and then assign it -- -- let me scroll up for the folks in front -- that give return value of GetFloat.
然后你声明一个float类型f,再赋值-,让我向上为你们回滚到-,给出了GetFloat的返回值。
Let me go ahead and call print F. I'm going to say A equals A and then I need a percent D, backslash, comma A; so this is a little bit of -- more syntax than would be nice, %d but I'm just saying, literally, A equals percent D, and I'm plugging in the value of A for percent D.
我们继续调用printf,我说明A等于,然后我需要%d,反斜杠n,逗号;,所以这个有点--偏向逻辑的,而不偏向美观的,但是我刚说了,字面上,A等于,我用%d插入了A的值。
应用推荐