环境扩充功能必须提供唯一定义的型别字串。
Environment extensions must provide uniquely defined type strings.
所以啊,我越想越觉得,这些资源就像是按钮,只有唯一定义的操作:按下。
So, the more I think of it, the more I think that these resources are like buttons, with only one defined operation: push.
翻译单元中只能有任何变量,函数,类类型,枚举类型或模板的唯一定义。
No translation unit shall contain more than one definition of any variable, function, class type, enumeration type or template.
And that's a wonderful thing to have because it gives you that modularity, that encapsulation that basically says, when I create a point, the only way I can get at the values, is by using one of the defined methods, in this case it could be Cartesian, Cartesian and get all the pieces of that.
这是很棒的一件事情,因为它让你有了,模块性以及封装性,这基本上也就是说,当我创建了一个点,我能够得到它的值的唯一的方式,就是用一个定义好的方法,在这个例子中也就是。
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的函数库中,它的唯一目的是,向用户询问一个浮点数的值,然后返回它。
应用推荐