摘要: 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 阅读全文
posted @ 2024-07-25 22:51 EdisoNewton 阅读(9) 评论(0) 推荐(0) 编辑
摘要: XML Syntax Intrucuction https://www.liquid-technologies.com/XML/ CDATA <![CDATA[ if ( a > b ) { printf("in if : a > b\n"); } else { printf("in else : 阅读全文
posted @ 2024-07-25 21:17 EdisoNewton 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Lua中的可变长函数的参数用 ... 来表示 ( 3个 . ) 在函数内部有一个特殊的内置变量 arg 其格式如下 arg = { 1, "Hello", true, n = 3 } 1 -- function makeVarStr(...) to see print_Table.lua 2 3 f 阅读全文
posted @ 2024-07-12 18:14 EdisoNewton 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2024-07-12 16:34 EdisoNewton 阅读(21) 评论(0) 推荐(0) 编辑
摘要: -- 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 阅读全文
posted @ 2024-07-12 16:09 EdisoNewton 阅读(21) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> using namespace std; extern "C" { #include "lua.h" #include "lualib.h" #include "lauxlib.h" } int myTest(lua_Sta 阅读全文
posted @ 2024-07-12 15:04 EdisoNewton 阅读(7) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示