alex_bn_lee

导航

上一页 1 ··· 236 237 238 239 240 241 242 243 244 ··· 247 下一页

2011年9月9日 #

值传递与引用传递

摘要: 来源:http://mcdelfino.blog.51cto.com/2058744/661036值传递, 只是传递副本, 而引用传递, 是传递一个地址~usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceConsoleApplication10{classProgram{staticvoidMain(string[]args){intv=42;intr=42;DoWorkVal(v);DoWorkRef(refr);Console.WriteLine("值传递, 阅读全文

posted @ 2011-09-09 10:43 McDelfino 阅读(174) 评论(0) 推荐(0)

2011年9月8日 #

string直接分成char数组

摘要: 来源:http://mcdelfino.blog.51cto.com/2058744/660711string直接分成char数组, 然后逐个输出来~usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceConsoleApplication1{classProgram{staticvoidMain(string[]args){strings=Console.ReadLine();Console.WriteLine("字符----------十进制");fo 阅读全文

posted @ 2011-09-08 19:15 McDelfino 阅读(552) 评论(0) 推荐(0)

333

摘要: #region Using directivesusing System;using System.Collections.Generic;using System.Text;#endregionnamespace DailyRate{ class Program { static void Main(string[] args) { (new Program()).run(); } public void run() { double dailyRate = read... 阅读全文

posted @ 2011-09-08 17:00 McDelfino 阅读(370) 评论(0) 推荐(0)

2011年8月26日 #

用ArcGIS配准普通栅格图像

摘要: 来源:http://mcdelfino.blog.51cto.com/2058744/6490371.打开ArcMap,新建一个空白的文件。2.加入栅格图像。3.右键加入Georeference工具条。(左边加点,右边可以查看点)4.再加点的时候,可以直接选择标准图的点,也可以右键加入XY坐标5.选点之后,可以直接把配准的文件保存,也可以直接存一个tif的文件,选择File/Export Map,保存类型选择TIFF(*tif),下面的Option,左面的General中可以选择分辨率,右面的Format,最下面的复选框要选中,即 Write GeoTIFF tag;,这样便可以把坐标加入到t 阅读全文

posted @ 2011-08-26 09:21 McDelfino 阅读(1018) 评论(0) 推荐(0)

2011年8月10日 #

ArcGIS中线转面

摘要: 来源:http://blog.sina.com.cn/s/blog_68efd13e0100tred.html1. 打开ArcMap用Add Data加载shp Polyline线文件。2. 选Editor编辑\Start Editing开始编辑。3. 选Editor编辑\More Editing Tools\Topology拓扑4. 在Topology拓扑工具栏中选Map Topology 再在Shp文件上打勾Ok5. 用Select Features 选择指针把线全部选中,这时Topology拓扑工具栏中的Construct Features选项为激活状态。6. 这时点击Construct 阅读全文

posted @ 2011-08-10 22:02 McDelfino 阅读(1526) 评论(0) 推荐(0)

上一页 1 ··· 236 237 238 239 240 241 242 243 244 ··· 247 下一页