To locate the metadata, simply pass this filename to your function.
查找元数据只需要将文件名传递给该函数即可。
If you pass a function in c, a value that it's not expecting bad things happen and bad things generally reduce to segfault.
如果你在C中传递一个函数,一个没有预料的情况将会出现,这个情况通常是段错误。
We first walk the tree and pass a function that merely prints the node being visited and returns the node.
我们首先遍历树,传递一个仅打印所访问的节点并返回该节点的函数。
What lambda that does, it creates on the fly a function, as the program runs. That I can then pass around.
这里的入是在函数运行的时候,由一个函数创建的,然后我会传递这个值。
You have to pass it as input to another function, as you'll see as possible in problem's Set One specification, but it's ultimately up to you.
你需要把它传给另一个函数当入参,就像你们将,在习题集1中可能看到的,但它最终取决于你。
It means anybody using that little function get float doesn't have to worry about what's inside of it. So for example, I decide I want to change the message I print out, I don't have to change the function, I just pass in a different parameter.
这代表着用这个方法去获得浮点数,的任何人都不用担心具体的实现了,例如,如果我想改变下,显示的信息的话,我不必去改变方法,我传个不同的参数就可以了。
应用推荐