01 2009 档案
字符串位移包含
摘要:static void Main() { Console.WriteLine(strMove("aabcd","cdaa")); //cdaa 包含 aabcd位移中 } /// <summary> /// 字符串位移包含 /// </summary> /// <param name="p_str_src"></param> /// <para... 阅读全文
posted @ 2009-01-12 21:50 感動常在 阅读(358) 评论(0) 推荐(0) 编辑
任意調整CUP成直綫
摘要://任意調整CUP直綫 static void getUsage(float level) { PerformanceCounter p = new PerformanceCounter("Processor", "% Processor Time", "_Total"); if (p == null) { return; } while (true) { if (p.NextValue() &... 阅读全文
posted @ 2009-01-09 16:13 感動常在 阅读(239) 评论(0) 推荐(0) 编辑