请输入您要查询的百科知识:

 

词条 remove
释义

英语单词

发音

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.【 律】移交(案件)

6.【引申】清除(杂草等)

不及物动词 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] 形容词:

removal。

如removal man,译为搬运工

C语言中的Remove函数

简介:

功 能: 删除一个文件,相当于unlink函数,但是如果它的filename参数是一个目录的话,其作用就相当于rmdir函数。

用 法: int remove( const char *filename);头文件:在Visual C++ 6.0中可以用stdio.h也可以用io.h,前者更普遍。

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

程序例:

#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;

}

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"); // 删除第二对主键条目对。

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/17 4:39:41