书法字典:https://www.shufadict.com

2010年5月18日

解决代码中多余的空行

摘要: 有时候VS代码文件在网页中显示时会多出许多空行,比如上传到google code上的文件,有时候会出现这种情况,形如: if(n <= 0) return ; else { int i = x; int j = y ; 这是由于源文件的编码格式不当造成的,可以重新保存源文件为适当的编码格式,比如 UTF-8 with signature格式,方法如下 File-Save xxx as-... 阅读全文

posted @ 2010-05-18 22:22 翰墨小生 阅读(810) 评论(0) 推荐(2) 编辑

Visual Studio中删除所有空行

摘要: 此文转载自博客园,原文链接:http://www.cnblogs.com/k-sharp/archive/2010/05/18/1738264.htmlEnter: Ctrl+H Find what: ^:b*$\n Replace with: [Empty] Look in: Current Document Find Option: Use Regular Expressions Click:... 阅读全文

posted @ 2010-05-18 22:12 翰墨小生 阅读(7252) 评论(0) 推荐(3) 编辑

First Chance Exception

摘要: When you run DX program in debug mode and enable debug setttings in DX control panel, you may get the First Chance Exceptions, like the following: First-chance exception at 0x75ac9617 in Sura.exe: Mic... 阅读全文

posted @ 2010-05-18 17:15 翰墨小生 阅读(5265) 评论(0) 推荐(1) 编辑

导航

书法字典:https://www.shufadict.com