12 2015 档案

摘要:// test.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include int _tmain(int argc, _TCHAR* argv[]){ int size = 999999; TCHAR sCfgF... 阅读全文
posted @ 2015-12-29 11:13 曦花 阅读(787) 评论(0) 推荐(0) 编辑
摘要:GetCurrentDirectory获得的是当前进程的活动目录(资源管理器决定的),可以用SetCurrentDirectory修改的。转自http://m.blog.csdn.net/blog/scuthanman/10094793GetModuleFileName函数可以获取当前执行模块所在位... 阅读全文
posted @ 2015-12-28 18:26 曦花 阅读(2973) 评论(0) 推荐(1) 编辑
摘要:1、memmove 对同一个指针不操作,所以调用memmove之前不用比较两个指针是否相同 2、使用memmove是比memcpy更安全的 3、https://www.cnblogs.com/luoquan/p/5265273.html 显示结果是: -不同指针复制- 49.971000 同指针复制 阅读全文
posted @ 2015-12-26 11:06 曦花 阅读(372) 评论(1) 推荐(0) 编辑
摘要:在建立了ssh密钥对之后,要将私钥添加,公钥key添加到gitlab的ssh keys里。添加成功后,这个时候,你可以clone了!总结:如果是遇到重复输入密码的情况,可能是ssh-key,的私钥没有ssh-add 阅读全文
posted @ 2015-12-16 17:07 曦花 阅读(1261) 评论(0) 推荐(0) 编辑
摘要:HANDLE WINAPI CreateThread( __in_opt LPSECURITY_ATTRIBUTES lpThreadAttributes, // 指向SECURITY_ATTRIBUTES 的指针,为新线程指定安全描述 __in SIZE_T dwStack... 阅读全文
posted @ 2015-12-08 10:26 曦花 阅读(38264) 评论(0) 推荐(4) 编辑
摘要:struct ThreadParameter{ CString file_path_name;};//注意这里调用时候,路径要加上\\*.*" 或者 /*.* vector vec_filepaths; //CString strDirPath = _T("E:\\google-cpp-s... 阅读全文
posted @ 2015-12-04 16:00 曦花 阅读(640) 评论(0) 推荐(0) 编辑
摘要:outfile << pContent;//不可以用这个,因为不能写完全,比如遇到字符串中出现/0就终止了bool CTestEn_DecryptDLLDlg::WriteDataFile(CString strFileName, char *pContent, int nLen){ ofst... 阅读全文
posted @ 2015-12-02 09:06 曦花 阅读(600) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示