07 2024 档案
摘要:https://www.w3school.com.cn/xpath/xpath_syntax.asp <?xml version="1.0" encoding="ISO-8859-1"?><bookstore> <book> <title lang="eng">Harry Potter</title
阅读全文
摘要:XML Syntax Intrucuction https://www.liquid-technologies.com/XML/ CDATA <![CDATA[ if ( a > b ) { printf("in if : a > b\n"); } else { printf("in else :
阅读全文
摘要:Lua中的可变长函数的参数用 ... 来表示 ( 3个 . ) 在函数内部有一个特殊的内置变量 arg 其格式如下 arg = { 1, "Hello", true, n = 3 } 1 -- function makeVarStr(...) to see print_Table.lua 2 3 f
阅读全文
摘要:stdio.h #include <stdio.h> FILE *fopen(const char *filename, const char *mode); int fclose(FILE *stream); int fflush(FILE *stream); size_t fread(void
阅读全文
摘要:-- start.lua a = 1 if a==1 -- missed KeyWord then print("in if") else print("in else") end -- main.lua chunk,errMsg = loadfile("start.lua") if not err
阅读全文
摘要:#include <iostream> #include <string> using namespace std; extern "C" { #include "lua.h" #include "lualib.h" #include "lauxlib.h" } int myTest(lua_Sta
阅读全文