- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 类
function account:new(o) o = o or {} setmetatable(o,self) self.__index=seif return o end
2016-11-19 00:29:16 152
原创 require使用
require "mod" mod.foo() ------------------- local m=require "mod" m.foo() -------------------- package.preload --预先加载的库表 找不到找: loadfile loadlib function require(name) if not pa
2016-11-16 22:06:44 287
原创 环境
环境信息保存在全局变量table _G 声明的全局变量,都在_G里 value=loadstring("return "..varname) value=_G(varname) --效率高 _G(varname)=value
2016-11-14 22:12:45 140
原创 线程
posix线程标准 pthread_t 类型未知,不一样实现不一样 int pthread_equal(pthread_t,pthread_t)比较线程标识 pthread_t pthread_self(void) / pid_t getpid() int pthread_create(pthread_t *thread,pthread_attr_t *attr,v
2016-10-30 22:52:16 127
基于PLC两位计算器课程设计.doc
2012-09-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人