Source: http://www.cppblog.com/Leaf/archive/2009/05/16/83145.html
It is said that the author of this article is ogdev's hack master.
Use examples to learn about Lua (1) ---- Hello World
1. PrefaceThe scripting language is indispensable in
Summary:In server development using C + +, scripting techniques are often used, and Lua is one of the best embedded scripts. The lightweight, compact and simple concept of Lua makes him more and more popular. I have also used Python to do embedded
[Unity3D] Lua in Unity3D game development is connected to the game's (medium) and unity3dlua
Certificate ------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------Like my blog Please remember my name: Qin Yuanpei , my blog
Note: The original text was also issued in the company's internal forum
The stack that LUA interacts with C is an important concept. The article first explains why you should introduce the LUA stack, then summarizes the APIs that are commonly used
First, the basic knowledge:
1. First Program and function:in the current learning phase, the best way to run a LUA program is through LUA's own interpreter programs, such as:
Copy Code code as follows:
/> Lua
> Print ("Hello World")
IntroductionCity Wizard Go (http://csjl.teamtop3.com/) is a cocos2d-x-based lbs social game, through the exploration of real maps, discovering and capturing hidden wild Elves, using the game's rich gameplay to enhance and evolve their own elves team,
Application of Lua in C # project:
Lua is a small scripting language. The author is Brazilian. The language is designed to be embedded into an application and provide flexible scalability and customization for the application. Its home page is www.
Author: Mu Feng
In this article, I would like to introduce you to Lua program design. I suppose everyone has learned at least one programming language, such as basic or C, especially C. Because Lua is used as a script in the Host Program for the
Objective
Starting with the Lua5.1 version, new support is added to modules and packages, but modules and packages are defined and used using require and module. Require is used to use modules, and module is used to create modules. Simply put, a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.