remove

王朝百科·作者佚名  2010-02-14  
宽屏版  字体: |||超大  

remove 英音:[ri'mu:v]美音:[rɪ'muv]

remove的中文翻译及物动词 vt.

1. 移动,搬开;调动[(+from/to)]

Students removed several desks to another classroom.

学生们把几张书桌搬到另外一间教室。

She removed the painting to another wall.

她把画搬到另一面墙上。

2. 脱掉;去掉,消除[(+from)]

She saw he had removed his glasses.

她看到他摘下了他的眼镜。

3. 使离去;把...免职;撤去[(+from)]

He was removed from the post.

他被解雇了。

The corrupt official was removed from office.

这个贪官被罢了职。

4. 【婉】杀死,杀害

5. 【律】移交(案件)

不及物动词 vi.

1. 迁移,搬家[(+from/to)]

The manager's office has removed to another building.

经理的办公室已搬到另外一幢大楼里。

2. 【书】离开

3. 移动

名词 n. [C]

1. 距离,间隔;一步之差[(+from)]

Your action seems several removes from reality.

你的行动似乎有些脱离实际。

2. 移动;迁移,搬家

3. 【主英】英国学校中学校升级前被安排的班级;升级[the S]

C语言中的Remove函数功 能: 删除一个文件

用 法: int remove(char *filename);

程序例:

#include <stdio.h>

int main(void)

{

char file[80];

/* prompt for file name to delete */

printf("File to delete: ");

gets(file);

/* delete the file */

if (remove(file) == 0)

printf("Removed %s.

",file);

else

perror("remove");

return 0;

}

如果删除成功,remove返回0,否则返回EOF(-1)。

Java 的Remove函数

从一个 Dictionary 对象中删除一个主键,条目对。

object.Remove(key)

参数

object 必选项。总是一个 Dictionary 对象的名称。

key 必选项。 key 与要从 Dictionary 对象中删除的主键,条目对相关联。

说明

假如所指定的主键,条目对不存在,那么将导致一个错误。

下面这段代码说明了 Remove 方法的用法:

var a, d, i, s; // 创建一些变量。

d = new ActiveXObject("Scripting.Dictionary");

d.Add ("a", "Athens"); // 添加一些主键条目对。

d.Add ("b", "Belgrade");

d.Add ("c", "Cairo");

...

d.Remove("b"); // 删除第二对主键条目对。

 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝百科 版权所有