搜索资源列表
怎样获取快捷方式所指向的目标文件名
- 怎样获取快捷方式所指向的目标文件名? HRESULT hres IShellLink* psl HRESULT hres IShellLink* psl char szGotPath[MAX_PATH] char szDescr iption[MAX_PATH] WIN32_FIND_DATA wfd OleInitialize(0) hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSC
wenying
- 打开文件,取出内部的一列数据进行分析 可以不用输出字符,不管内部字符的空格影响-Open file,and then get a line of data to analyse,need not output any char no matter if there have any space chars.
MD5加密的C++类
- 这是一个好用的MD5的C++类;这个类可以加在控制台 程序中也可用在MFC中, 并且提供了详细的错误处理 函数,是一个安全的类。例程是一个MD5的MFC程序, 支持字符串和文件两种输入。 LPCSTR TargetFile(char *filename=NULL) //计算文件的MD5值 void TargetStr(LPCSTR str) //计算字符串的MD5值 LPCSTR GetDigestKey() //取MD5运算后的结果
Answer C2
- 实现标准库函数strstr的功能:在str1中查找str2,若找到,返回指向str1中第一次出现str2的位置; int A ( const char * str1, const char * str2 ); 没有的话,返回-1 有则返回所在位置(从0开始) 写出函数,对编写函数main完成对strstr的功能的验证。 -achieve the standard library functions strstr
ffuart.tar
- In the ffuart.tar.gz it has one file. The serial.c is the source codes of the FFUART as a console port, it should be put into the directory: /usr/src/linux/drivers/char/, and be compiled into the kernel.
存储空间的说明
- 存储空间的例子,unsigned char idata _buffer [16] _at_ 0xB0 unsigned char data _buffer [16] _at_ 0x60 unsigned char pdata pdata_buffer [16] _at_ 0xFF60 unsigned char xdata xdata_buffer [16] _at_ 0x0200 -storage space exa
c语言中写二进制数
- c语言中写二进制数。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c = Bin(10101001) // c = 0xA9 } -Write binary number in C language. Cited code: #define Bin(n) LongToBin(0x##
一个syn扫描程序源代码
- 定义源地址 char tgtIP[20] = //定义目的地址 int portNow //定义正在扫描的端口 -definition of the source address tgtIP char [20] = / / int definition destination address portNow / / definition is the port scan
管道聊天程序
- 使用C管道技术在Linux下实现的char-use technology in the Linux pipeline under the char
SIGNAL-char
- 使用C语言信号技术实现的聊天室程序(linux环境)-use C language Signal Technology chat rooms (Linux environment)
用C51实现单片机的中文输入法
- 拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针, 反回值为中文的起始地址,当为0时,杳询失败 -Pinyin input method disappear with the function : * unsigned char code py_ime (unsigned cha
存储管理源代码
- 分区式存储管理源代码 一、可变分区存储管理的基本策略 1)不预先划分几个固定分区,分区的建立是在作业的处理过程中进行的,各分区的大小由作业的空间需求量决定。 2)采用指针方式将各个空闲分区链接而成的链表,用以记录主存分配现状。 3)分配与回收算法按空闲分区链接方式的不同分类,有最佳、最坏、首次和下次适应四种算法。 二、程序模拟的设计 1、基本思想 采用事件驱动模型。事件有: 1)申请主存事件,表示一个作业
namab
- ergydfhgdfhggfhg 一.实验目的 二.实验内容 三、程序简要说明 原 文 : C语言词法分析器的设计与实现 一.实验目的: 1.强化对系统软件综合工程实现能力、规划能力的训练; 2.加强对词法分析原理、方法和基本实现技术的理解; 二.实验内容: 用C语言(或 C++ )作为宿主语言完成: C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。 三
fchh
- 一.实验目的 二.实验内容 三、程序简要说明 原 文 : C语言词法分析器的设计与实现 一.实验目的: 1.强化对系统软件综合工程实现能力、规划能力的训练; 2.加强对词法分析原理、方法和基本实现技术的理解; 二.实验内容: 用C语言(或 C++ )作为宿主语言完成: C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。 三、程序简要说明: 1、属性字说明:
可预置的8位计数器源程序
- 可预置的8位计数器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //变量类型的宏定义 #define uint unsigned int uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的数码管段码 0x49,0x41,0x1f,0x01,0x09}
S语言词法分析程序
- 一、 实验内容 S语言的编译程序的词法分析部分实现 从左到右扫描每行S语言源程序的符号,拼成单词,换成内部表示(token) 二、 实验要求 要求实现编译器的以下功能: 组织源程序的输入 按规则拼写单词,并转换成二元形式 删除空格及无用符号(如回车符,字符常数的引号符等) 发现并定位错误 建立单词表、符号表、常数
keil_iodemo
- The project KEIL_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the Keil ARM toolchain. The I/O functions are adapted for the Analog Devices ADuC
gnu_iodemo
- UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the GNU toolchain. The I/O functi
冲击波源代码
- */ #include <stdio.h> #include <strings.h> #include <signal.h> #include <netinet/in.h> #include <netdb.h> #define NORM \"\\033[00 00m\" #define GREEN \"\\033[01 32m\" #
filepassword
- 使用VC编写的文件操作类FileTool,主要有四个函数: //加密文件,输入参数为文件名,采用了BlowFish加密算法 BOOL EncryptFile(char * pFileName) //解密文件,输入参数为文件名 BOOL DeCryptFile(char * pFileName) //对某一目录下的文件打包,包括子目录,采用了LZARI压缩算法 BOOL Archieve(ch