搜索资源列表
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
348461816854
- public class month1{ public static void main(String [] args){ int month = 10 int days = 0 switch(month){ case 1: days = 31 case 2: days = 28 case 3: days = 31-public class month1 (public static void main (String [] args) (int
DesEncrypt
- * 使用DES加密与解密,可对byte[],String类型进行加密与解密 密文可使用String,byte[]存储. * * 方法: void getKey(String strKey)从strKey的字条生成一个Key * * String getEncString(String strMing)对strMing进行加密,返回String密文 String * getDesString(String strMi)对strMin进行解密,返回String明文
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
storageManger
- 物料管理 物料登记 批量登记:一次性导入多条物料 单条登记:只能录入一条物料信息 物料管理 更新: 删除: 查看: 物料导出 库管员可以将系统中登记的所有物料一次性导出来 MaterialImport Public MaterialImport( MateiralManager manager, String filePath ) Public void importMaterial() private StringBuffer rea
String_int
- String int 字符串常量池 包装类型 函数参数 值传递引用传递 的 内存分配例子——源码 代码段: public static void fun_ref (Ref_test ref_out){ Ref_test ref_in=new Ref_test() ref_in.s1="in" //ref_out.s1="out" ref_out=ref_in //漏洞!!ref_out 指向ref_in , //那么当函数退出后,re
thread
- java 线程 静态锁,对象锁, synchronized 是锁方法还是锁对象?还是锁类?如何实现?? 部分代码如下, public static Object lock=new Object() //静态锁,锁类,不是锁对象了!!所以两个线程同时 运行两个 TestThread 的execute( ),也可以同步!!! public void execute(){ // synchronized(lock){ for(int i=0 i<
1820
- 程序名: DS18B20测温程序 CPU型号:AT89S52/STC89C51RC 晶振:11.0592 M 功能描述: 测温室温显示 用数字温度传感器DS18B20就可以实时检测室温值-void main(void) { wei1=0 wei2=0 wei3=0,wei4=0 wei5=0 wei6=0 while(1) { Read_Disp_Temperature() } }
d93rtgu
- File: dir_39 canOneDirectorySector(unsigned long sector, char *name) extern void MakeFileName(char *inname, char *outname) ScanOneDirectorySector(unsigned long sector, char *name) extern void MakeFileName(char *inname, char *outname)-File:
GreyClose
- 使用GUI函数,将控制台关闭按钮无效化。-The use of GUI functions, will be null and void the Close button of the console