代码改变世界

阅读排行榜

javascript获取的层(div)高度

2012-09-12 10:21 by hongjiumu, 420 阅读, 收藏,
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文

MSTest+Nmock 3测试1

2012-11-06 21:18 by hongjiumu, 408 阅读, 收藏,
摘要: 开始使用MSTest+Nmock 3测试 阅读全文

(转)c# Regex常用

2012-08-18 18:47 by hongjiumu, 395 阅读, 收藏,
摘要: 一个例子:using System;using System.Text.RegularExpressions;namespace ConsoleApplication1{ Regex regex=new Regex("^[0-9]{1,2}",RegexOptions.IgnoreCase); if(regex.IsMatch("w1")) { Console.WriteLine("OK"); } Console.Read();}上面的代码用来判断字符串以数字开头和结尾,并且最多有2位.Regex regex=new Regex(&q 阅读全文

c++读文件

2014-01-18 21:34 by hongjiumu, 393 阅读, 收藏,
摘要: FileFormatDefine.h#ifndef _WIN32TOOLS_FILEFORMATDEFINE_H_ #define _WIN32TOOLS_FILEFORMATDEFINE_H_ const char FILE_END_CHAR = 26; #endif _WIN32TOOLS_FILEFORMATDEFINE_H_ FileReader.h#ifndef _WIN32TOOLS_FILEREADER_H_ #define _WIN32TOOLS_FILEREADER_H_ #include #include "FileFormatDefine.h" n.. 阅读全文

C#实现的不重复随机数序列生成算法

2012-12-24 23:29 by hongjiumu, 393 阅读, 收藏,
摘要: C#实现的不重复随机数序列生成算法http://www.ityoudao.com/Web/Csharp_590_1366.html 阅读全文
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 42 下一页