auto:推导类型变量:编译器选项指示编译器如何使用auto
关键字来声明变量。如果指定默认选项/Zc:auto,编译器从其初始化表达式中推导声明的变量的类型。如果指定/Zc:auto-,编译器将该变量分配给自动存储类。使用示例:auto
root = new TreeNode(*pre_first...
分类:
编程语言 时间:
2014-07-22 23:12:12
阅读次数:
531
1、基本操作db.AddUser(username,password)
添加用户db.auth(usrename,password) 设置数据库连接验证db.cloneDataBase(fromhost)
从目标服务器克隆一个数据库db.commandHelp(name) returns the h...
分类:
数据库 时间:
2014-07-22 23:11:54
阅读次数:
449
要注意的是我们的PHP是嵌入在html中的 首先在php中写入链接 $conn =
mysql_connect("localhost","root","") or die("链接数据库失败");
mysql_select_db("fg19");// 选择数...
分类:
Web程序 时间:
2014-07-22 23:07:55
阅读次数:
505
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-07-22 23:07:13
阅读次数:
379
$.ajax({type:"get", url:"http://",
data:"name="+userid+"&password="+password,async:true,
error:function(request){alert("Connectionerror"); }, success:...
分类:
Web程序 时间:
2014-07-22 23:06:54
阅读次数:
373
一,zabbix2.2.3 VMware Vsphere
exsi监控配置步骤,1,添加监控主机2,添加聚集macro;{$PASSWORD} = yoodo.com{$URL} =
http://ip/sdk{$USERNAME} = root3,关联监控模板模板用Template Virt VM...
分类:
Web程序 时间:
2014-05-01 14:31:32
阅读次数:
664
This is a updated post for a previous post,
where webuilt ffmpeg 0.8 with Android NDK r5 and r6. This post will give
instructions of how to build ffmp...
分类:
其他好文 时间:
2014-05-01 13:58:30
阅读次数:
621
1.安装 mysql ,安装过程中将提示设置 root 用户的密码,默认可以设置为 rootadmin
。$ sudo apt-get install mysql-server2.安装 mysql 开发工具(不安装时,安装 MySQL-python
提示错误"mysql_config not fou...
分类:
数据库 时间:
2014-04-30 23:00:18
阅读次数:
625
本文基于Android 4.2.2从进程/文件的角度审视Android
Camera子系统。
AndroidCamera子系统的整体架构分成客户端(Client)和服务器(Server)两个部分,它们建立在Android的进程间通讯机制Binder的基础之上。
查看进程
root@android:/# ps
USER PID
PPID
V...
分类:
移动开发 时间:
2014-04-29 13:41:19
阅读次数:
715
伸展树模版真的好长好长。。。
cut a b c:把第a-1个数伸展到根节点,把第b+1个数伸展到a的右子树,然后把ch[ch[root][1][0]]拿掉,放在剩下的树的第c个节点下。
flip a b:把第a-1个数伸展到根节点,把第b+1个数伸展到a的右子树,然后翻转ch[ch[root][1][0]];
由于会出现操作两边的情况,所以加了两个-1节点。
注意:
1,输出的时候要注...
分类:
其他好文 时间:
2014-04-27 22:31:19
阅读次数:
295