搜索资源列表
IpLocator
- 有些朋友在C#中使用动态类对象的构造函数/析构函数在对象的初始化/释放时来打开/关闭数据文件,这虽然是一个很好的面向的思想,但托管程序对象的释放时间是不确定的,尤其是ASP.NET的使用,这一方面由于打开的文件未释放会造成资源浪费,更重要的是可能会带来线程并发所造成的共享冲突,另外如果在ASP.NET中使用缓存机制则会增加程序的复杂性和降低模块的独立性、重用性。 基于这些原因,程序中全部使用静态方法,实际上这是由我的另一个C++的程序改写的C#程序,模块的调用很简单,例如,使用当前目录
lcd1602
- sbit DS1302_CLK = P3^4 //实时时钟 线引脚 sbit DS1302_IO = P3^3 //实时时钟数据线引脚 sbit DS1302_RST = P3^5 //实时时钟复位线引脚-#include <REG51.H> #include <intrins.h> //#include "LCD1602.h" //#include "DS1302.h" #define uint unsigned int #defi
Lesson2
- 一个用C编的简单的流水灯程序,共初学者用.-#include<reg52.h> #include <intrins.h> #define uint unsigned int #define uchar unsigned char uchar temp,num,num1 sbit beep=P2^3 void delay(uint)
qw
- 函数: InitInstance(HINSTANCE, int) 目的: 保存实例句柄并创建主窗口 函数: WndProc(HWND, UINT, WPARAM, LPARAM) 目的: 处理主窗口的消息-Function: InitInstance (HINSTANCE, int) Objective: To save the instance handle and creates main window function: WndProc (HWND, UINT, WPARAM,
Lesson2
- 绘制出一个白色的正方形和一个白色的三角形。-/* * This Code Was Created By Jeff Molofee 2000 * A HUGE Thanks To Fredric Echols For Cleaning Up * And Optimizing The Base Code, Making It More Flexible! * If You ve Found This Code Useful, Please Let Me Know. *
IPshow
- 将IP地址在UINT和string之间互相转换,方便查看-change the IP between UINT and string