码迷,mamicode.com
首页 >  
搜索关键字:lua stack    ( 14206个结果
栈的基础操作——2,8,16进制的入栈——数组类型定义
#define stack_init_size 100 #define stackincrement 10 typedef int ElemType; typedef int status; const status error=0; const status ok=1; const status overflow=-2; const int MAXSIZE = 100; typedef st...
分类:其他好文   时间:2014-05-26 06:17:29    阅读次数:243
弱性能穿戴设备App化之Lua For STM32
今年穿戴设备突然火起来......穿戴设备与概念未爆发前的电子产品不同于“可联网”和“支持app”,使得一个封闭的小玩意可以加入多人的想象,屌丝的想象力很丰富的说.... 穿戴设备目前分为"屌丝“和”高富帅“两档配置,所谓”屌丝”配置也就是弱得装不上android,未来一段时间内,手表和手环都以“屌丝”配置为主,例如pebble和sony手表以arm cortex m3芯,不过"高富帅"geek watch用上android....吹完水,就说本文的重点,如何让弱性能设备支持app,也就是把lua移植到st...
分类:移动开发   时间:2014-05-26 05:04:02    阅读次数:278
lua-vs开发环境配置
1.下载Lua库和其编译工具 lua for window 下载地址:http://luaforwindows.luaforge.net/ 目前最常用的版本是5.1 ,点击下载 . 安装完成后会有一个是lua的命令行程序(Lua),一个是SciTE编辑器(SciTE)。 2.编辑插件  lua 自带sciTE这个编辑器,但是为了方便编写lua与c/cpp直接的互调而选用了vs的一个国人...
分类:其他好文   时间:2014-05-26 04:33:29    阅读次数:314
centos 6.5 LAMP
貌似靠谱(主要centos默认有httpd,是否需要将其remove然后再安装啊,我采用到方法是没有安装,直接用的默认的),大致就是这个样子吧----zzLAMP is a combination of operating system and open-source software stack....
分类:其他好文   时间:2014-05-26 02:43:43    阅读次数:321
java 拦截器、过滤器、监听器
一、理解Struts2拦截器1. Struts2拦截器是在访问某个Action或Action的某个方法,字段之前或之后实施拦截,并且Struts2拦截器是可插拔的,拦截器是AOP的一种实现.2. 拦截器栈(Interceptor Stack)。Struts2拦截器栈就是将拦截器按一定的顺序联结成一条...
分类:编程语言   时间:2014-05-26 01:09:27    阅读次数:370
Android 系统架构
先看图: The above figure shows the diagram of Android Architecture. The Android OS can be referred to as a software stack of different layers, where eac....
分类:移动开发   时间:2014-05-26 00:59:10    阅读次数:412
初涉Splay Tree
Splay Tree 支持的之中操作。 插入,删除,求前驱和后即,区间更新与查询。 先来一发Splay Tree最基础的操作——伸展。 #include #include #include #include #include #include #include #include #include #pragma comment(linker, "/STACK:102400...
分类:其他好文   时间:2014-05-25 04:27:37    阅读次数:291
lua入门之一:c/c++ 调用lua
#include //lua头文件 #ifdef __cplusplus extern "C" { #include "lua.h" #include #include } #else #include #include #include #endif int main(int argc,char ** argv) { lua_State * L=NU...
分类:编程语言   时间:2014-05-24 23:16:07    阅读次数:362
lua入门之一:c/c++ 调用lua及多个返回值得获取
当 Lua 调用 C 函数的时候,使用和 C 调用 Lua 相同类型的栈来交互。C 函数从栈中获取她的参数,调用结束后将返回结果放到栈中。为了区分返回结果和栈中的其他的值,每个 C 函数还会返回结果的个数(the  function  returns  (in  C)  the  number  of  results  it  is leaving on the stack.)。 // lua...
分类:编程语言   时间:2014-05-24 19:37:41    阅读次数:372
Android Design 1: Back键和Up键在App导航中的表现
一,概念1,Back键一直存在android系统中1-1任何页面下的返回1-2Floatingwindow1-3ContexualActionbar/highlightselect1-4Keyboard2,Up键是随AndroidDesign出来的。2-1androidDesign定义的parentcontainer2-2app的主界面是不存在Up键的二,情景分析1,App内部1-1沿逐级深入路..
分类:移动开发   时间:2014-05-24 17:06:16    阅读次数:317
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!