搜索资源列表
StringConvertor
- 可以在string, char *, wstring, wchar_t *之间任意转换!
char
- 该程序能让你将一个小数的整数部分每个三位加一个逗号显示。很好的字符串处理小程序。
Char
- 我自己做的一个居欲网的聊天工具,功能比较简单,但已经能够实现聊天了,希望对大家有帮助
tcpchat
- tcp char 聊天程序,希望对大家有一个帮助
521200658
- nsigned char lcddata,column,page,code_,k xdata unsigned char OUTBIT _at_ 0x2001 // 位控制口 xdata unsigned char IN _at_ 0x2002 // 键盘读入口 xdata unsigned char CONTROL _at_ 0x2003 //8255控制口
WindowsErrorCodes
- Windows 错误码翻译(子)程序 本程序包含两个关于 windows 错误的东西。 第一个是筛选器异常处理。使用这里的筛选器异常处理,首先要要引入源代码: #include \"Exception_Debug.cpp\" 然后在程序入口代码中使用如下代码: SetUnhandledExceptionFilter(_ProcessErrDealing) 这样就注册了一个筛选器异常处理。
ucw-src129
- UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not par
arp
- ARP编程,发送ARP,// ARP fr a me typedef struct tagARPfr a me { unsigned short HW_Type /* hardware address */ unsigned short Prot_Type /* protocol address */ unsigned char HW_Addr_Len /* length of hardware addres
char
- CS聊天模型先运行server端 再运行client端 client端可以同时打开多个窗口 可以建立聊天室
ADS1100ok!
- 这个是一个用Keil C51编写的16位串行AD芯片ADS1100的驱动程序示例,程序中含有写好的ADS1100.H标准驱动函数和LCD1602.H液晶驱动函数,用51模拟IIC总线进行数据采集。提供API式外部函数接口:void Init_ads1100(unsigned char mdata) unsigned int Rd_ads1100(void) 具体功能见程序中的*.C测试文件。
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(\"n
File
- const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置
led_linux2.4.18
- Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生led module。 insmod main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int main(int argc, char *argv[]) { int testdev
myprog
- 用char *malloc(unsigned size)函数向系统申请一次内存空间(如size=1000,单位为字节),用首次适应法 addr = (char *)fmalloc(unsigned size) 和 ffree(unsigned size,char * addr)(基本要求)或 循环首次适应法(提高一步) addr = (char *)lmalloc(unsigned size) 和 lfre
hacK
- * first open client.cpp and search for that USER_MSG_INTERCEPT(TeamInfo) over it u add this Code: USER_MSG_INTERCEPT(Health) { BEGIN_READ(pbuf,iSize) me.iHealth = READ_BYTE() return USER_MSG
floatingdustser
- 将运算的结果(浮点数)存入eeprom中。我们知道,浮点数在c语言中是以ieee格式存储 的,一个浮点数占用四个字节,例如浮点数34.526存为(160,26,10,66)这四个数。要 将一个浮点数存入eeprom,实际上就是要存这四个数。那么如何在程序中得到一个浮点数的 组成数呢? 浮点数在存储时,是存储连续的字节中的,只要设法找到存储位置,就可以得到这些数了。 可以定义一个void的指针,将此指针指向需要存
PostForum
- /*** *** *** *** **/ /* 灌水机 源代码 */ /* PostForum.cpp */ /********************************************/ #include #include #include <winsock.h> main(int argc,char *argv[]){ char buff[4096
frame7.03
- FMC实现密码探测器功能FILE *input,*output char temp if(strcmp(infile,outfile)!=0 && ((input=fopen(infile,\"rb\"))!=NULL) && ((output=fopen
key
- 矩阵键盘驱动程序, unsigned char key(void) 只要调用这个函数即可实现
char
- 提取工程文件,窗体文件,和pas文件的字符串,以方便做多国语言。