現在,我們來嘗試從C去執行一個Lua程式,Lua程式就用最簡單的Hello,並命名為 hello.lua ... luaL_openlibs(L); // dofile luaL_dofile(L, "hello1"); return 0; }.
確定! 回上一頁