在《C++ Annotated Reference Manual(ARM)[ELLIS90]》中的Section 12.1告诉我们:"Default constructors...在需要的时候被编译器产生出来"。其实默认构造函数也是分为两类的:有用的(nontrivial)、无用的(trivial)...
分类:
其他好文 时间:
2014-10-07 15:57:13
阅读次数:
274
地化GO的时候一直遇到一个错误就是check the manual that corresponds to your MySQL server version for the right syntax,反复检查过多次语句都没发现错误,后来网上搜索解决方法见到:http://hi.baidu.com/...
分类:
数据库 时间:
2014-10-06 17:30:00
阅读次数:
213
# Firewall configuration written by system-config-firewall# Manual customization of this file is not recommended.*filter:INPUT ACCEPT [0:0]:FORWARD AC...
分类:
其他好文 时间:
2014-10-05 09:35:18
阅读次数:
222
filter_var是在php5.2.0中开始提供的。详细说明见: http://www.php.net/manual/zh/book.filter.php 先看看代码:array( * "required" => 1, * "filter" => FILTER_VALIDATE_INT, * "o...
分类:
Web程序 时间:
2014-10-04 01:56:15
阅读次数:
229
1. create indexdb.students.ensureIndex({class:1,student_name:1})http://docs.mongodb.org/manual/tutorial/create-an-index/2. show all indexes in current...
分类:
数据库 时间:
2014-10-01 13:13:11
阅读次数:
187
本文来自:http://www.blogjava.net/crazycy/archive/2013/06/06/400287.html每次使用Quartz Cron的时候都要去查manual document;(URI:http://quartz-scheduler.org/documentatio...
分类:
其他好文 时间:
2014-09-29 16:52:31
阅读次数:
273
本人备忘的文章~~~ Linux下安装php开发框架yaf yaf框架中文手册:http://yaf.laruence.com/manual/index.html yaf手册:http://www.php.net/manual/en/book.yaf.php 1.下载并安装yaf扩展?http://pecl.php.net/p...
分类:
Web程序 时间:
2014-09-28 20:30:25
阅读次数:
267
调度器(scheduler)http://cn.cocos2d-x.org/article/index?type=cocos2d-x&url=/doc/cocos-docs-master/manual/framework/native/v3/scheduler/zh.md
分类:
其他好文 时间:
2014-09-26 20:14:18
阅读次数:
143
linux make手册:http://www.gnu.org/software/make/manual/make.html一篇文章:假设我们有一个程序由5个文件组成,源代码如下:/*main.c*/#include "mytool1.h"#include "mytool2.h"int main()...
分类:
其他好文 时间:
2014-09-25 17:15:19
阅读次数:
232
OS5.0以后就开始可以使用ARC( Automatic Reference Counting:自动引用计数 )来代替之前的MRC(Manual Reference Counting:人工引用计数)。使用ARC会减少很多代码和忘了释放对象的苦恼。但是事情都有两面性。使用了ARC之后如果你想复用以前写过的使用MRC的类, 就会出报错。这时候怎么办?方法比较简单, 只需要做下面的一个步骤就可以解决:
...
分类:
移动开发 时间:
2014-09-24 19:41:27
阅读次数:
236