The first time use Lua for programing Wang Xiao 1. 关于 lua 的变量类型: lua 变量的定义与matlab有点不同: local d , f = 5 ,10 --声明局部变量 d,f. d , f = 5, 10; --声明全局变量 d,f. d, f = 10 --[[声明全局变量 d,f,其中 f 的值是 nil--]] 如果只是定义没有初始化,则静态存储变量被隐式初始化为 nil. Lua 赋值时会将第一个值赋给第…
In July 27, 2012 , it was the first milestone in Android plug-in technology. Yimin Tu(mmin18 on Github), who worked for dianping.com , released the first Android plug-in open source project--AndroidDynamicLoader, and the App of dianping.com was…
It is the best time. Although the internal API of Android not allowed to be modified by google play, but in China, we download App in the domestic markets, and Google Play is rarely used. The major application markets are allow this. Therefore, each…
First we should know some basic conceptions about network: 1.Every PC is supposed to have its own IP,So we can connent other's PC by WAN.That's just like a ID of netwrok world. 2.But if every PC has its own IP,Then IPs of this world will be insuff…
1.寻常算术转换 在运算中 如果其中一个操作数是long double 则另一个转为long double,其次 如果有一个为double 则另一个转为double,再次 float . unsigned long int . long int. unsigned int . int 2.sizeof 的返回值类型为 unsigned int 3.NUL为ascii码 \0 英文空字符 NULL为空指针 4.C语言中的符号重载 5.#define banana int 与 typedef int…
Recall that every python module has a built_in __name__ variable that python sets to the __main__ string only when the file is run as a program,not when it's imported as library so in the python fiel if __name__ == "__main__" : .... is the top-l…