单击OK,关闭Layer Properties对话框。<br>3.要增加字段,在目录表中单击shapefile,从环境菜单中选择Open Attribute Table。<br>4.单击Options按钮,选择Add Field。<br>5.在Add Field对话框中,为新字段命名并选择数据类型。在Field Properties中设置相应的字段特性。<br>6.单击OK,关闭对话框。<br>给多个要素同一赋值<br>选中你需要同一赋值的是所有图斑,然后点击Atrributes,此时出现属性修改对话框,点击根目录是对所有要素同一赋值,点击下面的支目录则可以分别赋值。(也可以用字段计算器实现)<br>手册目录
"#includemain(){ char *a = ""aBcDeF""; char *b = ""AbCdEf""; char *c = ""aacdef""; char *d = ""aBcDeF""; printf(""strcmp(a, b) : %d\n"", strcmp(a, b)); printf(""strcmp(a, c) : %d\n"", strcmp(a, c)); printf(""strcmp(a, d) : %d\n"", strcmp(a, d)); }输出结果:<br>strcmp(a, b) : 32<br>strcmp(a, c) :-31<br>strcmp(a, d) : 0"