演示脚本IF not exists(SELECT 1 from sys.sysobjects where name = 'Student' AND type = 'U')BEGIN CREATE table Student( ID int ...
分类:
数据库 时间:
2015-03-30 17:57:00
阅读次数:
195
题目:
Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).Find the minimum element.You may assume no duplicate exists in the array....
分类:
其他好文 时间:
2015-03-30 11:22:35
阅读次数:
99
1.nimNimTime Limit:1000MSMemory Limit:65536KTotal Submissions:4996Accepted:2311DescriptionNim is a 2-player game featuring several piles of stones. Pl...
分类:
其他好文 时间:
2015-03-30 09:10:52
阅读次数:
196
将工程samples下的WebSockets工程的src/scenes 复制到自己的工程app/scenes/下
main.lua game.lua WebSockets.lua 复制到自己工程mian.lua同等级目录下,就可以运行了了。
其中使用到的接口函数--connect阶段
function MainScene:onConnectClicked()
if self.websoc...
分类:
Web程序 时间:
2015-03-29 15:12:32
阅读次数:
169
http://www.ihacksoft.com/firefox-flash-protectedmode.html其实这个问题以前就出现过,而最近该问题又出现在最新的 Windows 8.1 系统中。由于从Flash Player 11.3开始,新版本引入了安全沙箱技术,而它一直就是火狐无法正常运行...
分类:
其他好文 时间:
2015-03-28 23:03:14
阅读次数:
166
原文: http://xm-koma.iteye.com/blog/1961793 http://www.3lian.com/edu/2013/08-30/93449.htmlMySql模拟Oracle的序列第一步:创建--Sequence 管理表DROP TABLE IF EXISTS seq.....
分类:
数据库 时间:
2015-03-27 21:57:09
阅读次数:
201
mysql –u用户名 –p密码1.操作数据库 创建数据库 CREATE DATABASE [IF NOT EXISTS] db_name [create_specification [, create_specification] ...] create_specification: [D...
分类:
数据库 时间:
2015-03-22 10:27:04
阅读次数:
267
quick-cocos2d-x 学习系列之十五 状态机
1. 代码
-- create Finite StateMachine
self.fsm_ = {}
cc.GameObject.extend(self.fsm_)
:addComponent("components.behavior.StateMachine")
:e...
分类:
其他好文 时间:
2015-03-22 09:15:57
阅读次数:
267
quick-cocos2d-x 学习系列之十四 测试用例
定义变量,创建13个场景名字
local
items = {
"framework.helper",
"framework.native",
"framework.display",
"framework.cryp...
分类:
其他好文 时间:
2015-03-22 09:15:50
阅读次数:
1177
quick-cocos2d-x 学习系列之十六 塔防完结
1. math2d.lua文件
该文件实现了常用的数学函数。
Dist函数实现两点的距离。
radians4point求两点的夹角(弧度)
pointAtCircle求圆上一个点的位置
pointAtLineToPoint求线段上与指定点距离最近的点
degrees2radians角度转换为弧度
radian...
分类:
其他好文 时间:
2015-03-22 09:14:28
阅读次数:
1607