- 博客(8)
- 收藏
- 关注
转载 c++利用windows api遍历指定文件夹及其子文件夹中的文件
http://blog.csdn.net/sunny_forever/article/details/7106407#comments
2013-12-25 09:33:22 426
转载 如何获取程序所在路径的其他exe
char HistoryName[260]; char *tmp; memset(HistoryName,0,sizeof(HistoryName)); GetModuleFileName (NULL, HistoryName, sizeof(HistoryName)); tmp = strrchr (HistoryName, '\\'); *(tmp + 1) = 0; strcpy
2013-12-12 10:00:43 482
转载 在初始对话框中利用函数GetCommandLineW获取MFC程序的命令行参数
int argn; LPWSTR s=GetCommandLineW(); LPWSTR *cmdLineAry=CommandLineToArgvW(s,&argn); if(argn!=1) { MessageBox((CString)cmdLineAry[1]);//这就是文件名了。}原文地址:http://zhidao.baidu.com/ques
2013-12-12 09:41:11 2848
原创 文件加密解密(源码)
#include #include #pragma comment( lib, "cryptlib.lib" )using namespace std; using namespace CryptoPP;int main(int argc,char *argv[]){ //AES中使用的固定参数是以类AES中定义的enum数据类型出现的,而不是成员函数或变量 //因此需要用::符号来索引 cout
2013-12-10 17:19:41 1160
转载 文件加密解密入门
http://www.cppblog.com/ArthasLee/archive/2010/12/01/135186.html(Crypto++入门学习笔记(DES、AES、RSA、SHA-256) )
2013-12-09 16:05:49 507
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人