摘要:海量数据相似度计算之simhash和海明距离http://www.cnblogs.com/lanceyan/p/3281813.html漫话中文自动分词和语义识别(上):中文分词算法http://www.matrix67.com/blog/archives/4212 阅读全文
Pointers and Strings
2013-09-09 19:26 by hongjiumu, 465 阅读, 0 推荐, 收藏,
摘要:The special relationship between arrays and pointers extends to C-style strings.Consider the following code:char flower[10]="rose";cout<<flower<<"s are red\n";The name of an array is the address of ite first element,so flower in the cout statement is the address of th 阅读全文
VC知识库
2013-09-09 19:25 by hongjiumu, 330 阅读, 0 推荐, 收藏,
摘要:VC知识库http://www.vckbase.com/index.php/code 阅读全文
c# 简单又好用的四舍五入方法
2013-09-03 20:37 by hongjiumu, 4763 阅读, 2 推荐, 收藏,
摘要:http://www.soaspx.com/dotnet/csharp/csharp_20100415_3809.html四舍五入是软件开发中经常遇到的问题,我也在不止一个项目中用到这方面的运算;关于c#的四舍五入,如果你去网上搜会有好多结果,但大部分的内容都是说微软的Math.Round() 不准确,属于“四舍六入五成双”,然后会有很多人自己去写方法来实现,有的很简单,有的很复杂,有的还不对;其实要实现这个功能,真的不用这么麻烦;大家既然知道c#有Math.Round(),难道就没发现它有多大8个重载方法吗,其中有一个类型是MidpointRounding的参数,只要我们很好的利用它,就完全 阅读全文
摘要:Converting PDF to Text in C#http://www.codeproject.com/Articles/12445/Converting-PDF-to-Text-in-CPDF File Analyzer With C# Parsing Classeshttp://www.codeproject.com/Articles/450254/PDF-File-Analyzer-With-Csharp-Parsing-ClassesPDF文件格式分析http://www.2cto.com/Article/201011/77380.html 阅读全文
CLR Profiler
2013-07-11 22:38 by hongjiumu, 189 阅读, 0 推荐, 收藏,
摘要:使用CLR Profiler分析.NET程序内存不断上升的图文教程http://www.cr173.com/html/17930_1.html#The Why and How of .NET Profilinghttps://www.simple-talk.com/dotnet/performance/the-why-and-how-of-.net-profiling/http://www.cnblogs.com/coolkiss/archive/2010/08/20/1804705.html 阅读全文
sql server的sql 语句中的列名包含[]时候,把]替换成]]就可以
2013-07-05 23:13 by hongjiumu, 636 阅读, 0 推荐, 收藏,
摘要:sql server的sql 语句中的列名包含[]时候,把]替换成]]就可以eg:create table p.e_LOG_WebServer([BSCFlg] int,[reservedBySwAllocation[0]]] varchar(1024),[webServerPaths] varchar(1024));select * from p.e_LOG_WebServer 阅读全文
(转)c#中判断是不是数字和字母
2013-06-30 05:53 by hongjiumu, 3128 阅读, 0 推荐, 收藏,
摘要:一、判断字母string str = Console.ReadLine();if (char.isLetter(str)){}else if (char.IsDigit(str)){}if(ch>='a'&&ch='A'&&ch255 因为汉字是大字符集二、判断输入的是不是数字try{int n = 0;n = int.Parse(this.textBox1.Text.Trim());}catch{MessageBox.Show("你输入的不是数字~!");}也可以用Char.isNumber(str[i 阅读全文
Excel 电子表格文件格式剖析
2013-06-28 23:08 by hongjiumu, 1055 阅读, 0 推荐, 收藏,
摘要:Excel 电子表格文件格式,这种Excel和其他的Excel是不同的。他的本质上是一个Xml文件(用英文版的UtraEdit可以看到),所以他可以保存任何符号的字符,包括&(它在Xml文件中是一种特殊字符。所以用aspose等工具是不能读取这种字符的)。反过来说,我们从中可以得到一种快速生成带有多个Worksheet的Workbook的Excel,从xml文件处理的个角度入手。Gary LimFalseFalseReport InformationMoAddressSN=Eri3G,RNC=BORNC01Data Date6/23/2013 3:25:00 AMReport Crea 阅读全文
DockManager
2013-06-19 22:15 by hongjiumu, 440 阅读, 0 推荐, 收藏,
摘要:Devexpress----DockManager类似VS左右上下浮动栏停靠DockManager->Customize->DockPanel->NEW->Text='详细';Visible=AutoHidden;Dock=Bottom; 阅读全文
浙公网安备 33010602011771号