外连接分为:左外连接、右外连接、全外连接左外连接就是以左表为准,去匹配右表,左表有多少条数据,结果就是多少条数据select * from A left join B on A.id=B.idid name id name 1 a ...
分类:
数据库 时间:
2015-03-17 15:43:16
阅读次数:
132
Recover Binary Search Tree问题:Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A ...
分类:
其他好文 时间:
2015-03-17 15:41:16
阅读次数:
139
1 BEGIN 2 #Routine body goes here... 3 /* 4 update szzx_goods_common set gc_id=i where gc_name=(SELECT gc_name from szzx_goods_class where gc_...
分类:
数据库 时间:
2015-03-17 15:40:15
阅读次数:
228
下面的软件下载地址:http://download.csdn.net/source/2607382ftyp:这是一个筐,可以装mdat等其他Box。例:00 00 00 14 66 74 79 70 69 73 6F 6D 00 00 02 00 6D 70 34 31 语义为:ftyp: Maj....
分类:
其他好文 时间:
2015-03-17 15:40:05
阅读次数:
171
所谓的异步加载,也就是两个线程同时执行一个任务,比如一个加载文字,一个加载图片,这样子可以先看到文字footer,html包含尾部文件 {template "content","footer"}调用栏目列表{pc:content action="category" catid="1" num="1....
分类:
Web程序 时间:
2015-03-17 15:40:33
阅读次数:
191
转自:http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=20764167&id=44701243.1 ThetimermoduleCreating timers usingerlang:send_after/3anderlang:star...
分类:
其他好文 时间:
2015-03-17 15:39:05
阅读次数:
151
1、从set/map谈到hashtable/hash_map/hash_set稍后本文第二部分中将多次提到hash_map/hash_set,下面稍稍介绍下这些容器,以作为基础准备。一般来说,STL容器分两种: 序列式容器(vector/list/deque/stack/queue/heap), 关...
分类:
编程语言 时间:
2015-03-17 15:40:48
阅读次数:
231
1、 A:Are you alone? B:All… All the time. A:Oh,I'm sorry to hear that Stu. B:Can... Can I to be your friend? A:I've got enough.2、 A:But you've got ...
分类:
其他好文 时间:
2015-03-17 15:39:12
阅读次数:
163
1、CentOS 修改DNS修改对应网卡的DNS的配置文件# vi /etc/resolv.conf修改以下内容nameserver 8.8.8.8 #google域名服务器nameserver 8.8.4.4 #google域名服务器2、CentOS 修改网关修改对应网卡的网关的配置文件[root...
分类:
其他好文 时间:
2015-03-17 15:41:30
阅读次数:
137
周末打了个GDUT的校赛,也是作为SCAU的一场个人排位。比赛中竟然卡了个特判,1个半钟就切了5条了,然后一直卡。还有其他两条可以做的题也没法做了,性格太执着对ACM来说也是错呀。讲回正题 。A 游戏王 . 目的是集齐6张卡, 然后n个小伙伴手上持有卡num, 给出m种集合 , Stubird需要有...
分类:
其他好文 时间:
2015-03-17 15:39:40
阅读次数:
195
明白以下几个概念: 字母集(Character Set),汉字,特殊符号,字母这些都是字符集; 字符编码集(Coded character set),将字符集的字符使用数字进行编码;比如ASCII,就是定义了一组字符编码集;Unicode 字符编码框架(Character-encoding sche...
分类:
编程语言 时间:
2015-03-17 15:40:08
阅读次数:
139
头部和尾部包含1 默认的首页模板 C:\wamp\www\phpcms\templates\ypzy2014\content\index.html 打开模板查看 第一句 {template "content","header"} 最后一句 {template "conten...
分类:
Web程序 时间:
2015-03-17 15:40:19
阅读次数:
153
比较运算符主要是用于进行比较运算的,例如:等于、全等、不等、大于、小于。在PHP中常用的比较运算符如下表:任务咱来试试比较运算符吧!在右边编辑器中,输入11条指令,如图所示:分别是第4行,第6行,第8行,第10行,第12行,第14行,第18行,第20行,第22行,第24行,第26行。运行结果如下:从...
分类:
Web程序 时间:
2015-03-17 15:39:58
阅读次数:
120
1 安装完成phpcms,然后打开2 C:\wamp\www\phpcms\templates 复制下面的default 目录,改名为ypzy20143 修改ypzy2014文件夹下的config配置文件 'name' => '优品致远2014', 'author' => '萧山日报信息...
分类:
Web程序 时间:
2015-03-17 15:38:15
阅读次数:
131
1、二次贝塞尔曲线 quadraticCurveTo(cpx,cpy,x,y) //cpx,cpy表示控制点的坐标,x,y表示终点坐标;数学公式表示如下:二次方贝兹曲线的路径由给定点P0、P1、P2的函数B(t)追踪:代码实例:canvas直线二次贝塞尔曲线代码效果:2、三次贝塞尔曲线 bez...
分类:
其他好文 时间:
2015-03-17 15:38:05
阅读次数:
120
这个问题可能是变量未定义造成的:if(!empty($current_user_id)){ $digg = $this->m_feed_digg->show_entity( array('digg_user_id' => $current_user_id, 'digg_feed_id' => ...
分类:
Web程序 时间:
2015-03-17 15:37:33
阅读次数:
147