码迷,mamicode.com
首页 >  
搜索关键字:lua stack    ( 14206个结果
iOS开发点滴:iPhone屏幕适配
最近开始做iOS开发,遇到一些小问题和解决方法,记录下。 今天是iPhone屏幕适配 iPhone5出来之后屏幕就有iPhone就有了2种尺寸:3.5寸和4寸,xcode 5 的IB设计器里面界面是4寸的,把按钮放到底部,模拟器选成3.5寸的按钮就看不到了,找到了解决方法: http://stack...
分类:移动开发   时间:2014-05-09 10:44:35    阅读次数:401
Bluetooth
Android provides a default Bluetooth stack, BlueDroid, that is divided into two layers: The Bluetooth Embedded System (BTE), which implements the core...
分类:其他好文   时间:2014-05-09 10:18:47    阅读次数:518
Lua与C的相互调用
包剪锤游戏,C和Lua的对决! 主要为了练习C和Lua的相互调用。
分类:其他好文   时间:2014-05-09 08:26:52    阅读次数:401
数据结构——栈的类定义和实现
#include#include#include #include //使用库函数exit()using namespace std;templateclass Stack{ private: Type*data; //栈元素数组 int maxSize; /...
分类:其他好文   时间:2014-05-09 07:27:40    阅读次数:294
微机接口技术与汇编语言上机实验报告_汇编初步(intel8086)
实验环境:intel x386   一。要求:将3000H单元开始置数为00H-0FH SSTACK SEGMENT STACK DW 32 DUP(?) SSTACK ENDS CODE SEGMENT ASSUME CS:CODE, SS:SSTACK START: PUSH DS XOR AX, AX MOV DS, AX MOV SI, 3000H MOV CX...
分类:编程语言   时间:2014-05-09 06:33:53    阅读次数:372
UVA ShellSort
题目如下: Problem D: ShellSort He made each turtle stand on another one's back And he piled them all up in a nine-turtle stack. And then Yertle climbed up. He sat down on the pile. What a wonderful v...
分类:其他好文   时间:2014-05-09 06:20:44    阅读次数:396
解释型语言和编译型语言如何交互?以lua和c为例
转自http://my.oschina.net/mayqlzu/blog/113528问题:最近lua很火,因为《愤怒的小鸟》使用了lua,ios上有lua解释器?它是怎么嵌入大ios中的呢?lua的官网说:"lua is an embeddable scripting language",怎么理解...
分类:其他好文   时间:2014-05-09 05:32:57    阅读次数:264
lua 根据函数名字符串来执行函数
function myfunction(msg) print("this is msg fun " .. msg);endlocal fun =_G["myfunction"];if fun then fun("is ok");end
分类:其他好文   时间:2014-05-09 04:18:05    阅读次数:1155
STL--容器适配器(queue、priority_queue、stack)
适配器(Adaptor)是提供接口映射的模板类。适配器基于其他类来实现新的功能,成员函数可以被添加、隐藏,也可合并以得到新的功能。STL提供了三个容器适配器:queue、priority_queue、stack。这些适配器都是包装了vector、list、deque中某个顺序容器的包装器。注意:适配...
分类:其他好文   时间:2014-05-08 23:13:29    阅读次数:298
lua 对表的简单序列化与反序列化
参考文档:http://blog.csdn.net/xiaodan007/article/details/7096718function sz_T2S(_t) local szRet = "{" function doT2S(_i, _v) if "number" == t...
分类:其他好文   时间:2014-05-08 22:47:29    阅读次数:347
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!