搜索资源列表
MD5加密的C++类
- 这是一个好用的MD5的C++类;这个类可以加在控制台 程序中也可用在MFC中, 并且提供了详细的错误处理 函数,是一个安全的类。例程是一个MD5的MFC程序, 支持字符串和文件两种输入。 LPCSTR TargetFile(char *filename=NULL) //计算文件的MD5值 void TargetStr(LPCSTR str) //计算字符串的MD5值 LPCSTR GetDigestKey() //取MD5运算后的结果 LPCSTR GetErr() //如果有错误,取错误字串
Cryptix_src_3-0-3
- 1.BOOL OnCommsCreate(CWnd* pParentWnd) 创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为this。 2. BOOL OnComportOpen() 根据串口设置文件中的设置参数,打开多串口。 3.void OnCommSend(unsigned int uiCom, CString sSendData, unsigned int uiKind) 往指定串口发送数据。其中uiCom为指定的串口,注意串口1的u
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##n##l) void main(void) {
菜单的使用
- 菜单 分别open,和 close 生成成员函数。 void CMenu9Dlg::OnMenuclose() { // TODO: Add your command handler code here OnOK() } void CMenu9Dlg::OnMenuopen() { // TODO: Add your command handler code here MessageBox(\"open the file\",\
均衡化等
- “增强处理”按钮下,分别为规范化处理和均衡化处理。 函数在响应对应的函数下,在1View.cpp下分别为void CMy1View::Onjunheng() 和void CMy1View::Onguifan()。-"Enhancement" button, respectively, for a standardized management and balanced treatment. Function in response to the correspond
namab
- ergydfhgdfhggfhg 一.实验目的 二.实验内容 三、程序简要说明 原 文 : C语言词法分析器的设计与实现 一.实验目的: 1.强化对系统软件综合工程实现能力、规划能力的训练; 2.加强对词法分析原理、方法和基本实现技术的理解; 二.实验内容: 用C语言(或 C++ )作为宿主语言完成: C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。 三、程序简要说明: 1、属性字说明: 共9种 KE
fchh
- 一.实验目的 二.实验内容 三、程序简要说明 原 文 : C语言词法分析器的设计与实现 一.实验目的: 1.强化对系统软件综合工程实现能力、规划能力的训练; 2.加强对词法分析原理、方法和基本实现技术的理解; 二.实验内容: 用C语言(或 C++ )作为宿主语言完成: C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。 三、程序简要说明: 1、属性字说明: 共9种 KEYWORD: 关键字 \"auto\
void create
- 功能:可以输入姓名查询自己的航班信息 可以订票,退票 可以增加航班(设置了密码) 几个函数功能的描述2 -functions : names can be imported to inquire about his flight booking information can be, Refund can increase the number of flights (with a password) Several Function describes the 2
GB2UTF8
- GB转UTF8 void ConvertGBKToUtf8(CString& strGBK)-GB switch UTF8 void ConvertGBKToUtf8 (redeem
DirectX8JC
- 《DirectX8教程》配套代码 [涉及平台] VC++ [作者] void [文件大小] 1003KB [更新日期] 2005-10-29 本代码来自CZVC编程网: HTTP://WWW.CZVC.COM-"DirectX8 Guide" complementary code [involving platform] VC void [Author] [large documents small] 1003KB [u
COMYLYYY
- 《COM原理与应用》配套代码 [涉及平台] VC [作者] void [文件大小] 667KB [更新日期] 2005-10-23 10:23:00 -"COM Theory and Application" complementary code [involving platform] VC void [Author] [Size] 667KB [updated] 2005-10-23 10:23:00
控制链接ODBC
- HICON m_hIcon _ConnectionPtr m_pCon //连接对象 _RecordsetPtr m_pRs //记录集对象 BOOL LoadDbSource(CString strSourceName,CString strSourceDb, CString strDescr iption) // Generated message map functions //{{AFX_MSG(CCodeCtrlOdbcDlg) virt
模拟键盘输入
- //{{AFX_DATA(CIEButtonDlg) enum { ID D = IDD_IEBUTTON_DIALOG } // NOTE: the ClassWizard will add data members here //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CIEButtonDlg) protected: vir
C(3)
- C计时程序源代码 void mytime1() { static LARGE_INTEGER startTime QueryPerformanceCounter(&startTime) static LARGE_INTEGER timerFrequency -time C source code void mytime1 () (static LARGE_INTEGER startTime QueryPerformanceCounter (
Ckuhanshu
- 函数名: qsort 功 能: 使用快速排序例程进行排序 用 法: void qsort(void *base, int nelem, int width, int (*fcmp)()) 程序例:-function : qsort function : Routine use of Quick Sort Sort Usage : void qsort (void * base, nelem int, int width, int (* fcmp) ()) process cas
Cjishitime
- C计时程序源代码 void mytime1() { static LARGE_INTEGER startTime QueryPerformanceCounter(&startTime) static LARGE_INTEGER timerFrequency QueryPerformanceFrequency(&timerFrequency) /////////////***你要计时的程序-time C source code void mytim
vc34881212477
- 听说过‘三子棋’游戏吗?该程序是单机版的‘三子棋’游戏。规则很简单:下子阶段,组成’三‘时,可把对方的子变为无效子(下完后该子会被去掉)。行棋阶段,组成“三”时,可把对方的子直接去掉。谁最先无子谁就输。-heard 'three-game' game? The program is stand-alone version of the 'three-game' game. Very simple rules : Now phase, composed of 'three', the other
Animation-Style_Dialog_Class
- 制作动画的类,很不错的 // construction CAniDialog(UINT nDlgID, CWnd* pParent) CAniDialog(CPoint pt, UINT nDlgID, CWnd* pParent) // operation // access frame number UINT GetFrameNum() const void SetFrameNum(UINT nFrames) // access an
lianbiaoshixian
- 程序运行后,可以任意次任意选择1-5各种功能(第一次当然应选0),直至选择6结束程序运行。 考虑实现功能5的函数原型作下列几种变化时,该函数及程序的其它部分需要作什么相应的变化,说明变化的原因。 node* del5560(node*) void del5560(node*&) void del5560() //头指针使用全局变量-running, they can choose any arbitrary time 1-5 various functions (th
ibook8_417489
- public static void main(String[] args) { try { Enterprise1TestClient1 client = new Enterprise1TestClient1() Enterprise1 remote=client.getHome().create() System.out.print(remote.helloWorld(\"Demo one\")) }catch (RemoteException ex) {