VTI提供一组称为目的函数的hooks。
该演示VTI UDR仅显示完整的目的函数集中的4个。
This demonstration VTI UDR shows only four of the complete set of purpose functions.
您将需要为完整的VTI UDR实现所有其余的目的函数。
You will need to implement all of the remaining purpose functions for a complete VTI UDR.
If you're writing a one line function, whose sole purpose in life is addition, and, clearly, this is about addition, well, then it's, in fact, A reasonable to use a shorter symbol like A, but I do have to specify it's type.
如果你在写一个一行的函数,它唯一的目的是,做加法,显然这是关于加法的,好的,实际上,用一个短的标识符是合理的,像,但是我必须指明它的类型。
The idea of a function is, that I'm going to capture a common pattern of computation.
函数的目的,就是寻找计算的共同模式。
It's defined in CS50's library; its sole purpose in life is to ask the user for a floating point value and return it.
它被定义在CS50的函数库中,它的唯一目的是,向用户询问一个浮点数的值,然后返回它。
应用推荐