what is the meaning of "associate with" in computer english. how to translate it to chinese.
i know it aways be refered to as "关联",but in computer english?
...全文
18813打赏收藏
a term of c++ primer plus
what is the meaning of "associate with" in computer english. how to translate it to chinese. i know it aways be refered to as "关联",but in computer english?
Loops and selection statements are useful tools for file I/O, which closely parallels console I/O. After you declare ifstream and ofstream objects and associate them with files, you can use
these objects in the same manner you use cin and cout.
---
在与输出IO相似的文件IO操作中,循环和选择语句相当有用.在你将一个文件与定义的ifstream/ofstream对象相关联的时候,你可以像cin/cout那样使用这些文件对象.
Other functions take no arguments. For example, one of the C libraries (the one associated with the cstdlib or the stdlib.h header file) has a rand() function that has no arguments and that returns a random integer.
----
另外一些函数不需要参数.例如,C库(定义在cstdlib或者stdlib.h头文件中)中有一个无参数的,用于返回一个随机整数的rand()
The prefix increment, prefix decrement, and dereferencing operators all have the same precedence and associate from right to left.
----
前置自增,前置自减,解引用操作符都有相同的优先级,并且是与右边的操作数关联.
我随便搜索了这个关键字,居然发现一本书中有几十个。
我随便帖几个意思比较完整的例子出来:
1,
Loops and selection statements are useful tools for file I/O, which closely parallels console I/O. After you declare ifstream and ofstream objects and associate them with files, you can use
these objects in the same manner you use cin and cout.
2,函数定义的说明
Other functions take no arguments. For example, one of the C libraries (the one associated with the cstdlib or the stdlib.h header file) has a rand() function that has no arguments and that returns a random integer.
3,
The prefix increment, prefix decrement, and dereferencing operators all have the same precedence and associate from right to left.
4.
You need to associate a specific ofstream object with a specific file; one way to do so is to use the open() method.