自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

转载 qsort与插入排序混合优化

<br />class SortOp<br />{ //插入排序<br />        private static void InsertSort(int[] list,int low,int high)<br />        {<br />            for (int i = low; i < high; i++)<br />            {<br />                int t = list[i];<br />                int j =

2010-08-21 02:52:00 412

原创 mailslot又一例

<br />Platform and Performance Considerations<br /> <br />Mailslots on Windows 95, Windows 98, and Windows Me platforms have three limitations that you should be aware of: 8.3-character name limits, inability to cancel blocking I/O requests, and timeout me

2010-07-13 09:17:00 368

原创 mailslot又一例

<br />Platform and Performance Considerations<br /> <br />Mailslots on Windows 95, Windows 98, and Windows Me platforms have three limitations that you should be aware of: 8.3-character name limits, inability to cancel blocking I/O requests, and timeout me

2010-07-13 09:16:00 544

原创 mailslot用法

<br />code number 1:<br /> <br />/*************************************/<br /><br />#include <windows.h><br />#include <tchar.h><br />#include <stdio.h><br /> <br />HANDLE hSlot;<br />LPTSTR SlotName = TEXT("////.//mailslot//sample_mailslot");<br /> <br />

2010-07-13 09:13:00 671

转载 win32平台下互斥锁的实现

<br />// intrinExample.cpp // compile with: /EHsc /O2 // Simple example of using _Interlocked* intrinsics to // do manual synchronization // // Add [-DSKIP_LOCKING] to the command line to disable // the locking. This will cause the threads to execute

2010-07-10 10:26:00 2012 2

转载 Linux下telnet设置

Telnet服务的配置步骤如下:     一、安装Telnet软件包(通常要两个)   1、 Telnet-clIEnt (或 Telnet),这个软件包提供的是 Telnet 客户端程序;   2、 Telnet-server ,这个软件包提供的是 Telnet 服务器端程序;   安装之前先检测是否这些软件包已安装,方法如下:   [root@echo root]#rpm –q Telnet或

2010-05-11 08:41:00 304

转载 Using package autoloading in Tcl

Using package autoloading in TclPeter Briggs, November 2002This is a quick write-up of my experiences with setting up packages to use the Tcl "package require" mechanism to automatically load ex

2010-04-09 01:12:00 659

转载 AC状态机简单实现

/* ac算法的实现*/#include #include #include using namespace std;#define MAX_STATE 100 //自动机最大状态数#define MAX_SYMBOL 256 //匹配的字符数 可以匹配所有的ASCII码#define MAX_MODE 20 //最大模式串数int

2010-02-12 03:53:00 1319 1

原创 引自MagicLinux的C代码简单配置文件读取功能(使用需修改)

/*get a int value in configsection - name of sectionkey - name of keyvalue - value of key*/int util_getinfo_int(char *section , char *key , int *nvalue , char * szFileName){ char sz

2009-12-24 23:06:00 445

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除