自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (2)
  • 收藏
  • 关注

转载 bayes spam

<br />#include <stdio.h><br />#include <stdlib.h><br />#include <string.h><br />#include <ctype.h><br />#include <time.h><br />#include <sqlite.h><br />/**********************************************************<br />  bayes.C - Craig Morrison, craig@2cah.

2010-07-26 22:13:00 434

原创 filemonitor

#define _WIN32_WINNT 0x0400#include #include #include HANDLE GcCreateThread(unsigned (__stdcall *start_address)(void *), char* param, unsigned* thrdaddr){ return (HANDLE)_beginthre

2009-10-16 01:03:00 665

原创 window窗口背景加载

/*--------------------------------------------------------------------------          BRICKS1.C -- LoadBitmap Demonstration                                                                 (c) Charles

2009-07-21 22:49:00 318

原创 linux makefile

CC = gcc -g -WallSHARE_OBJ_DIR = /home/rdlinux/libALL_INCLUDES  = -I/usr/local/mysql/include/mysql /                -I../../rdpublic/ -I../../rdlog/ /                -I../../rdstrategy /              

2009-04-18 23:14:00 306

原创 iframe导航,有错误

"menu.html"     菜单        內容1       內容2       內容3     "main.html"                        

2009-03-15 00:25:00 518

原创 发点TDI通信的东东

/***************************************************************************//*创建上下文句柄....RtlCopyMemory(Ea->EaName, TdiConnectionContext, Ea->EaNameLength + 1); /*CHAR Buffer[sizeof (FILE_FULL_EA_INFO

2009-03-11 00:13:00 1430

原创 MFC中的控制台输出debug信息

  #include /******宏定义*****/ #define CREATE_DEBUG_CONSOLE /FILE* fpDebugOut = NULL; /FILE* fpDebugIn = NULL; /FILE* fpDebugErr = NULL; /if( !AllocConsole() ) /   MessageBox(_T("控制台生成失败。"), NU

2009-02-03 21:28:00 926

原创 查杀进程

******CNTServices.h****** /*有错误*/#include #include class CNTServices{public: SERVICE_STATUS m_ServiceStatus; SERVICE_STATUS_HANDLE m_ServiceStatusHandle; /***********************************

2009-02-03 20:47:00 546

原创 一个有用的Queue程序

头文件 #ifndef QUEUE_H_H#define QUEUE_H_H#define UINT unsigned inttypedef void *HTWOBUFQUEUE;//帧头结构typedef struct QUEUENODE{ char* head;  //帧头本身数据 char* data; UINT dataSize; //数据大小,不固定}QUEUENODE_

2009-01-05 22:38:00 558

原创 检测服务器端口

检测服务器端口 头文件/*----------------------------------------*/class PortCheck{ SOCKET  m_socket; SOCKADDR_IN m_dest; int   m_connectNum;#define CHECKNUM 1public: PortCheck(); ~PortCheck(); bool Init(

2009-01-04 02:53:00 994

原创 vc__在指定目录下查找文件

void test(){ if(FindFile("d://*", "123.txt")) {  printf("find file!/n"); }}bool FindFile(char* directory, char* filename){ if(directory == NULL || filename == NULL)  return false; WIN32_FIND_DATA

2009-01-04 02:51:00 908

原创 Ping_C++实现_20090102

  头文件:Ping.h#ifndef __checkmachine__#define __checkmachine__#include #include typedef unsigned short ushort;typedef unsigned int uint;typedef unsigned char uchar;typedef struct icmp_hdr{ucha

2009-01-02 10:55:00 572

原创 简单tcp程序

服务器端:TcpSev.cpp#include #include #include #include #pragma comment(lib, "Ws2_32.lib")void Clean(SOCKET s = 0, int err = 0){//error infoif(err != 0){   printf("accept() error, errno: %d/n", WSAGe

2009-01-02 10:52:00 530

原创 简单UDP程序

 服务器端:UdpSev.cpp/*-------udp server-----*/#include #include #include #define IP8TO32(ip1, ip2, ip3, ip4) ((0xff & ip1) | (0xff00 & (ip2 unsigned int ipstonl(char* ips){if(ips == NU

2009-01-02 10:48:00 662

一个简单的tdi驱动例子

一个简单的tdi过滤驱动例子,服务器、客户端

2009-03-11

DDKReferenceCN.chm

驱动程序超级宝典,中文的MSDN DDK文档

2009-03-09

空空如也

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

TA关注的人

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