-- ------------------------------------------------------------ 表的结构 `score`--CREATE TABLE IF NOT EXISTS `score` ( `id` int(11) NOT NULL AUTO_INCREME....
分类:
数据库 时间:
2014-08-21 01:34:43
阅读次数:
624
在过去的几年里,视频已经成为web网页上最主流的趋势之一,这主要是由Adobe Flash Player来推动的。2007年Flash Player 9中引入了H.264和全屏支持技术,通过在web页面上的沉浸式高清视频体验,实实在在地改变了局面。最近,在移动设备上实现的Flash Player已经...
分类:
其他好文 时间:
2014-08-21 00:04:43
阅读次数:
276
Chapter9 Interactive UI with Multiple Top-Level Windows 多个顶层窗口下的交互式UI
现在我们的程序需要添加一些方法来变得适合日常工作中的重用; 首先要有个button来退出; 其次, 要有top-level窗口来管理配置; 用户修改配置时, 程序应该检查变动, 让用户知道改动是否正确;
9.1 A Button
b...
分类:
其他好文 时间:
2014-08-20 14:12:06
阅读次数:
256
a simple music player: Golang for the back-end, html5 and jQuery for the front-end...
分类:
Web程序 时间:
2014-08-20 10:31:26
阅读次数:
224
Two players, S and T, are playing a game where they makealternate moves.
S plays first.
In this game, they start with an integer N. In each move, a player removesone digit from the integer and pass...
分类:
其他好文 时间:
2014-08-20 10:28:46
阅读次数:
239
这篇文章描述了怎样为Orchard建立一个非常小的模块,它只显示一个”Hello World”页面. 另一个模块[Module]的简单例子,你可以从这找到:Quick Start - Get module blueprint. 简介 Orchard是建立在ASP.NET MVC上的.这意味着如果你了...
分类:
其他好文 时间:
2014-08-20 09:13:36
阅读次数:
189
1 #include 2 3 void print(int *a, int start , int end); 4 5 void quick_sort(int *a, int start, int end) { 6 if (start + 1 >= end) return; 7 ...
分类:
其他好文 时间:
2014-08-19 20:37:15
阅读次数:
238
Chapter6 Using JavaScript 使用JavaScript
在QtQuick中JavaScript可以有很多复杂和强大的用法; 实际上, QtQuick是被实现成一个JavaScript的扩展; JS基本可以在任何地方使用, 只要代码返回的值的类型和预期的一致; 此外, 使用JS是一部分处理应用逻辑和计算的代码的标准形式;
6.1 JavaScript is no...
分类:
其他好文 时间:
2014-08-19 16:30:47
阅读次数:
281
using System.Drawing;
using System.IO;
using System.Drawing.Imaging;
private void AddTextToImg(string fileName,string text)
{
if(!File.Exists(MapPath(fileName)))
...
分类:
Web程序 时间:
2014-08-19 14:35:08
阅读次数:
204
定时器用的地方还是比较多的,游戏中的逻辑判断很多都是采用每帧执行。quick对于schedule的封装在scheduler这个lua文件中。如果是第一次接触quick的话,可能按照官方的api来写一个定时器被报错,提示schedule是一个nil值,这是因为其他的模块在初始化时都是被加载的,唯独这个scheduler没有载入,所以在使用的时候,第一件事是引入这个模块,
local schedul...
分类:
其他好文 时间:
2014-08-19 12:58:44
阅读次数:
254