BeatificDevin

。。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年5月24日

摘要: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button... 阅读全文
posted @ 2016-05-24 14:33 BeatificDevin 阅读(260) 评论(0) 推荐(0) 编辑

2016年4月12日

摘要: unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Butto 阅读全文
posted @ 2016-04-12 20:50 BeatificDevin 阅读(358) 评论(0) 推荐(0) 编辑

2016年2月29日

摘要: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Bu 阅读全文
posted @ 2016-02-29 18:24 BeatificDevin 阅读(1616) 评论(0) 推荐(0) 编辑

2016年2月19日

摘要: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Bu 阅读全文
posted @ 2016-02-19 19:00 BeatificDevin 阅读(560) 评论(0) 推荐(0) 编辑

摘要: unit Interfacce; {接口委托实现--通过类的对象} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TF 阅读全文
posted @ 2016-02-19 17:14 BeatificDevin 阅读(336) 评论(0) 推荐(0) 编辑

2015年10月26日

摘要: #include using namespace std;void QuickSort(int a[], int low, int high)//0--- n-1{ int i, j, flagNum; if(low = flagNum) j--; if(i i ;j--) { i... 阅读全文
posted @ 2015-10-26 16:03 BeatificDevin 阅读(166) 评论(0) 推荐(0) 编辑

2015年8月28日

摘要: http://www.blogjava.net例子代码就在我的博客中,包括六个UDP和TCP发送接受的cpp文件,一个基于MFC的局域网聊天小工具工程,和此小工具的所有运行时库、资源和执行程序。代码的压缩包位置是http://www.blogjava.net/Files/wxb_nudt/socke... 阅读全文
posted @ 2015-08-28 11:45 BeatificDevin 阅读(1425) 评论(0) 推荐(0) 编辑

2015年8月12日

摘要: 总结一下Windows常用的几种线程同步技术。1.Critical Sections(临界段),源代码中如果有不能由两个或两个以上线程同时执行的部分,可以用临界段来使这部分的代码执行串行化。它只能在一个独立的进程或一个独立的应用程序中使用。使用方法如下://在窗体创建中InitializeCriti... 阅读全文
posted @ 2015-08-12 14:51 BeatificDevin 阅读(368) 评论(0) 推荐(0) 编辑

2015年7月31日

摘要: 1 unit Unit1; 2 3 interface 4 5 uses 6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 Dialogs, StdCtrls; 8 9 typ... 阅读全文
posted @ 2015-07-31 17:37 BeatificDevin 阅读(302) 评论(0) 推荐(0) 编辑

2015年6月4日

摘要: #include #define N 10using namespace std;void swap(int &a,int &b){// a = a + b;// b = a - b;// a = a - b; a ^= b; b ^= a; a ^= b;}vo... 阅读全文
posted @ 2015-06-04 17:31 BeatificDevin 阅读(385) 评论(0) 推荐(0) 编辑