摘要:
#include #include "D:/Program Files/Lua/include/lua.hpp"#pragma comment(lib, "D:/Program Files/Lua/lib/lua51.lib") using namespace std;int main(int argc, char* argv[]){ //创建Lua运行环境 lua_State* L = luaL_newstate(); if(L == NULL) { cout<<"luaL_newstate() fail!"<&l 阅读全文