摘要: char name[10]; _itoa_s(i,name,10); const char* path=".jpg"; strcat(name,path); 阅读全文
posted @ 2018-05-24 14:30 Henry2017 阅读(827) 评论(0) 推荐(0) 编辑
摘要: 大牛博客,收藏一下 http://blog.csdn.net/yangleo1987/article/details/52845912 阅读全文
posted @ 2017-12-22 16:33 Henry2017 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/xuefengdage/article/details/49447897 采用freetype库,写小字会失真,网上找到这个,利用HDC直接写,效果很好,做个摘抄。 1 <span style="font-size:18px;">void GetStr 阅读全文
posted @ 2017-12-15 17:14 Henry2017 阅读(920) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_6a2844750101at8y.html 阅读全文
posted @ 2017-12-15 10:19 Henry2017 阅读(1274) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/wx7788250/article/details/70261615 阅读全文
posted @ 2017-12-13 13:53 Henry2017 阅读(10032) 评论(0) 推荐(0) 编辑
摘要: http://www.doc88.com/p-5157623128806.html 阅读全文
posted @ 2017-11-30 15:21 Henry2017 阅读(408) 评论(0) 推荐(0) 编辑
摘要: //http://blog.csdn.net/lijia11080117/article/details/42042301?locationNum=10#include "stdafx.h" #include #include #include #include int _tmain(int argc, _TCHAR* argv[]) { FILE *fp; long siz; char p... 阅读全文
posted @ 2017-11-24 14:10 Henry2017 阅读(2225) 评论(0) 推荐(0) 编辑
摘要: 1 void CGlassDetectDlg::OnBnClickedButton14() 2 { 3 // TODO: Add your control notification handler code here 4 5 6 7 CString str; 8 POSITION pos=m_List.GetFirstSelectedItem... 阅读全文
posted @ 2017-10-23 14:14 Henry2017 阅读(5402) 评论(0) 推荐(0) 编辑
摘要: access函数判断文件夹或者文件是否存在函数原型: int access(const char *filename, int mode);所属头文件:io.hfilename:可以填写文件夹路径或者文件路径mode:0 (F_OK) 只判断是否存在 2 (R_OK) 判断写入权限 4 (W_OK) 判断读取权限 6 (X_OK) 判断执... 阅读全文
posted @ 2017-10-13 11:14 Henry2017 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1 float start =clock(); 2 //TODO:再次插入需要测试的程序段 3 4 float end=clock(); 5 float time = (end-start)/CLOCKS_PER_SEC; 6 cout<<time; 阅读全文
posted @ 2017-08-08 15:30 Henry2017 阅读(276) 评论(0) 推荐(0) 编辑