int main1(int argc, const char * argv)
{
lua_State* L = luaL_newstate();//创建栈
luaopen_base(L);
luaopen_io(L);//打开lua base,io两个库
int ret = luaL_loadfile(L,amp;quot;tlua.lu ...……
function split(s, delim)
if type(delim) ~= amp;quot;stringamp;quot; or string.len(delim) amp;amp;lt;= 0 then
return
end
local start = 1
local t = {}
while true do
...……
curl -R -O http://www.lua.org/ftp/lua-5.2.2.tar.gz
tar zxf lua-5.2.2.tar.gz
cd lua-5.2.2
make linux test
报错
cd src amp;amp;amp;amp;amp;amp; make linux
make: Entering directory `/home/jackluo/Downl ...……