lua_getglobal (L, "luavar"); double luavar = lua_tonumber(L,-1); lua_pop(L,1); cout << "C++ 从Lua 读取到的luavar = " << luavar << endl ...
確定! 回上一頁