搜索资源列表
NEO SDK 图形库 2.1.90
- NEO V2.1.90 正式版的说明文件。 这个压缩包中的包括了NEO的头文件(即源程序)、帮助文档、实例、汉字库等组件: NEO--| |--docs:内含NEO详细的开发及使用文档, | 有了它就能很容易地使用NEO SDK了! | &n
transsliderDemo
- 这是一个MFC透明滑块类,由于它使用CSliderCtrl 作为它的基类,所以它可以取代CSliderCtrl 对象。支持刻度标记。使用时,加这个类到你的项目中。增加你的滑块到项目中,接着将.h文件中的 CSliderCtrl类型修改为CMySliderControl ,并且#include这个MySliderControl.h 文件。-This a transparent MFC slider category, as it CSliderCtrl use as its base class.
3DRect
- 3DRect.h和3DRect.cpp中包含了用于绘制3D矩形的C3DRect类。将其添加到你的工程中,适当添加#include \"3DRect.h\",就可以直接使用了。可以自由设置斜切边宽度。-3DRect.h and 3DRect.cpp contains 3D rendering for the rectangular C3DR ect category. To add them to your project, the addition of appropriate # includ
常用数值算法于程序C++常用算法2
- 包括了书中所有的C++程序源代码文件,每个源程序文件的文件扩展名都使用.cpp形式。这些C++程序已经在微软公司Windows 平台下的Virsual C++ 6.0环境下通过。盘中还包括由这些源程序在VC++6.0下生成的可执行文件(文件扩展名为.exe),以及由这些程序运行后产生的结果文件(文件扩展名为.dat)。另外,还包括若干类书中所介绍算法的头文件,由文件扩展名为.h和.inl所组成。 为了方便读者实际应用书中所介绍的算法程序,本光盘专门预创建了VC++6.0的工程,-book i
常用数值算法于程序C++常用算法3
- 包括了书中所有的C++程序源代码文件,每个源程序文件的文件扩展名都使用.cpp形式。这些C++程序已经在微软公司Windows 平台下的Virsual C++ 6.0环境下通过。盘中还包括由这些源程序在VC++6.0下生成的可执行文件(文件扩展名为.exe),以及由这些程序运行后产生的结果文件(文件扩展名为.dat)。另外,还包括若干类书中所介绍算法的头文件,由文件扩展名为.h和.inl所组成。 为了方便读者实际应用书中所介绍的算法程序,本光盘专门预创建了VC++6.0的工程,-book i
常用数值算法于程序C++常用算法4
- 包括了书中所有的C++程序源代码文件,每个源程序文件的文件扩展名都使用.cpp形式。这些C++程序已经在微软公司Windows 平台下的Virsual C++ 6.0环境下通过。盘中还包括由这些源程序在VC++6.0下生成的可执行文件(文件扩展名为.exe),以及由这些程序运行后产生的结果文件(文件扩展名为.dat)。另外,还包括若干类书中所介绍算法的头文件,由文件扩展名为.h和.inl所组成。 为了方便读者实际应用书中所介绍的算法程序,本光盘专门预创建了VC++6.0的工程,-book i
gads
- #include <stdio.h> unsigned long int crc32_table[256] unsigned long int ulPolynomial = 0x04c11db7 unsigned long int Reflect(unsigned long int ref, char ch) { unsigned long int value(0) // 交换bit0和bit7,bit1和bit6,类推 for(int i = 1
huidu
- #include \"stdio.h\" #include \"malloc.h\" #define TRUE 1 #define n 39 #define max 500 typedef struct { char p[n] float w[n][n] }graph graph *ga2 int visit[n] int path[n][n] float C[n][n] float A[n][n] -#includ
VC++(MFC)Face
- 说明: 1.copy these four files to your pragram folder, 2.add \"*.Lib\",\"*.h\" to the project if USING MFC DLL, the files in \"DLL\" Folder, if using static lib,the files in \"static\" folder 3.add #include\"SkinMagicLib.h\" to the C*APP.c
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,最先到达
ClickDialog
- 点击按钮,弹出另一个对话框的Demo 第一步:添加(Insert Dialog)要弹出的Dialog,根据自己需要可以设计界面,因为我是一个简单Demo,所以很简单! 第二步:为添加的Dialog添加建立成一个继承DLG的类,class CDialog1 : public CDialog 第三步:在主对话框中为按钮添加函数。如下: void CClickDialogDlg::OnButton1() { // TODO: Add your control notifi
COLOURPOPUP
- 一个绘制饼图的控件,及实例 使用步骤如下: 1. 使用MS Visual C++对话框编辑器将定制控件放置到对话框中,并输入PIE_CHART_CTRL作为类名。 2. 在头文件中增加CPieChartCtrl类成员 #include \"PieChartCtrl.h\" ... CPieChartCtrl m_wndChart
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 // 事件类
ChangingDesktop
- 设置桌面背景, (1)使用ChangingDesktop需要包含的一些头文件,以及进行初始化 在stdafx.h中 #include <afxwin.h> #include <wininet.h> //添加这个。注意顺序,顺序乱了也编译不过 #include <afxext.h> 用了com的东西,要进行初始化,不用说了吧。 在CXXXApp::Initinstance中添加AfxOleInit() 使用CCh