test.cpp
来自「這是一個利用 Lua Wrapper - LuaPus 的實作範例」· C++ 代码 · 共 22 行
CPP
22 行
// test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;
#include "LuaPlus.h"
using namespace LuaPlus;
int add(int a, int b)
{
return (a + b);
}
void TravelTable(LuaObject& obj)
{
for(LuaPlus::LuaTableIterator it(obj); it; it.Next())
{
// 浪琩 Key
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?