The_diamond_problem (钻石问题) http://en.wikipedia.org/wiki/Multiple_inheritance#The_diamond_problem The "diamond problem" (sometimes referred to as the "deadly diamond of death"[6]) is an ambigui...
分类:
其他好文 时间:
2014-08-30 15:13:50
阅读次数:
232
MongoDB与PHP的添加、修改、查询、删除PHP 扩展mongon.mod.dll 下载http://cn.php.net/manual/en/mongo.installation.php#mongo.installation.windows然后php.ini添加 extension=php_m...
分类:
数据库 时间:
2014-08-30 15:06:19
阅读次数:
320
前言我们经常看到 tencent://.. thunder:// 这两种开头的网址,往往觉得很奇怪,很想弄懂其中的原理,是如何实现的,我查找了相关的 资料,终于找到了,跟大家分享下。原理篇微软官方说明:http://msdn.microsoft.com/en-us/library/Aa76791.....
分类:
Web程序 时间:
2014-08-29 17:56:18
阅读次数:
349
#include
#include
using namespace std;
int main()
{
unsigned short cid = GetSystemDefaultLCID();
switch (cid){
case 0x0804:
cout << "简体中文" << endl;
break;
case 0x0404:
cout << "繁体系统" << en...
分类:
其他好文 时间:
2014-08-29 14:44:28
阅读次数:
155
官网下载:http://nginx.org/en/docs/windows.html官方说明:nginx的Windows版本使用原生Win32 API(非Cygwin模拟层)。当前nginx/Windows只使用select作为通知方法,所以不要期待它有很高的性能和扩展性。鉴于这点和一些已知问题,n...
分类:
其他好文 时间:
2014-08-29 13:00:17
阅读次数:
221
一个简单的样例:http://osedu.net/article/python/2014-03-18/501.htmlioloop的官方doc:http://www.tornadoweb.org/en/stable/ioloop.html#tornado.ioloop.IOLoop
分类:
编程语言 时间:
2014-08-29 12:40:47
阅读次数:
222
/*
### jQuery XML to JSON Plugin v1.2 - 2013-02-18 ###
* http://www.fyneworks.com/ - diego@fyneworks.com
* Licensed under http://en.wikipedia.org/wiki/MIT_License
###
Website: http://www.fynework...
分类:
编程语言 时间:
2014-08-28 22:44:46
阅读次数:
385
<?xmlversion="1.0"encoding="UTF-8"?><!--指定struts2配置文件的DTD信息--><!DOCTYPEstrutsPUBLIC"-//apacheSoftwareFoundation//DTDStrutsConfiguation2.0//EN""http://struts.apache.org/dtds/struts-2.0.dtd"><!--struts是struts2配置文件的根元素--&..
分类:
其他好文 时间:
2014-08-28 11:36:29
阅读次数:
204
C++ UI frameworkNameplatformDescriptionMFCwindowshttp://en.wikipedia.org/wiki/Microsoft_Foundation_ClassesWTLwindowshttp://en.wikipedia.org/wiki/Windo...
分类:
编程语言 时间:
2014-08-28 09:31:39
阅读次数:
183
题目链接:http://poj.org/problem?id=2992
题目大意:就是叫你求组合数C(n,m)的因子的个数。
思路:求解这题需要用到以下几个定理
1、对任意的n,可以这么表示 n=p1^e1*p2^e2*p3*e3*......pn^en
。(p1,p2,p3......pn都为素数)
2、对任意的n的因子数为:(1+e1)*(1+e2)*(1+...
分类:
其他好文 时间:
2014-08-27 20:33:58
阅读次数:
206