搜索资源列表
JoyDe
- 利用书中图5.19和图5.20的最大值堆实现一个优先队列。对于队列的操作应该支持下列几种指令: void enqueue[int ObjectID, int Priority] int dequeue[] void changeweight[int ObjectID, int newPriority] 函数enqueue向优先队列中插入一个ID号为ObjectID、优先级为Priority的新对象。函数dequeue从优先队列中删除优先级最高的对象,并返回该对象的
218
- 大顶堆实现一个优先队列。对于队列的操作应该至少支持下列几种指令: Void enqueue[int ObjectID, int Priority] Int dequeue[] Void changeweight[int ObjectID, int newPriority] -Large Top Heap realize a priority queue. For the operation of the queue should be at least support
12145652872
- struct Link *right struct Link *left int num /*给链表加序号,为了演示时计算正确位置*/ }linkx,*linky void Init(void) /*图形驱动*/ void Close(void) /*图形关闭*/ void InitList(void) /*建立双链表,边建立边插入*/ void PrLink(linky p-ncaa psckaonsco asjmcp
cangkuguanlixitong
- 仓库管理系统 含源代码- #import "c:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF","adoEOF") rename("BOF","adoBOF") class ADOConn { public: _ConnectionPtr m_pConnection _RecordsetPtr m_pRecordset public:
hy240a_assign1.tar
- This a safe double linked list data structure in order to store data on void* pointer for data segment.-This is a safe double linked list data structure in order to store data on void* pointer for data segment.
hy240a_assign2.tar
- This a binary search tree with void* pointer in data segment in order you to search store and delete O(n) worst case, O(log(n)) agerage case data.-This is a binary search tree with void* pointer in data segment in order you to search store and delete
cMqOUldV
- 电力系统潮流计算软件.可以计算配电网和主网的潮流.-void Node_Sequen(int*pNum_Node, int*pNum_Line, int*pNum_Gen, int*pNum_Load, int*pNum_Swing, int*pNum_GPV, int*pNum_GPQ)
BusinessEntry
- 人才市场短信平台入口 public void AnalyzeMsg(ShortMsg xmlBuffer) { BusinessProcess BP = new BusinessProcess() //业务处理类 String Msg = xmlBuffer.getShortMsg() String mobileNum = xmlBuffer.getSendMobileNum() String mobileType = xmlBuffer.getMobil
PopPad3
- 记事本程序源码 void PopFileInitialize (HWND hwnd)-Notepad program source void PopFileInitialize (HWND hwnd)
ShutdownOption
- ShutdownOption 简介 使用范围:本ShutdownOption.dll只能在Windows NT及其以上操作系统上使用! 关键方法:在ShutdownOption命名空间下有一个结构 ShutDownComputer和一个ShutdownOperation枚举, ShutdownOperation 的值如下:Hibernate(休眠电脑,如果你的电脑电源支持,一般情况下笔记本电脑都支持休眠功能),LockWorkStation(锁定电脑屏幕),Logoff(注销电脑),
Exercise4
- exercice 4 public class GourmetCoffee { private static BufferedReader stdIn = new BufferedReader( new InputStreamReader(System.in)) private static PrintWriter stdOut = new PrintWriter(System.out, true) private static PrintWriter st
cs4
- cs4+注册序列号无效替换文件 cs4+注册序列号无效替换文件-serial number cs4+ register void replace files Register cs4+ serial number cs4+ void replace files Register files replace invalid serial number
ourdev_243923
- u_reg.h" void Delay_MS(unsigned int ms) void main() { asm(" STM #0000h,CLKMD ") while(*CLKMD & 0x01 ) asm(" STM #40C7h,CLKMD ") //设置CPU运行频率=100M /* 40C7h:5*clkin =100M 30c7h:4*clkin =80M 20c7h:3*clkin =60M 10C7h:
alloc
- Memory Allocation in C-write part of a dynamic storage allocation package. The package provides three function calls: void initalloc(), to initialize the data structures involved char* alloc(int n), which returns a pointer to a block
docking
- void DockWidget::dock() { if (!docked) { KWin::setSystemTrayWindowFor(this->winId(), 0) this->setFixedSize(24, 24) this->show() docked = true } }
RGBandHLS
- 本实验实现RGB颜色与HLS颜色的相互转换;在此实验中,定义了函数void HSLtoRGB(UINT hue, UINT sat, UINT light, BYTE &r, BYTE &g, BYTE &b)实现HSL向RGB转换;void CPaletteDlg::RGBtoHSL(BYTE r, BYTE g, BYTE b, UINT &hue, UINT &sat, UINT &light)实现RGB向HSL转换-Experimental realization of the R
2
- 单链表的插入和删除实验目的: 1、定义单链表的结点类型 2、通过单链表的定义掌握线性表的链式存储结构的特点; 3、熟悉单链表的建立以及插入、删除等基本操作。 -# include <stdio.h> # include<malloc.h> # define ND sizeof(struct List) struct List {int data struct List*next } void main() {
10121
- 利用虚函数手段,按照三种不同的数据存储方式及其处理方法来实现如下的所谓“反序 输出问题”:从键盘输入n 个int 型数据先存储起来(具体n 值由用户从键盘输入),而后再 按照与输入相反的顺序将这些数据显示在屏幕上。 具体地说,可通过在基类baseCla 及其派生类method1Cla、method2Cla 和method3Cla 中说明如下的同一个虚函数“virtual void reverseout() ”,来实现所述问题的三种不同处 理方法。例如,可设计并使用已经在第四章
NumEdit
- VC6,关键就是重载了void CNumberEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags),对键盘响应事件的判断。这样编辑框只接受数字-VC6, the key is a heavy void CNumberEdit:: OnChar (UINT nChar, UINT nRepCnt, UINT nFlags), on the keyboard to respond to events to judge. This edit box t
search
- 编制一个统计单词在问本串中出现次数和位置的程序. 终端输出的结果是:单词、出现的次数、出现的位置所在行的行号,同一行出现两次的只输出一个行号。 测试数据:文本文件名为AWord.C;待统计的词集:if else for while return void int char typedef struct-The preparation of a statistical word in question appeared in this series the number and locati