会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
细语细语
博客园
首页
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
下一页
2015年8月12日
WIN32一些文件及窗口操作
摘要: 0,获取指定的系统路径: #include #pragma comment(lib, "shell32.lib") TCHAR szPath[MAX_PATH]; ::SHGetSpecialFolderPath(NULL, szPath, CSIDL_PERSONAL, FALSE);1,打开...
阅读全文
posted @ 2015-08-12 14:55 细雨细语
阅读(352)
评论(0)
推荐(0)
2015年8月5日
鼠标静止不动时候的消息
摘要: 优化程序的时候发现鼠标放在控件上不动也会不停的收到WM_MOUSEMOVE消息。1,于是想了各种办法寻找是哪儿触发的。bp USER32!PostMessageW ".echo PostMessageW_Breakpoint_hit; g"bp USER32!SendMessageW ".echo ...
阅读全文
posted @ 2015-08-05 20:09 细雨细语
阅读(827)
评论(0)
推荐(0)
2015年6月11日
office2013发布博客
摘要: 0,喜欢用world记笔记,并查上一些配图。但是再想重新发到博客上,图片不得不重新上传十分蛋疼。world直接发布博客功能太棒了,直接绑定账号和url就可以发送了,爽YY!!!1,新建一个博客文件2,设置账户,下拉选择 其他3,http://www.cnblogs.com/博客名/services/...
阅读全文
posted @ 2015-06-11 21:14 细雨细语
阅读(252)
评论(0)
推荐(0)
VS2013编译GLUI
摘要: vs自带的OpenGL为1.1版本,太老了。 1,编译glut https://www.opengl.org/resources/libraries/glut/glut37.zip 查看生成路径,可以改为vs安装目录的lib和include。 2, 找到win32.mak位置。 改为!include
阅读全文
posted @ 2015-06-11 20:50 细雨细语
阅读(1497)
评论(0)
推荐(0)
2015年5月28日
n皇后
摘要: #include "stdafx.h"//////int v,i,j,k,l,s,a[99];//////int _tmain(int argc, _TCHAR* argv[])//////{////// //毒药////// for(scanf("%d",&s); ////// ...
阅读全文
posted @ 2015-05-28 21:01 细雨细语
阅读(170)
评论(0)
推荐(0)
2015年5月23日
VS2013编译WEBKIT
摘要: 0,安装VS2013;DXSDK_Jun10.exe;QuickTimeSDK.exe1,WebKit-r174650.tar.bz2 以管理员解压(非管理员解压最后几下总是报错)2,设置环境变量WEBKIT_HOME:D:\WebKit\WebKit-r174650WEBKIT_LIBRARIES...
阅读全文
posted @ 2015-05-23 01:10 细雨细语
阅读(333)
评论(0)
推荐(0)
2015年5月19日
vs2005_the breakpoint will not currently be hit. The source code is different from the original verison.
摘要: 公司开发只能用英文版的VS2005 (雅蠛蝶)Tool-->Options-->Debugging->General:把Require source files to exactly match the orginal version的复选勾去掉就OK了。
阅读全文
posted @ 2015-05-19 18:21 细雨细语
阅读(353)
评论(0)
推荐(0)
2015年4月21日
C++记录2
摘要: 1, 求成员变量的偏移: 2, const实现机制:在编译期间完成,对于内置类型,如int, 编译器可能使用常数直接替换掉对此变量的引用。而对于结构体不一定。 编译器在优化代码时把j直接优化成64h了,所以虽然p和&j的值一样,但j不再通过访问j的地址输出,而是使用的直接的数。(反汇编时也有看到直接
阅读全文
posted @ 2015-04-21 02:06 细雨细语
阅读(119)
评论(0)
推荐(0)
2015年4月6日
a2x
摘要: #include template bool a2x( T& _f , char* p){ if( !p ) return false ; char* q = p ; while( q != '\0') { if( *q == '-' && *(q...
阅读全文
posted @ 2015-04-06 23:49 细雨细语
阅读(184)
评论(0)
推荐(0)
2014年8月11日
排序与查找
摘要: 1,快排void QuickSort( int a[] , int low , int high ){ int i = low , j = high ; int temp = a[i] ; while( i void /*MinHeap::*/FilterDown( T heapA...
阅读全文
posted @ 2014-08-11 02:04 细雨细语
阅读(213)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
下一页