See, I've defined f of x to be a function x=x+1 that takes a value of x in, changes x to x+1, x and then just returns the value.
我定义了f是一个函数,输入x,让,然后输出。
At the top, I've got some CS50 Library going on, argv standard I/O library; I don't bother mentioning argc or argv because I'm not going to use them in this program.
在顶端,我使用了CS50函数库,标准输入输出库,我没有提到argc或者,因为我不会在这个程序中使用它们。
Someone-- or someone had to implement, had to write a tool called printf that itself takes input between quotes and produces as output some characters on the screen.
需要有人去实现,这个printf函数,以双引号间的信息为输入,输出相应字母到屏幕上。
But if you avoid all of these minutia and focus really just on the idea, it looks like what was a blue say block, a so called statement, is now going to be something called printf where the F happens to stand for formatted.
但是如果你抛开所有这些繁琐的细节,把注意力集中到,它的编程思想,那么它只不过一个蓝色的say程序块,是一个声明,即所谓的printf函数,其中的f是,用于格式化输出。
应用推荐