
C++
文章平均质量分 65
memoryzhong
这个作者很懒,什么都没留下…
展开
-
C++ 日志
简单日志#include ofstream fLog;int len;fLog.open("d:\\log.txt",ios::app);if(fLog.good()){fLogfLogchar* str1=new char[len *2+2];fLogif (str1 !=NULL){delete [] str1;str1 =N原创 2012-12-24 13:30:12 · 387 阅读 · 0 评论 -
#define用法集锦
#define用法集锦Definition:The #define DirectiveYou can use the #define directive to give a meaningful name to a constant in your program. The two forms of the syntax are:Syntax#define identifi转载 2013-01-04 22:39:04 · 414 阅读 · 0 评论 -
activex ocx插入、调用dialog对话框
网上看到很多。都比较麻烦 下面这个是最简单的Dialog frame as an ActiveX controlI wanted to create a control which would behave as a dialog or formview (you can place controls here). There is a simple way to d原创 2013-04-03 14:28:51 · 1358 阅读 · 0 评论 -
动态加载文件 DLL
#include HMODULE hDll=NULL;CString filePath = "c:\\xxxxx\\";CFileFind finder;mkdir(filePath); ///如无则创建BOOL bWorking=finder.FindFile(filePath+"*.dll"); //获取第一个文件while(bWorking){bWorking=原创 2013-04-03 14:00:55 · 566 阅读 · 0 评论 -
根据PBOC要求完成8583信息的组包及解包
/////////////#define __DEBUG_ISO8583_MAIN__ //#define __//e_log_ISO8583_EASTCOM__ /******************************************************************************** 文件名:ISO8583.c 功能:根据转载 2013-04-27 16:10:12 · 2313 阅读 · 0 评论