这是《Lua程序设计》中的例子,做个简单记录。
#include
#include
#include
static void stackDump(lua_State *L){
int i;
int top = lua_gettop(L);
for(i = 1; i <= top; i++){
int t = lua_type(L, i);
...
1.设置图片边框:border-width:(粗细) ; border-color:(颜色) ; border-style:(线性) ; 不同的边框可以设置不同的样式,eg:border-left-style、 border-top-width .... solid实线2.图片...
分类:
其他好文 时间:
2014-08-30 17:43:29
阅读次数:
251
The faux hawk cheap ghd hair straightener can be performed by cutting the top of the hair so there is at least 1.5 inches of hair and the sides can be...
分类:
其他好文 时间:
2014-08-30 16:15:39
阅读次数:
233
【设计一个动态规划算法的四个步骤】
1、刻画一个最优解的特征。
2、递归地定义最优解的值。
3、计算最优解的值,通常采用自底向上方法。
4、利用计算出的信息构造一个最优解。
【最优子结构(optimal substructure)】
问题的最优解由相关子问题的最优解组合而成,而这些子问题可以独立求解。
【动态规划两种等价实现方法】
1、 带备忘的自顶向下法(top-down...
分类:
其他好文 时间:
2014-08-30 15:12:29
阅读次数:
219