- 博客(3)
- 资源 (8)
- 收藏
- 关注
转载 ISO C++ Committee Approves C++0x Final Draft
<br />"On the 25th, in Madrid, Spain, the ISO C++ committee approved a Final Draft International Standard (FDIS) for the C++ programming language. This means that the proposed changes to the new standard so far known as C++0x are now final. The final
2011-03-28 22:59:00 998
原创 非客户区 窗口自绘
在进行界面自绘时,一般都需要处理系统的边框,也就是所谓的非客户区,以前做界面时经常为这个问题发愁,那会摸索出了一种简单的方法:让窗口根本就不存在非客户区,所有的绘制都在客户区里面,但是只会引入另外一个问题,如何实现窗口需要通过鼠标拉伸变化大小?CodeProject上面有个例子可供参考http://www.codeproject.com/KB/MFC/CustomWindow.aspx,里面的处理稍显麻烦,可以自己适当优化下。另外一种方法是在研究QQ2009之后的界面时发现的,通过SPY可以看出其可拉伸的窗
2011-03-26 23:51:00 3372 3
原创 PostgreSQL简单封装
<br />工作需要,虽然有libpqxx,但是目前为了刚刚够用,尽量不要引入第三方库。在网上找到简单的封装http://www.touspassagers.com/2010/12/a-postgresql-database-interface-wrapper-in-c/<br /> <br />直接贴上代码:<br />#include <iostream> #include <stdio.h> #include <string> #include <stdlib.h> #include <lib
2011-03-01 00:26:00 1787
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人