- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 计算一段程序运行时间
计算一段代码运行时间,不考虑多线程。实例:#include "stdafx.h"#include#include #include int _tmain(int argc, _TCHAR* argv[]){ clock_t start,finish; start = clock(); //...Sleep(1000); finish = cl
2015-09-11 15:32:05 639
原创 链接
1、LIB和DLL的区别与使用 http://www.cppblog.com/amazon/archive/2009/09/04/95318.html
2015-09-08 20:37:29 306
原创 文件中追加文本内容
实例代码:#include "stdafx.h"#include #include #include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ //文件中追加文本内容 string strpath3 = "D:\\Dtest5\\Readjpg\\3.txt"; std::of
2015-09-02 11:19:06 693
原创 二进制读取jpg和写jpg图
代码#include "stdafx.h"#include #include #include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ string strpath = "D:\\Dtest5\\Readjpg\\1.jpg"; string strR1 = "D:\\Dtest
2015-09-01 20:50:16 11732 1
64位进程调用32位DLL实例
2015-11-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人