摘要: using System; /* 描写:C#实现快速排序算法 创建日期:2006/05/08 */ namespace ConsoleApplication1 { class DataStructDemo { static void swap(ref int a,ref int b) { int t 阅读全文
posted @ 2008-05-13 12:44 debugzhu 阅读(1585) 评论(2) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; /* 作者:朱剑 创建日期:2007年12月5日 描写:.net 2008 Shutdown winxp and win2000 */ namespace Test { pub... 阅读全文
posted @ 2008-05-12 14:44 debugzhu 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 关于char * c="hello"与char c[]="hello"的区别? 阅读全文
posted @ 2008-05-06 16:45 debugzhu 阅读(906) 评论(3) 推荐(0) 编辑
摘要: Dotnet1.1 到 Dotnet3.5 List.sort对集合排序的演变,看动态语言特性之快速. 阅读全文
posted @ 2008-04-27 08:26 debugzhu 阅读(2426) 评论(0) 推荐(0) 编辑
摘要: IComparable与IComparer的使用和区别,C#的一些书籍上都写的很笼统,只是语法层面上的。根本没说到使用的场合.这里下面的比如我觉得是最通俗的了,希望对此问题感兴趣的朋友有用。 阅读全文
posted @ 2008-04-26 22:33 debugzhu 阅读(457) 评论(2) 推荐(0) 编辑
摘要: 基于驱动在 Ring 0 禁止所有调试工具调试程序 ;创建日期:2007年11月14号 ;描写:(原创) 基于驱动在 Ring 0 禁止所有调试工具调试程序 ;作者:朱剑 ;环境:xpsp2,KMD(驱动汇编开发包),Win32汇编 .386 .model flat,stdcall option casemap:none include w2k\ntstatus.inc inc... 阅读全文
posted @ 2008-04-26 22:15 debugzhu 阅读(743) 评论(0) 推荐(0) 编辑
摘要: /**//* * 作者:Jerson Ju * 创建日期:2008年3月18号 * 描写:抓取屏幕的小程序 * 地点:长沙 * */ //只贴核心部分了,版面有限 [DllImport("User32.dll")] public static extern IntPtr GetDC( IntPtr hWnd // handle to window ); [DllImpor... 阅读全文
posted @ 2008-04-26 22:09 debugzhu 阅读(484) 评论(1) 推荐(0) 编辑