搜索资源列表
COM枚举
- 使用方法如下: 1、在工程中加入comm.h这个头文件 2、在stdafx.h中加入 #include 3、在聚合类改变方法如下: 原句:public IDispatchImpl 新句:public IDispatchImpl<_EnumColl::CollectionType, &IID_IUsers, &LIBID_TEST07Lib> OK,就这么简单,然后再加入你自己的方法如Add,Delete等即可-use as follows : 1, the works include
HexStrToInt
- 函数 long StrToData(CString strData,int jz) 功能:字符串转为正整数值 [字符串可为2-16]任意进制数值字符串 返回:长整型数值 参数:strData 为将要转换的字符串 参数:jz 为字符串的进制 如: CString s s=\"FFA6\" long data=StrToData(s,16) 则:data的值为:65446 用法:将StrToData.h和StrToData.cpp复制加入到
332658
- #include <stdio.h> #include <string.h> #include <stdlib.h> #include <malloc.h> #include <math.h> #include <conio.h> struct DuLNode{ struct DuLNode *prior int data struct DuLNode *next-# in
tu
- [输入] 图的顶点个数N,图中顶点之间的关系及起点A和终点B [输出] 若A到B无路径,则输出“There is no path” 否则输出A到B路径上个顶点 [存储结构] 图采用邻接矩阵的方式存储。 [算法的基本思想] 采用广度优先搜索的方法,从顶点A开始,依次访问与A邻接的顶点VA1,VA2,...,VAK, 访问遍之后,若没有访问B,则继续访问与VA1邻接的顶点VA11,VA12,...,VA1M,再访问与VA2邻接顶点...,如此下去,直至找到B,最先到达
4
- 学会对文件的记录锁定,及解锁。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int main() { int fd int i struct { char name[20] uint ID int age } myrec fd =open(\"name\", O_RDWR|O_CREAT, 0755)
ch10
- 数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型 struct RedType // 记录类型(同c10-1.h) { KeyType key // 关键字项 InfoType otherinfo // 其它数据项 } typedef char KeysType // 定义关键字类型为字符型 #incl
ch2
- #include\"c1.h\" typedef int ElemType #include\"c2-2.h\" #include\"bo2-4.cpp\" void MergeList_CL(LinkList &La,LinkList Lb) { LinkList p=Lb->next Lb->next=La->next La->next=p->next free(p) La=Lb
ch3
- // algo3-12.cpp 银行业务模拟。实现算法3.6、3.7的程序 #define Qu 4 // 客户队列数 #define Khjg 5 // 两相邻到达的客户的时间间隔最大值 #define Blsj 30 // 每个客户办理业务的时间最大值 #include\"c1.h\" typedef struct // 定义ElemType为结构体类型 { int OccurTime // 事件发生时刻 int NType // 事件类
StdAfx
- StdAfx.h vc++重要的头文件的 要放到vc98/include文件夹里面
APPCCFG
- APPCCFG.H vc++的头文件,要放到vc98/include里面去
uCOS-II_LPC2000
- pc.c是移植于μCOS-II的PC服务代码(pc.c) 主要改动: 1、#include \"includes.h\"改为\"config.h\" 2、在屏幕上显示改为向UART0发送数据,在电脑上显示,影响的函数: PC_DispChar()、PC_DispClrCol()、PC_DispClrRow()、PC_DispClrScr()和PC_DispStr() 3、获取键值改为从UART0获取,影响的函数:PC_GetKey() 4、因为没有dos环境所作的修改,影响的函数: PC_DOS
MemoryLeakCheck
- 将压缩包里的头文件memory.h加入VC的INCLUDE目录下,在程序中写入Memory() 单步执行可以检查内存泄露-compressed bag of the first document memory.h join VC INCLUDE directory, in the process of inclusion Memory () can single-step implementation of memory leakage inspection