当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 前面有人提了方法,大老鹰也提了意见 我这里给出
 

 

 ·c#的多线程机制探索(续2)    »显示摘要«
    摘要: 然后在下面这个类monitorsample的main()函数中我们要做的就是创建两个线程分别作为生产者和消费者,使用cellprod.threadrun()方法和cellcons.threadrun()方法对同一个cell对象进行操作。 public class monitorsample {   public static void main(string[] args......
 ·agood31bitrandomnumbergeneratorclass    »显示摘要«
    摘要: latest snippet version: 1.0 using system; namespace barsoom { /// <summary> /// good 31-bit random number generator, returns uint. /// </summary> /// <remarks> /// ......


关于字符窜和数字分离
前面有人提了方法,大老鹰也提了意见 我这里给出一个更简单的办法,请批评指正 string input = "dongfangzhizhu19770822"; string alpha = ""; string number = ""; foreach(char c in input) {      if (char.isnumber(c))          number += c;      else          alpha += c; }
    摘要: huffman 编码简介 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE