以及luaL_openlibs函数,开启全部标准库。 ... //main.c int error; lua_State* L = luaL_newstate(); /*打开Lua*/ luaL_openlibs(L);/*打开标准库*/ ...
確定! 回上一頁