字符串位移包含
摘要: 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 感動常在 阅读(64) |
评论 (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 感動常在 阅读(45) |
评论 (0) 编辑